blob: a43f5c51c9b63b5e0cf3a841a2e517a765fac5b9 [file] [log] [blame]
// |reftest| skip-if(!xulRuntime.shell) -- uses evalcx
/*
* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/licenses/publicdomain/
*/
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");