haikuwebkit/LayoutTests/js/mozilla/strict/11.13.1-expected.txt

18 lines
597 B
Plaintext

PASS Function("'use strict'; arguments=1") threw exception of type SyntaxError.
PASS !!Function("arguments=1") is true
PASS true === true
PASS Function("'use strict'; eval=1") threw exception of type SyntaxError.
PASS !!Function("eval=1") is true
PASS true === true
PASS Function("'use strict'; (arguments)=1") threw exception of type SyntaxError.
PASS !!Function("(arguments)=1") is true
PASS true === true
PASS Function("'use strict'; (eval)=1") threw exception of type SyntaxError.
PASS !!Function("(eval)=1") is true
PASS true === true
PASSED!
PASS successfullyParsed is true
TEST COMPLETE