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

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

Issue 470723006: Disallow an empty host in a CSP host-source directive (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-03-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src='resources/multiple-iframe-test.js'></script> 4 <script src='resources/multiple-iframe-test.js'></script>
5 <script> 5 <script>
6 var tests = [ 6 var tests = [
7 ['yes', 'script-src http:', 'resources/script.js'], 7 ['yes', 'script-src http:', 'resources/script.js'],
8 ['no', 'script-src https:', 'resources/script.js'], 8 ['no', 'script-src https:', 'resources/script.js'],
9 ['no', 'script-src https: ', 'resources/script.js'], 9 ['no', 'script-src https: ', 'resources/script.js'],
10 ['no', 'script-src https://', 'resources/script.js']
11 ]; 10 ];
12 </script> 11 </script>
13 </head> 12 </head>
14 <body onload="test()"> 13 <body onload="test()">
15 <p> 14 <p>
16 None of these scripts should execute even though there are parse errors in t he policy. 15 None of these scripts should execute.
17 </p> 16 </p>
18 17
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-03-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698