Sign in
webkit
/
WebKit
/
5357a067b575eb5a07548594631025cdc8ae374e
/
.
/
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>