haikuwebkit/LayoutTests/js/no-semi-insertion-at-end-of...

12 lines
359 B
Plaintext

Test to make sure we don't automatically insert semicolons at the end of a script.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS if (0) threw exception SyntaxError: Unexpected end of script.
PASS eval('if (0)') threw exception SyntaxError: Unexpected end of script.
PASS successfullyParsed is true
TEST COMPLETE