Index: third_party/WebKit/LayoutTests/http/tests/cookies/resources/post-cookies-to-opener.php |
diff --git a/third_party/WebKit/LayoutTests/http/tests/cookies/resources/post-cookies-to-opener.php b/third_party/WebKit/LayoutTests/http/tests/cookies/resources/post-cookies-to-opener.php |
new file mode 100644 |
index 0000000000000000000000000000000000000000..39c8524e813e43f2ef79b23dfeca562294565985 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/cookies/resources/post-cookies-to-opener.php |
@@ -0,0 +1,11 @@ |
+<!doctype html> |
+<script> |
+var from_http = <?php |
+echo json_encode($_COOKIE); |
+?>; |
+ |
+window.opener.postMessage({ |
+ 'http': from_http, |
+ 'document': document.cookie |
+}, "*"); |
+</script> |