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