Source code

Revision control

Copy as Markdown

Other Tools

onmessage = event => {
let caught1 = false;
try {
const lazy = {};
ChromeUtils.defineESModuleGetters(lazy, {
});
lazy.obj;
} catch (e) {
caught1 = true;
}
let caught2 = false;
try {
const lazy = {};
ChromeUtils.defineESModuleGetters(lazy, {
}, {
global: "shared",
});
lazy.obj;
} catch (e) {
caught2 = true;
}
let caught3 = false;
try {
const lazy = {};
ChromeUtils.defineESModuleGetters(lazy, {
}, {
global: "devtools",
});
lazy.obj;
} catch (e) {
caught3 = true;
}
postMessage({ caught1, caught2, caught3 });
};