Sign in
webkit
/
WebKit
/
436b72e27e0464bf3a61a2b074723e3cc9dee953
/
.
/
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>