Skip to content

Commit 742038b

Browse files
committed
fix typos
1 parent 5c722d8 commit 742038b

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

src/changes/changes.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@
7171
Some minor code improvements found by spotbugs.
7272
</action>
7373
<action type="fix" dev="rbri">
74-
Some more event initialization fixes.
74+
Some more event initialization fixes.
7575
</action>
7676
<action type="fix" dev="rbri">
7777
Fix various event initialization when working with WebSocket's.

src/test/java/org/htmlunit/javascript/host/ActiveXObject2Test.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void browserDetection() throws Exception {
6767
public void xmlDocument() throws Exception {
6868
final String html = DOCTYPE_HTML
6969
+ "<html>\n"
70-
+ " <head>\n"
70+
+ "<head>\n"
7171
+ "<script>\n"
7272
+ LOG_TITLE_FUNCTION
7373
+ " function test() {\n"

src/test/java/org/htmlunit/javascript/host/Window2Test.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1518,8 +1518,8 @@ public void onError() throws Exception {
15181518
* @throws Exception if an error occurs
15191519
*/
15201520
@Test
1521-
@Alerts({"string string 25 number string",
1522-
"string string 26 number object"})
1521+
@Alerts({"string string 26 number string",
1522+
"string string 27 number object"})
15231523
public void onErrorExceptionInstance() throws Exception {
15241524
final String html = DOCTYPE_HTML
15251525
+ "<html>\n"
@@ -1544,7 +1544,7 @@ public void onErrorExceptionInstance() throws Exception {
15441544
* @throws Exception if an error occurs
15451545
*/
15461546
@Test
1547-
@Alerts({"string string 25 number object", "string string 1 number object"})
1547+
@Alerts({"string string 26 number object", "string string 1 number object"})
15481548
public void onErrorExceptionInstance2() throws Exception {
15491549
final String html = DOCTYPE_HTML
15501550
+ "<html>\n"

src/test/java/org/htmlunit/javascript/host/WindowTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ public void openWindow_top() throws Exception {
331331
+ "</body></html>";
332332
final String thirdContent = DOCTYPE_HTML
333333
+ "<html><head><title>Third</title></head><body>\n"
334-
+ " <a id='link' onClick='window.open(\"http://fourth\", \"_top\"); "
334+
+ " <a id='link' onClick='window.open(\"http://fourth\", \"_top\"); "
335335
+ "return false;'>Click me</a>\n"
336336
+ "</body></html>";
337337
final String fourthContent = DOCTYPE_HTML
@@ -399,7 +399,7 @@ public void openWindow_parent() throws Exception {
399399
+ "</body></html>";
400400
final String thirdContent = DOCTYPE_HTML
401401
+ "<html><head><title>Third</title></head><body>\n"
402-
+ " <a id='link' onClick='window.open(\"http://fourth\", \"_parent\"); "
402+
+ " <a id='link' onClick='window.open(\"http://fourth\", \"_parent\"); "
403403
+ "return false;'>Click me</a>\n"
404404
+ "</body></html>";
405405
final String fourthContent = DOCTYPE_HTML

0 commit comments

Comments
 (0)