| Index: third_party/WebKit/LayoutTests/http/tests/navigation/resources/post-with-modifier.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/navigation/resources/post-with-modifier.php b/third_party/WebKit/LayoutTests/http/tests/navigation/resources/post-with-modifier.php
|
| index 797053fd0f63b1864f705c53c685911094796596..e4e02c06d12f1bb060bc99ef05e35bda24a804f7 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/navigation/resources/post-with-modifier.php
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/navigation/resources/post-with-modifier.php
|
| @@ -1,12 +1,8 @@
|
| <script>
|
| -if (window.opener) {
|
| - var data = {
|
| - 'method': '<?=$_SERVER['REQUEST_METHOD'] ?>',
|
| - 'formValue': '<?= $_POST['a'] ?>',
|
| - };
|
| - window.opener.postMessage(data, '*');
|
| -} else {
|
| - document.writeln('FAIL');
|
| - testRunner.notifyDone();
|
| -}
|
| +mainTestWindow = window.open("", "mainTestWindow")
|
| +var data = {
|
| + 'method': '<?=$_SERVER['REQUEST_METHOD'] ?>',
|
| + 'formValue': '<?= $_POST['a'] ?>',
|
| +};
|
| +mainTestWindow.postMessage(data, '*');
|
| </script>
|
|
|