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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/script-src-unsafe-dynamic-expected.txt

Issue 1885703003: Make testharness.js tests fail on uncaught exceptions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Recover script changes Created 4 years, 8 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
(Empty)
1 CONSOLE ERROR: Refused to load the script 'http://localhost:8000/security/conten tSecurityPolicy/resources/loaded.js?write' because it violates the following Con tent Security Policy directive: "script-src 'nonce-abcdefg' 'unsafe-dynamic'". ' unsafe-dynamic' is present, so host-based whitelisting is disabled.
2
3 CONSOLE ERROR: Refused to load the script 'http://localhost:8000/security/conten tSecurityPolicy/resources/loaded.js?write-defer' because it violates the followi ng Content Security Policy directive: "script-src 'nonce-abcdefg' 'unsafe-dynami c'". 'unsafe-dynamic' is present, so host-based whitelisting is disabled.
4
5 CONSOLE ERROR: Refused to load the script 'http://localhost:8000/security/conten tSecurityPolicy/resources/loaded.js?write-async' because it violates the followi ng Content Security Policy directive: "script-src 'nonce-abcdefg' 'unsafe-dynami c'". 'unsafe-dynamic' is present, so host-based whitelisting is disabled.
6
7 CONSOLE ERROR: Refused to load the script 'http://localhost:8000/security/conten tSecurityPolicy/resources/loaded.js?write' because it violates the following Con tent Security Policy directive: "script-src 'nonce-abcdefg' 'unsafe-dynamic'". ' unsafe-dynamic' is present, so host-based whitelisting is disabled.
8
9 CONSOLE ERROR: Refused to load the script 'http://localhost:8000/security/conten tSecurityPolicy/resources/loaded.js?defer-write-defer' because it violates the f ollowing Content Security Policy directive: "script-src 'nonce-abcdefg' 'unsafe- dynamic'". 'unsafe-dynamic' is present, so host-based whitelisting is disabled.
10
11 CONSOLE ERROR: Refused to load the script 'http://localhost:8000/security/conten tSecurityPolicy/resources/loaded.js?defer-write-async' because it violates the f ollowing Content Security Policy directive: "script-src 'nonce-abcdefg' 'unsafe- dynamic'". 'unsafe-dynamic' is present, so host-based whitelisting is disabled.
12
13 This is a testharness.js-based test.
14 PASS Script injected via 'appendChild' is allowed with 'unsafe-dynamic'.
15 PASS Async script injected via 'appendChild' is allowed with 'unsafe-dynamic'.
16 PASS Deferred script injected via 'appendChild' is allowed with 'unsafe-dynamic' .
17 PASS Script injected via 'document.write' is not allowed with 'unsafe-dynamic'.
18 PASS Deferred script injected via 'document.write' is not allowed with 'unsafe-d ynamic'.
19 PASS Async script injected via 'document.write' is not allowed with 'unsafe-dyna mic'.
20 PASS Script injected via deferred 'appendChild' is allowed with 'unsafe-dynamic' .
21 PASS Async script injected via deferred 'appendChild' is allowed with 'unsafe-dy namic'.
22 PASS Deferred script injected via deferred 'appendChild' is allowed with 'unsafe -dynamic'.
23 PASS Script injected via deferred 'document.write' is not allowed with 'unsafe-d ynamic'.
24 PASS Deferred script injected via deferred 'document.write' is not allowed with 'unsafe-dynamic'.
25 PASS Async script injected via deferred 'document.write' is not allowed with 'un safe-dynamic'.
26 Harness: the test ran to completion.
27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698