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