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/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image-from-script-expected.txt

Issue 2331213002: Add `disposition` to SecurityPolicyViolationEvent (Closed)
Patch Set: Fix a typo in rebased test expectation Created 4 years, 2 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 load the image 'http://127.0.0.1:8000/security/resourc es/abe.png' because it violates the following Content Security Policy directive: "img-src 'none'". 1 CONSOLE ERROR: Refused to load the image 'http://127.0.0.1:8000/security/resourc es/abe.png' because it violates the following Content Security Policy directive: "img-src 'none'".
2 2
3 Check that a SecurityPolicyViolationEvent strips detail from cross-origin URLs u pon blocking an image injected via script. 3 Check that a SecurityPolicyViolationEvent strips detail from cross-origin URLs u pon blocking an image injected via script.
4 4
5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 5 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
6 6
7 7
8 Kicking off the tests: 8 Kicking off the tests:
9 PASS window.e.documentURI is "http://127.0.0.1:8000/security/contentSecurityPoli cy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image-from -script.html" 9 PASS window.e.documentURI is "http://127.0.0.1:8000/security/contentSecurityPoli cy/securitypolicyviolation/securitypolicyviolation-block-cross-origin-image-from -script.html"
10 PASS window.e.referrer is "" 10 PASS window.e.referrer is ""
11 PASS window.e.blockedURI is "http://127.0.0.1:8000/security/resources/abe.png" 11 PASS window.e.blockedURI is "http://127.0.0.1:8000/security/resources/abe.png"
12 PASS window.e.violatedDirective is "img-src 'none'" 12 PASS window.e.violatedDirective is "img-src 'none'"
13 PASS window.e.effectiveDirective is "img-src" 13 PASS window.e.effectiveDirective is "img-src"
14 PASS window.e.originalPolicy is "img-src 'none'" 14 PASS window.e.originalPolicy is "img-src 'none'"
15 PASS window.e.disposition is "enforce"
15 PASS window.e.sourceFile is "" 16 PASS window.e.sourceFile is ""
16 PASS window.e.lineNumber is 0 17 PASS window.e.lineNumber is 0
17 PASS window.e.columnNumber is 0 18 PASS window.e.columnNumber is 0
18 PASS window.e.statusCode is 200 19 PASS window.e.statusCode is 200
19 PASS successfullyParsed is true 20 PASS successfullyParsed is true
20 21
21 TEST COMPLETE 22 TEST COMPLETE
22 23
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698