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

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

Issue 2416033002: Fixed the behaviour of form submit to match the standard: no submit is taken place when the form is… (Closed)
Patch Set: Modified layout tests for the new behaviour Created 4 years, 2 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-same-site-post.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-same-site-post.html b/third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-same-site-post.html
index eee74be3e785939e8564e1203c28ba17d14d4b25..dc680180d1b1ab650042f08f3cd023c9005e71ec 100644
--- a/third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-same-site-post.html
+++ b/third_party/WebKit/LayoutTests/http/tests/cookies/same-site/popup-same-site-post.html
@@ -2,6 +2,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/cookies/resources/testharness-helpers.js"></script>
+<body>
<script>
if (window.location.hostname == "127.0.0.1") {
window.location.hostname = ORIGINAL_HOST;
@@ -25,6 +26,8 @@ if (window.location.hostname == "127.0.0.1") {
f.method = "POST";
f.target = "_blank";
window.onload = t.step_func(f.submit.bind(f));
+ document.body.appendChild(f);
}, "'" + ORIGINAL_HOST + "' is same-site with itself, so samesite cookies are sent.");
}
</script>
+</body>

Powered by Google App Engine
This is Rietveld 408576698