blob: 6e732c0730dc2c94cec92a9e7394d0a37100f565 [file] [log] [blame]
// META: global=!default,worker
test(() => {
try {
self = 'PASS';
assert_true(self instanceof WorkerGlobalScope);
} catch (ex) {
assert_unreached("FAIL: unexpected exception (" + ex + ") received while replacing self.");
}
}, 'Test that self is not replaceable.');