blob: d7466ba5aa2cf54f4c05850f043658f58dbbd7e2 [file] [log] [blame]
KDE JS Test
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
PASS function () { a = x; } threw exception ReferenceError: Can't find variable: x.
PASS function () { x += "foo"; } threw exception ReferenceError: Can't find variable: x.
PASS function () { b = a.x; } did not throw an exception
PASS function () { b = a['x']; } did not throw an exception
PASS function () { a['x'] += 'baz'; } did not throw an exception
PASS a['x'] is "undefinedbaz"
PASS function () { b = a.y; } did not throw an exception
PASS function () { a.y += 'glarch'; } did not throw an exception
PASS a['y'] is "undefinedglarch"
PASS successfullyParsed is true
TEST COMPLETE