blob: 20dff3772dedec0d27932921aecf50a1287070b4 [file] [log] [blame]
onerror = function(message, url, lineno)
{
if (url != location.href)
postMessage("FAIL: Bad location. Actual: " + url + " Expected: " + location.href);
splitUrl = url.split('/');
postMessage("PASS: onerror in worker context invoked for a script that has script error '" + message + "' at line " + lineno + " in " + splitUrl[splitUrl.length - 1]);
return false;
}
foo.bar = 0;