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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site-post.html

Issue 2124143005: Revert of Teach HistoryItem about a request's initiator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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
Index: third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site-post.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site-post.html b/third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site-post.html
index eecc978e1b6d59e991534c69f2805852d8c1fff2..ec32a8947c3e644eb80c6a169c8822996ce7d433 100644
--- a/third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site-post.html
+++ b/third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-cross-site-post.html
@@ -15,21 +15,13 @@
window.location.hostname = TEST_HOST;
} else {
async_test(t => {
- triggeredReload = false;
window.addEventListener("message", t.step_func_done(e => {
assert_equals(e.data.http[STRICT_DOM], undefined, "strict");
assert_equals(e.data.http[LAX_DOM], undefined, "lax");
assert_equals(e.data.http[NORMAL_DOM], "1", "normal");
// TODO(mkwst): This should exclude the samesite cookies.
assert_equals(e.data.document, STRICT_DOM + "=1; " + LAX_DOM + "=1; " + NORMAL_DOM + "=1");
-
- if (triggeredReload) {
- e.source.close();
- t.done();
- } else {
- triggeredReload = true;
- e.source.postMessage("reload", "*");
- }
+ e.source.close();
}));
var f = document.createElement('form');

Powered by Google App Engine
This is Rietveld 408576698