blob: 3d1e44af694b8071fc3c7592efffa8a1c4b3ef63 [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