Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-11.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-11.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-11.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6034c64757786ab54ab54a1e63e9df938474fdb1 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/source-list-parsing-11.html |
@@ -0,0 +1,17 @@ |
+<!DOCTYPE html> |
+<html> |
+ <head> |
+ <title>*.x.y should match only hosts that end in .x.y</title> |
+ <script src="/resources/testharness.js"></script> |
+ <script src="/resources/testharnessreport.js"></script> |
+ <meta http-equiv="Content-Security-Policy" content="script-src *.localhost:8000 'self' 'unsafe-inline'"> |
+ </head> |
+ <script> |
+ window.result = false; |
+ </script> |
+ <script src="//localhost:8000/security/contentSecurityPolicy/resources/script-set-value.js"></script> |
+ <script> |
+ assert_false(window.result); |
+ done(); |
+ </script> |
+</html> |