Sign in
webkit
/
WebKit
/
3e01ea2c6e60dac71bbc2366692c12538bc3430c
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
content-security-policy
/
securitypolicyviolation
/
support
/
testharness-helper.sub.js
blob: 816b88fc6e47278aa469fb275b8a9299ecec24cc [
file
] [
log
] [
blame
]
function
generateCrossOriginRedirectImage
()
{
var
target
=
"http://{{host}}:{{ports[https][0]}}/content-security-policy/support/pass.png"
;
var
url
=
"/common/redirect.py?location="
+
encodeURIComponent
(
target
);
return
{
url
:
url
,
target
:
target
}
}