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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/inspector/stacktraces/csp-setInterval-warning-contains-stacktrace-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: Refused to evaluate a string as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy dire ctive: "script-src 'self' 'unsafe-inline'". 1 CONSOLE ERROR: line 11: Refused to evaluate a string as JavaScript because 'unsa fe-eval' is not an allowed source of script in the following Content Security Po licy directive: "script-src 'self' 'unsafe-inline'".
2 2
3 This test attempts to evaluate script via setInterval. The resulting console err or should contain a stack trace tied to line 11. 3 This test attempts to evaluate script via setInterval. The resulting console err or should contain a stack trace tied to line 11.
4 4
5 Message[0]: csp-setInterval-warning-contains-stacktrace.html:11 Refused to evalu ate a string as JavaScript because 'unsafe-eval' is not an allowed source of scr ipt in the following Content Security Policy directive: "script-src 'self' 'unsa fe-inline'". 5 Message[0]: csp-setInterval-warning-contains-stacktrace.html:11 Refused to evalu ate a string as JavaScript because 'unsafe-eval' is not an allowed source of scr ipt in the following Content Security Policy directive: "script-src 'self' 'unsa fe-inline'".
6 6
7 Stack Trace: 7 Stack Trace:
8 8
9 url: http://127.0.0.1:8000/inspector/stacktraces/csp-setInterval-warning-con tains-stacktrace.html 9 url: http://127.0.0.1:8000/inspector/stacktraces/csp-setInterval-warning-con tains-stacktrace.html
10 function: thisTest 10 function: thisTest
11 line: 11 11 line: 11
12 12
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698