| Index: LayoutTests/http/tests/security/sandbox-inherit-to-blank-document-unsandboxed.html
|
| diff --git a/LayoutTests/http/tests/security/sandbox-inherit-to-blank-document.html b/LayoutTests/http/tests/security/sandbox-inherit-to-blank-document-unsandboxed.html
|
| similarity index 75%
|
| copy from LayoutTests/http/tests/security/sandbox-inherit-to-blank-document.html
|
| copy to LayoutTests/http/tests/security/sandbox-inherit-to-blank-document-unsandboxed.html
|
| index 46a478aa096e71d8adefabd06651ba7998630ced..ce256bc3deb4027fb8a3602db0f21103c422653a 100644
|
| --- a/LayoutTests/http/tests/security/sandbox-inherit-to-blank-document.html
|
| +++ b/LayoutTests/http/tests/security/sandbox-inherit-to-blank-document-unsandboxed.html
|
| @@ -1,7 +1,7 @@
|
| <!DOCTYPE html>
|
| <html>
|
| <head>
|
| - <meta http-equiv="Content-Security-Policy" content="sandbox allow-scripts allow-popups">
|
| + <meta http-equiv="Content-Security-Policy" content="sandbox allow-scripts allow-popups allow-unsandboxed-auxiliary">
|
| <script src="/resources/testharness.js"></script>
|
| <script src="/resources/testharnessreport.js"></script>
|
| </head>
|
| @@ -13,11 +13,11 @@
|
| testRunner.setCloseRemainingWindowsWhenComplete(true);
|
| }
|
|
|
| - var test = async_test("Testing sandbox inherited via target='_blank'");
|
| + var test = async_test("Testing sandbox not inherited via target='_blank' when 'allow-unsandboxed-auxiliary' present");
|
|
|
| window.addEventListener("message", test.step_func(function (e) {
|
| assert_equals(document.origin, 'null');
|
| - assert_equals(e.data.origin, 'null');
|
| + assert_equals(e.data.origin, 'http://127.0.0.1:8000');
|
| test.done();
|
| }));
|
|
|
|
|