Sign in
cobalt
/
cobalt
/
37ef7f8c0c60f95c9821b4d9f3273c9ef3666a79
/
.
/
src
/
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
();