haikuwebkit/LayoutTests/js/invalid-utf8-in-syntax-erro...

11 lines
382 B
Plaintext
Raw Permalink Blame History

Ensures that we correctly propagate the error message for lexer errors containing invalid utf8 code sequences
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS ({f("<22>")}) threw exception SyntaxError: Unexpected string literal "<22>". Expected a parameter pattern or a ')' in parameter list..
PASS successfullyParsed is true
TEST COMPLETE