| Index: LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-open-exception.php
|
| diff --git a/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-open-exception.php b/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-open-exception.php
|
| index f59b08ad9633a4f166d616a6dee2eb82a0360184..37408f41fe48c873718d13d58b7f1aae8f32bd9a 100644
|
| --- a/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-open-exception.php
|
| +++ b/LayoutTests/http/tests/security/suborigins/crossorigin/suborigin-cross-origin-window-open-exception.php
|
| @@ -14,8 +14,8 @@ header("Content-Security-Policy: suborigin foobar");
|
| window.jsTestIsAsync = true;
|
| var frame = document.querySelector('iframe');
|
| window.onload = function () {
|
| - shouldThrow("frame.contentWindow.open()", '"SecurityError: Blocked a frame with origin \\"suborigin+foobar+http://127.0.0.1:8000\\" from accessing a cross-origin frame."');
|
| - shouldThrow("frame.contentWindow.opener = 1;", '"SecurityError: Failed to set the \'opener\' property on \'Window\': Blocked a frame with origin \\"suborigin+foobar+http://127.0.0.1:8000\\" from accessing a cross-origin frame."');
|
| + shouldThrow("frame.contentWindow.open()", '"SecurityError: Blocked a frame with origin \\"http://foobar_127.0.0.1:8000\\" from accessing a cross-origin frame."');
|
| + shouldThrow("frame.contentWindow.opener = 1;", '"SecurityError: Failed to set the \'opener\' property on \'Window\': Blocked a frame with origin \\"http://foobar_127.0.0.1:8000\\" from accessing a cross-origin frame."');
|
| finishJSTest();
|
| };
|
| </script>
|
|
|