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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-event-handler-blocked-after-injecting-meta-expected.txt

Issue 2678043002: Hide console log messages for imported WPT tests (Closed)
Patch Set: filter console messages in content_shell rather than python Created 3 years, 9 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 MESSAGE: line 8: Clicking a link, pre-policy: 1 CONSOLE MESSAGE: line 8: Clicking a link, pre-policy:
2 CONSOLE MESSAGE: line 21: PASS: Event handler triggered pre-policy. 2 CONSOLE MESSAGE: line 21: PASS: Event handler triggered pre-policy.
3 CONSOLE MESSAGE: line 14: Injecting Content-Security-Policy. 3 CONSOLE MESSAGE: line 14: Injecting Content-Security-Policy.
4 CONSOLE MESSAGE: line 19: Clicking a link, post-policy: 4 CONSOLE MESSAGE: line 19: Clicking a link, post-policy:
5 CONSOLE ERROR: line 20: Refused to execute inline event handler because it viola tes the following Content Security Policy directive: "default-src 'self'". Eithe r the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') i s required to enable inline execution. Note also that 'script-src' was not expli citly set, so 'default-src' is used as a fallback. 5 CONSOLE ERROR: line 20: Refused to execute inline event handler because it viola tes the following Content Security Policy directive: "default-src 'self'". Eithe r the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') i s required to enable inline execution. Note also that 'script-src' was not expli citly set, so 'default-src' is used as a fallback.
6 6 CONSOLE ERROR: line 20:
7 This test checks that CSP is evaluated on each call to an inline event handler, even if it's been executed pre-policy. It passes if one 'PASS' and no 'FAIL' mes sages appear. 7 This test checks that CSP is evaluated on each call to an inline event handler, even if it's been executed pre-policy. It passes if one 'PASS' and no 'FAIL' mes sages appear.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698