Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(275)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/cookies/resources/post-cookies-to-opener.php

Issue 2130623003: Teach HistoryItem about a request's initiator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: String, not RefPtr, because lifetimes... Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
index 39c8524e813e43f2ef79b23dfeca562294565985..ae8345460bb50846865074c5dde06a604a05e38a 100644
--- 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
@@ -8,4 +8,9 @@ window.opener.postMessage({
'http': from_http,
'document': document.cookie
}, "*");
+
+window.addEventListener("message", e => {
+ if (e.data == "reload")
+ window.location.reload();
+});
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698