File tree Expand file tree Collapse file tree 1 file changed +10
-7
lines changed
src/test/java/org/htmlunit/javascript Expand file tree Collapse file tree 1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -423,11 +423,11 @@ public void quoteAsUnicodeInString() throws Exception {
423423 * @throws Exception if the test fails
424424 */
425425 @ Test
426- @ Alerts ("RangeError" )
427- @ HtmlUnitNYI (CHROME = "InternalError/InternalError" ,
428- EDGE = "InternalError/InternalError" ,
426+ @ Alerts (DEFAULT = "RangeError" ,
429427 FF = "InternalError/InternalError" ,
430428 FF_ESR = "InternalError/InternalError" )
429+ @ HtmlUnitNYI (CHROME = "InternalError/InternalError" ,
430+ EDGE = "InternalError/InternalError" )
431431 public void recursion () throws Exception {
432432 final String html = "<html><head><script>\n "
433433 + " function recurse(c) {\n "
@@ -688,14 +688,17 @@ public void eventHandlerWithComment() throws Exception {
688688 public void comment () throws Exception {
689689 final String html =
690690 "<html><head>\n "
691- + "<script><!-- alert(1);\n "
692- + " alert(2);\n "
693- + "alert(3)//--></script>\n "
691+ + " <script>\n "
692+ + LOG_TITLE_FUNCTION
693+ + " </script>\n "
694+ + "<script><!-- log(1);\n "
695+ + " log(2);\n "
696+ + "log(3)//--></script>\n "
694697 + "</head>\n "
695698 + "<body>\n "
696699 + "</body></html>" ;
697700
698- loadPageWithAlerts2 (html );
701+ loadPageVerifyTitle2 (html );
699702 }
700703
701704 /**
You can’t perform that action at this time.
0 commit comments