Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2)

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/frame-src-child-frame-navigates-to-blocked-origin-expected.txt

Issue 2190183002: Forward CSP violation reporting from RenderFrameProxy to RenderFrameImpl. Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Sanitize report endpoints from IPC against actual CSP contents. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 CONSOLE ERROR: line 7: Refused to frame 'http://localhost:8000/security/contentS ecurityPolicy/resources/target-for-frame-that-navigates-itself.html' because it violates the following Content Security Policy directive: "frame-src https://loc alhost:8443". 1 CONSOLE ERROR: line 7: Refused to frame 'http://localhost:8000/security/contentS ecurityPolicy/resources/target-for-frame-that-navigates-itself.html' because it violates the following Content Security Policy directive: "frame-src https://loc alhost:8443".
2 2
3 CONSOLE MESSAGE: line 11: securitypolicyviolation_event.documentURI=http://127.0 .0.1:8000/security/contentSecurityPolicy/frame-src-child-frame-navigates-to-bloc ked-origin.html
4 CONSOLE MESSAGE: line 12: securitypolicyviolation_event.blockedURI=http://localh ost:8000/security/contentSecurityPolicy/resources/target-for-frame-that-navigate s-itself.html
5 CONSOLE MESSAGE: line 13: securitypolicyviolation_event.violatedDirective=frame- src https://localhost:8443
3 The test verifies that Content-Security-Policy from the main frame restricts chi ld frame's location even when the location is changed as a result of a navigatio n trigerred from within the child frame (which might reside in another renderer process due to --site-per-process). 6 The test verifies that Content-Security-Policy from the main frame restricts chi ld frame's location even when the location is changed as a result of a navigatio n trigerred from within the child frame (which might reside in another renderer process due to --site-per-process).
4 7
5 -------- 8 --------
6 Frame: '<!--framePath //<!--frame0-->-->' 9 Frame: '<!--framePath //<!--frame0-->-->'
7 -------- 10 --------
8 Frame that navigates itself to an origin other than https://localhost:8443. Auto matically clicked link. 11 Frame that navigates itself to an origin other than https://localhost:8443. Auto matically clicked link.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698