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/external/wpt/content-security-policy/img-src/img-src-full-host-wildcard-blocked.sub.html

Issue 2768073004: Revert of Fixed external wpt csp img-src/* tests. (Closed)
Patch Set: Created 3 years, 9 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 <!DOCTYPE html>
2 <meta http-equiv="Content-Security-Policy" content="img-src *.{{host}}:{{ports[h ttp][0]}}">
3 <html>
4 <head>
5 <title>img-src with full host and wildcard blocks correctly.</title>
6 <script src='/resources/testharness.js'></script>
7 <script src='/resources/testharnessreport.js'></script>
8 </head>
9 <body>
10 <div id='log'/>
11
12 <script>
13 var t1 = async_test("img src does not match full host and wildcard csp dir ective");
14 </script>
15 <img src='http://{{host}}:{{ports[http][0]}}/content-security-policy/support /fail.png'
16 onload='t1.step(function() { assert_unreached("Image should have loaded "); t1.done(); });'
17 onerror='t1.done();'>
18
19 </body>
20 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698