Source code
Revision control
Copy as Markdown
Other Tools
// Throw a runtime error, the UA must report the error for that script.
for (;;)
throw new Error("error from onerror.js");
postMessage(1); // shouldn't do anything since the script doesn't compile