blob: 9fd21b4f0d599db63be5e72b79a52c850fc3e2a5 [file] [log] [blame]
CONSOLE MESSAGE: line 1: SyntaxError: Invalid character '\u2073'
First load a script with a wrong charset then again with the right one. Second attempt should work and 'scriptSuccess' should be set to true.
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
Loading with the wrong encoding...
PASS Got expected error: 'SyntaxError'
PASS window.scriptSuccess is undefined.
Now loading with the right encoding...
PASS scriptSuccess is true
PASS successfullyParsed is true
TEST COMPLETE