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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/plugintypes-invalid-expected.txt

Issue 811703006: Added more useful message error message for plugin-types CSP directive. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: plugin-types error msg improvement Created 5 years, 11 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: 'plugin-types' Content Security Policy directive is empty; all pl ugins will be blocked. 1 CONSOLE ERROR: 'plugin-types' Content Security Policy directive is empty; all pl ugins will be blocked.
2 2
3 CONSOLE ERROR: Refused to load 'data:application/x-webkit-test-netscape,logifloa ded' (MIME type 'application/x-webkit-test-netscape') because it violates the fo llowing Content Security Policy Directive: 'plugin-types '. 3 CONSOLE ERROR: Refused to load 'data:application/x-webkit-test-netscape,logifloa ded' (MIME type 'application/x-webkit-test-netscape') because it violates the fo llowing Content Security Policy Directive: 'plugin-types '.
4 4
5 CONSOLE ERROR: 'plugin-types' Content Security Policy directive is empty; all pl ugins will be blocked. 5 CONSOLE ERROR: 'plugin-types' Content Security Policy directive is empty; all pl ugins will be blocked.
6 6
7 CONSOLE ERROR: Refused to load 'data:application/x-webkit-test-netscape,logifloa ded' (MIME type 'application/x-webkit-test-netscape') because it violates the fo llowing Content Security Policy Directive: 'plugin-types '. 7 CONSOLE ERROR: Refused to load 'data:application/x-webkit-test-netscape,logifloa ded' (MIME type 'application/x-webkit-test-netscape') because it violates the fo llowing Content Security Policy Directive: 'plugin-types '.
8 8
9 CONSOLE ERROR: Invalid plugin type in 'plugin-types' Content Security Policy dir ective: ''none''. Did you mean to set the object-src directive to 'none'?
Mike West 2015/01/13 06:55:08 The double ' is a little weird, but whatever. I do
10
11 CONSOLE ERROR: Refused to load 'data:application/x-webkit-test-netscape,logifloa ded' (MIME type 'application/x-webkit-test-netscape') because it violates the fo llowing Content Security Policy Directive: 'plugin-types 'none''.
12
9 CONSOLE ERROR: Invalid plugin type in 'plugin-types' Content Security Policy dir ective: 'text'. 13 CONSOLE ERROR: Invalid plugin type in 'plugin-types' Content Security Policy dir ective: 'text'.
10 14
11 CONSOLE ERROR: Refused to load 'data:application/x-webkit-test-netscape,logifloa ded' (MIME type 'application/x-webkit-test-netscape') because it violates the fo llowing Content Security Policy Directive: 'plugin-types text'. 15 CONSOLE ERROR: Refused to load 'data:application/x-webkit-test-netscape,logifloa ded' (MIME type 'application/x-webkit-test-netscape') because it violates the fo llowing Content Security Policy Directive: 'plugin-types text'.
12 16
13 CONSOLE ERROR: Invalid plugin type in 'plugin-types' Content Security Policy dir ective: 'text/'. 17 CONSOLE ERROR: Invalid plugin type in 'plugin-types' Content Security Policy dir ective: 'text/'.
14 18
15 CONSOLE ERROR: Refused to load 'data:application/x-webkit-test-netscape,logifloa ded' (MIME type 'application/x-webkit-test-netscape') because it violates the fo llowing Content Security Policy Directive: 'plugin-types text/'. 19 CONSOLE ERROR: Refused to load 'data:application/x-webkit-test-netscape,logifloa ded' (MIME type 'application/x-webkit-test-netscape') because it violates the fo llowing Content Security Policy Directive: 'plugin-types text/'.
16 20
17 CONSOLE ERROR: Invalid plugin type in 'plugin-types' Content Security Policy dir ective: '/text'. 21 CONSOLE ERROR: Invalid plugin type in 'plugin-types' Content Security Policy dir ective: '/text'.
18 22
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 67
64 68
65 -------- 69 --------
66 Frame: '<!--framePath //<!--frame6-->-->' 70 Frame: '<!--framePath //<!--frame6-->-->'
67 -------- 71 --------
68 72
69 73
70 -------- 74 --------
71 Frame: '<!--framePath //<!--frame7-->-->' 75 Frame: '<!--framePath //<!--frame7-->-->'
72 -------- 76 --------
77
78
79 --------
80 Frame: '<!--framePath //<!--frame8-->-->'
81 --------
73 PASS. 82 PASS.
74 83
75 84
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698