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

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

Powered by Google App Engine
This is Rietveld 408576698