Sign in
webkit
/
WebKit
/
fdc942c5052133d9f3534312553b7ba8c309c092
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
content-security-policy
/
script-src
/
support
/
worker-set-timeout.js
blob: a16827eddfc8b214f674614de1cc2b9d10009141 [
file
] [
log
] [
blame
]
var
id
=
0
;
try
{
id
=
setTimeout
(
"postMessage('handler invoked')"
,
100
);
}
catch
(
e
)
{}
postMessage
(
id
===
0
?
"setTimeout blocked"
:
"setTimeout allowed"
);