Chromium Code Reviews| 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> |