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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-attribute-on-html.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-attribute-on-html.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-attribute-on-html.html b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-attribute-on-html.html
deleted file mode 100644
index 48ea428da44de4c73394b1f1a535a89e566df327..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/inline-style-attribute-on-html.html
+++ /dev/null
@@ -1,18 +0,0 @@
-<!DOCTYPE html>
-<html style="background-color: blue;">
-<head>
-<meta http-equiv="Content-Security-Policy" content="style-src 'none'; script-src 'unsafe-inline'">
-<script>
-if (window.testRunner)
- testRunner.dumpAsText();
-</script>
-</head>
-<body>
-<p>Even though this page has a CSP policy the blocks inline style, the style
-attribute on the HTML element still takes effect because it preceeds the meta
-element.</p>
-<script>
-document.write(document.documentElement.style.length > 0 ? 'PASS' : 'FAIL');
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698