Source code
Revision control
Copy as Markdown
Other Tools
// |reftest| skip-if(!xulRuntime.shell) -- uses evalcx
/*
* Any copyright is dedicated to the Public Domain.
*/
try {
evalcx("Object.freeze(this); eval('const q = undefined;')");
} catch (e) {
assertEq(e.message, "({lazy:false}) is not extensible");
}
reportCompare(0, 0, "don't crash");