Sign in
webkit
/
WebKit
/
47b8206e2462d5a862fef65e142ae8764bd9b9e5
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
workers
/
support
/
ImportScriptsNosniffErr.js
blob: 22dc9c1ba57c9575cda4758447d04adec386ac56 [
file
] [
log
] [
blame
]
importScripts
(
'/resources/testharness.js'
);
test
(
t
=>
{
assert_throws_dom
(
'NetworkError'
,
()
=>
{
importScripts
(
"nosiniff-error-worker.py"
);
});
},
"importScripts throws on 'nosniff' violation"
);
done
();