File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
test/java/org/htmlunit/javascript/host Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff 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 "
Original file line number Diff line number Diff 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 "
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments