Sign in
chromium
/
chromium
/
src
/
dc4ba94260af3e16b840ac632484bc763223ea63
/
.
/
third_party
/
WebKit
/
LayoutTests
/
external
/
wpt
/
content-security-policy
/
script-src
/
support
/
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
();