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