haikuwebkit/LayoutTests/js/dom/null-char-in-string-expecte...

11 lines
272 B
Plaintext

This test checks that null characters are allowed in JavaScript strings, rather than causing a parse error.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS String("\0").length is 1
PASS successfullyParsed is true
TEST COMPLETE