Sign in
cobalt
/
cobalt
/
07081467c3d00b04a6a1162e0566a5a8b9cfe2d5
/
.
/
third_party
/
web_platform_tests
/
content-security-policy
/
blink-contrib
/
resources
/
worker-function-function.js
blob: 03d9bf4cbbcad9baacf75d343457f0954125d84e [
file
] [
log
] [
blame
]
var
fn
=
function
()
{
postMessage
(
'Function() function blocked'
);
}
try
{
fn
=
new
Function
(
""
,
"postMessage('Function() function allowed');"
);
}
catch
(
e
)
{}
fn
();