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

Unified Diff: LayoutTests/http/tests/security/contentSecurityPolicy/1.1/cssom/cssmediarule-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/cssmediarule-insertrule-allowed.html
diff --git a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/cssom/cssmediarule-insertrule-allowed.html b/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/cssom/cssmediarule-insertrule-allowed.html
deleted file mode 100644
index f4ccd3c8693b99f9be8142285e9972c020fea39f..0000000000000000000000000000000000000000
--- a/LayoutTests/http/tests/security/contentSecurityPolicy/1.1/cssom/cssmediarule-insertrule-allowed.html
+++ /dev/null
@@ -1,18 +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'">
- <style>
- @media all {
- }
- </style>
-</head>
-<body>
- <script>
- var rule = document.styleSheets[1].cssRules[0];
- description("CSSStyleSheet::insertRule allowed if 'unsafe-eval' is an allowed source of style.");
- shouldNotThrow("rule.insertRule('x { display: none; }', 0);");
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698