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