Source code
Revision control
Copy as Markdown
Other Tools
onmessage = event => {
let caught1 = false;
try {
} catch (e) {
caught1 = true;
}
let caught2 = false;
try {
global: "shared",
});
} catch (e) {
caught2 = true;
}
let caught3 = false;
try {
global: "devtools",
});
} catch (e) {
caught3 = true;
}
postMessage({ caught1, caught2, caught3 });
};