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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/cssom/cssstylesheet-insertrule-allowed.html

Issue 169303003: CSP 1.1: Revert CSSOM changes. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase. Created 6 years, 10 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/1.1/cssom/cssstylesheet-insertrule-allowed.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/cssom/cssstylesheet-insertrule-allowed.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/cssom/cssstylesheet-insertrule-allowed.html
deleted file mode 100644
index f25dddd56779819828977fa580b5dba9f32e1279..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/cssom/cssstylesheet-insertrule-allowed.html
+++ /dev/null
@@ -1,13 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <script src="/js-test-resources/js-test.js"></script>
- <meta http-equiv="Content-Security-Policy" content="style-src 'unsafe-inline' 'self' 'unsafe-eval'">
-</head>
-<body>
- <script>
- description("CSSStyleSheet::insertRule blocked if 'unsafe-eval' is not an allowed source of style.");
- shouldNotThrow("document.styleSheets[0].insertRule('x { display: none; }', 0);");
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698