Sign in
webkit
/
WebKit
/
5018b83b58300de6a946efbfe8a7056c14da27e0
/
.
/
LayoutTests
/
http
/
tests
/
storageAccess
/
resources
/
request-storage-access-and-immediately-postmessage-iframe.html
blob: 5d948015e075228071d24bd3c7c3a017a7207314 [
file
] [
log
] [
blame
]
<html>
<head>
<script>
function
makeRequestWithUserGesture
()
{
document
.
requestStorageAccess
();
top
.
postMessage
(
"API called."
,
"http://127.0.0.1:8000"
);
}
</script>
</head>
<body
onclick
=
"
makeRequestWithUserGesture
()
"
>
</body>
</html>