Skip to content

Commit cbcbba9

Browse files
authored
[test] Remove check for strict warnings: in JS stdout. NFC (emscripten-core#23736)
This check was added back in 2011: acbb1e6. It looks like it was combined with a `-s` spidermonkey flag. However, `-s` is not longer a valid spidermonkey flag and the string "strict warnings" does not appear in the v8 or spidermonkey source today.
1 parent 3a96246 commit cbcbba9

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

test/common.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1554,8 +1554,6 @@ def run_js(self, filename, engine=None, args=None,
15541554
else:
15551555
self.fail('JS subprocess failed (%s): %s (expected=%s). Output:\n%s' % (error.cmd, error.returncode, assert_returncode, ret))
15561556

1557-
# We should pass all strict mode checks
1558-
self.assertNotContained('strict warning:', ret)
15591557
return ret
15601558

15611559
def assertExists(self, filename, msg=None):

0 commit comments

Comments
 (0)