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