Sign in
webkit
/
WebKit
/
b02737e0dcbaa3a4c4e66931839e0609e605d359
/
.
/
LayoutTests
/
imported
/
w3c
/
web-platform-tests
/
content-security-policy
/
inheritance
/
support
/
navigate-self-to-blob.html
blob: 9ea069969cafff022e94fef3de535feafaca1de7 [
file
] [
log
] [
blame
]
<script
nonce
=
"abc"
>
var
blob_string
=
"<script>alert(document.domain)<\/script>"
;
var
blob
=
new
Blob
([
blob_string
],
{
type
:
'text/html'
});
var
url
=
URL
.
createObjectURL
(
blob
);
location
.
href
=
url
;
</script>