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