Sign in
webkit
/
WebKit
/
000a985cc582d9d77ca643860a7536440fb731b1
/
.
/
LayoutTests
/
http
/
tests
/
cookies
/
resources
/
post-cookies-onmessage.php
blob: 028d51a9837223f00ff84376e89cbb9776aa2206 [
file
] [
log
] [
blame
]
<!doctype html>
<script>
var
from_http
=
<?
php
echo json_encode
(
$_COOKIE
);
?>;
window
.
addEventListener
(
"message"
,
e
=>
{
e
.
source
.
postMessage
({
'http'
:
from_http
,
'document'
:
document
.
cookie
},
"*"
);
});
</script>