Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/frame-src-child-frame-navigates-to-blocked-origin-expected.txt |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/frame-src-child-frame-navigates-to-blocked-origin-expected.txt b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/frame-src-child-frame-navigates-to-blocked-origin-expected.txt |
index 60b1693a36b1f4a1e67a0f52e03bc33ddda1781b..0eef2827e6dca8d3ac27d1d4c763501dd642def2 100644 |
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/frame-src-child-frame-navigates-to-blocked-origin-expected.txt |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/frame-src-child-frame-navigates-to-blocked-origin-expected.txt |
@@ -1,5 +1,8 @@ |
CONSOLE ERROR: line 7: Refused to frame 'http://localhost:8000/security/contentSecurityPolicy/resources/target-for-frame-that-navigates-itself.html' because it violates the following Content Security Policy directive: "frame-src https://localhost:8443". |
+CONSOLE MESSAGE: line 11: securitypolicyviolation_event.documentURI=http://127.0.0.1:8000/security/contentSecurityPolicy/frame-src-child-frame-navigates-to-blocked-origin.html |
+CONSOLE MESSAGE: line 12: securitypolicyviolation_event.blockedURI=http://localhost:8000/security/contentSecurityPolicy/resources/target-for-frame-that-navigates-itself.html |
+CONSOLE MESSAGE: line 13: securitypolicyviolation_event.violatedDirective=frame-src https://localhost:8443 |
The test verifies that Content-Security-Policy from the main frame restricts child frame's location even when the location is changed as a result of a navigation trigerred from within the child frame (which might reside in another renderer process due to --site-per-process). |
-------- |