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

Unified Diff: third_party/WebKit/LayoutTests/fast/forms/resources/multiple-form-submission-protection-post-target.html

Issue 2694903007: Add a warning for the deprecation of content-initiated data URL navigations (Closed)
Patch Set: Fix layout tests that do top-level navigations to data: URLs Created 3 years, 10 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/fast/forms/resources/multiple-form-submission-protection-post-target.html
diff --git a/third_party/WebKit/LayoutTests/fast/forms/resources/multiple-form-submission-protection-post-target.html b/third_party/WebKit/LayoutTests/fast/forms/resources/multiple-form-submission-protection-post-target.html
new file mode 100644
index 0000000000000000000000000000000000000000..463396f3a82c0f590b4c89e63ff290b65da1f36d
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/fast/forms/resources/multiple-form-submission-protection-post-target.html
@@ -0,0 +1,8 @@
+<script>
+if (opener) {
+ opener.postMessage('trololo', '*'); window.close();
Charlie Reis 2017/02/23 18:39:11 nit: Might as well split this into two lines, like
meacer 2017/02/23 20:47:25 Done.
+} else {
+ document.write('SUCCESS');
+ window.testRunner && testRunner.notifyDone();
+}
+</script>

Powered by Google App Engine
This is Rietveld 408576698