Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for-style-allowed.html |
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for-style-allowed.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for-style-allowed.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..16587f3e3ab16dfbc388159ce079802d9562155d |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/require-sri-for-style-allowed.html |
@@ -0,0 +1,16 @@ |
+<!DOCTYPE html> |
+<html> |
+<head> |
+<meta http-equiv="Content-Security-Policy" content="require-sri-for style; style-src *;"> |
+<link rel="stylesheet" integrity="sha384-ShcCjjHALnNbqS5eV7QCI3bD7MRh4q9TUlMpTjtDKqfMqSa3V9NRmOxE8GVVXXHj" crossorigin="anonymous" href="resources/blue.css"> |
+<script> |
+if (window.testRunner) |
+ testRunner.dumpAsText(); |
+</script> |
+</head> |
+<body> |
+<script> |
+document.write(document.styleSheets.length > 0 ? 'FAIL' : 'PASS'); |
Mike West
2016/06/10 09:25:15
Please write this as a `testharness.js` test. See
|
+</script> |
+</body> |
+</html> |