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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-allowed.html

Issue 2784543003: Fixed wpt content-security-policy/style-src tests (Closed)
Patch Set: CR changes Created 3 years, 9 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: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-allowed.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-allowed.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-allowed.html
deleted file mode 100644
index 7d990e9b9018afd005d5e1014cdb04890d8d7fb8..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-allowed.html
+++ /dev/null
@@ -1,20 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta http-equiv="Content-Security-Policy" content="style-src 'unsafe-inline'; script-src 'unsafe-inline'">
-<style>
-.target {
- background-color: blue;
-}
-</style>
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-</script>
-</head>
-<body class="target">
-<script>
-document.write(document.styleSheets.length > 0 ? 'PASS' : 'FAIL');
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698