Skip to content

Commit dbee631

Browse files
committed
fix more arguments handling
1 parent 087f9e1 commit dbee631

File tree

1 file changed

+4
-16
lines changed

1 file changed

+4
-16
lines changed

src/test/java/org/htmlunit/javascript/ArgumentsTest.java

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,6 @@ public void argumentsStrictScript() throws Exception {
113113
*/
114114
@Test
115115
@Alerts({"TypeError", "TypeError", "1", "TypeError"})
116-
@HtmlUnitNYI(CHROME = {"0", "0", "1", "TypeError"},
117-
EDGE = {"0", "0", "1", "TypeError"},
118-
FF = {"0", "0", "1", "TypeError"},
119-
FF_ESR = {"0", "0", "1", "TypeError"})
120116
public void argumentsStrictParentFoo() throws Exception {
121117
final String html = DOCTYPE_HTML
122118
+ "<html>\n"
@@ -166,10 +162,6 @@ public void argumentsStrictParentFoo() throws Exception {
166162
*/
167163
@Test
168164
@Alerts({"0", "0", "TypeError", "TypeError"})
169-
@HtmlUnitNYI(CHROME = {"0", "0", "1", "TypeError"},
170-
EDGE = {"0", "0", "1", "TypeError"},
171-
FF = {"0", "0", "1", "TypeError"},
172-
FF_ESR = {"0", "0", "1", "TypeError"})
173165
public void argumentsStrictChildFoo() throws Exception {
174166
final String html = DOCTYPE_HTML
175167
+ "<html>\n"
@@ -386,10 +378,10 @@ public void argumentsShouldBeNullOutsideFunction() throws Exception {
386378
*/
387379
@Test
388380
@Alerts({"TypeError", "[object Arguments]", "TypeError", "TypeError"})
389-
@HtmlUnitNYI(CHROME = {"null", "[object Arguments]", "null", "null"},
390-
EDGE = {"null", "[object Arguments]", "null", "null"},
391-
FF = {"null", "[object Arguments]", "null", "null"},
392-
FF_ESR = {"null", "[object Arguments]", "null", "null"})
381+
@HtmlUnitNYI(CHROME = {"null", "[object Arguments]", "TypeError", "null"},
382+
EDGE = {"null", "[object Arguments]", "TypeError", "null"},
383+
FF = {"null", "[object Arguments]", "TypeError", "null"},
384+
FF_ESR = {"null", "[object Arguments]", "TypeError", "null"})
393385
public void argumentsShouldBeNullOutsideFunctionStrict() throws Exception {
394386
final String html = DOCTYPE_HTML
395387
+ "<html>\n"
@@ -499,10 +491,6 @@ public void passedCountDifferentFromDeclared() throws Exception {
499491
*/
500492
@Test
501493
@Alerts({"2", "TypeError"})
502-
@HtmlUnitNYI(CHROME = {"2", "null"},
503-
EDGE = {"2", "null"},
504-
FF = {"2", "null"},
505-
FF_ESR = {"2", "null"})
506494
public void passedCountDifferentFromDeclaredStrict() throws Exception {
507495
final String html = DOCTYPE_HTML
508496
+ "<html>\n"

0 commit comments

Comments
 (0)