blob: 513fd4a257f4d15b5ceff4c1add5b4c3f3902bc6 [file] [log] [blame]
// META: global=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.');