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

Side by Side Diff: third_party/WebKit/LayoutTests/inspector/sources/debugger-pause/debugger-pause-on-blocked-event-handler-expected.txt

Issue 1984483002: [DevTools] Capture call stacks for CSP console messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more tests Created 4 years, 7 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 13: Refused to execute inline event handler because it viola tes the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution. 1 CONSOLE ERROR: line 4: Refused to execute inline event handler because it violat es the following Content Security Policy directive: "script-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-...'), or a nonce ('nonce-...') is required to enable inline execution.
2 2
3 Tests that pause on exception works for inline event handlers blocked by CSP. 3 Tests that pause on exception works for inline event handlers blocked by CSP.
4 4
5 Button 5 Button
6 Script execution paused. 6 Script execution paused.
7 Call stack: 7 Call stack:
8 0) testAction (pause-on-blocked-event-handler.js:4) 8 0) testAction (pause-on-blocked-event-handler.js:4)
9 Paused on a script blocked due to Content Security Policy directive: "script-src 'self'". 9 Paused on a script blocked due to Content Security Policy directive: "script-src 'self'".
10 Script execution resumed. 10 Script execution resumed.
11 11
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698