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

Side by Side Diff: LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-11.html

Issue 1362813002: CSP source *.x.y should not match host x.y (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Test fixes Created 5 years, 3 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>*.x.y should match only hosts that end in .x.y</title>
5 <script src="/resources/testharness.js"></script>
6 <script src="/resources/testharnessreport.js"></script>
7 <meta http-equiv="Content-Security-Policy" content="script-src *.localho st:8000 'self' 'unsafe-inline'">
8 </head>
9 <script>
10 window.result = false;
11 </script>
12 <script src="//localhost:8000/security/contentSecurityPolicy/resources/scrip t-set-value.js"></script>
13 <script>
14 assert_false(window.result);
15 done();
16 </script>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698