Implement Same-Site cookies
[WebKit-https.git] / LayoutTests / http / tests / cookies / resources / post-cookies-to-opener.php
1 <!doctype html>
2 <script>
3 var from_http = <?php
4 echo json_encode($_COOKIE);
5 ?>;
6
7 window.opener.postMessage({
8     'http': from_http,
9     'document': document.cookie
10 }, "*");
11 </script>