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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-07.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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-07.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-07.html b/LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-07.html
index 23a53ad1b0db976353adae3e3fd674414fec2d67..076d4b2157a5ee20764670c4f44c1024f7d7adf2 100644
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-07.html
+++ b/LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-07.html
@@ -5,6 +5,7 @@
<script>
var tests = [
['no', 'script-src http:/', 'resources/script.js'],
+ ['no', 'script-src http://', 'resources/script.js'],
['no', 'script-src http:/127.0.0.1', 'resources/script.js'],
['no', 'script-src http:///127.0.0.1', 'resources/script.js'],
['no', 'script-src http://127.0.0.1:/', 'resources/script.js'],

Powered by Google App Engine
This is Rietveld 408576698