Source code
Revision control
Copy as Markdown
Other Tools
// |reftest| skip-if(!xulRuntime.shell) async -- needs drainJobQueue
// SKIP test262 export
// Test needs drainJobQueue.
async function test() {
try {
throw new Error("import should have failed");
} catch (exc) {
assertEq(exc.message, "FAIL");
}
try {
throw new Error("import should have failed");
} catch (exc) {
assertEq(exc.message, "FAIL");
}
if (typeof reportCompare === "function")
reportCompare(0, 0);
}
test();
drainJobQueue();