Sign in
webkit
/
WebKit
/
da07302f03b98af4076c8b238b2ea7120c9d21d1
/
.
/
LayoutTests
/
http
/
tests
/
security
/
contentSecurityPolicy
/
resources
/
worker-make-xhr.js
blob: 9b93fc7ed6a4877f50751fb6eb0a713f2e930a91 [
file
] [
log
] [
blame
]
try
{
var
xhr
=
new
XMLHttpRequest
;
xhr
.
open
(
"GET"
,
"http://127.0.0.1:8000/xmlhttprequest/resources/get.txt"
,
true
);
postMessage
(
"xhr allowed"
);
}
catch
(
e
)
{
postMessage
(
"xhr blocked"
);
}