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

Unified Diff: third_party/WebKit/LayoutTests/external/wpt/content-security-policy/embedded-enforcement/embedding_csp-header-invalid-format.html

Issue 2799613003: Un-skipped wpt embedded enforcement tests (Closed)
Patch Set: Created 3 years, 8 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/external/wpt/content-security-policy/embedded-enforcement/embedding_csp-header-invalid-format.html
diff --git a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/embedded-enforcement/embedding_csp-header.html b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/embedded-enforcement/embedding_csp-header-invalid-format.html
similarity index 84%
copy from third_party/WebKit/LayoutTests/external/wpt/content-security-policy/embedded-enforcement/embedding_csp-header.html
copy to third_party/WebKit/LayoutTests/external/wpt/content-security-policy/embedded-enforcement/embedding_csp-header-invalid-format.html
index 424233a3ad8266145166f0d0c9f9094eb32e66bd..98bdbd29a6e2afc5083fc90686a1ffb0d4f661a9 100644
--- a/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/embedded-enforcement/embedding_csp-header.html
+++ b/third_party/WebKit/LayoutTests/external/wpt/content-security-policy/embedded-enforcement/embedding_csp-header-invalid-format.html
@@ -8,16 +8,8 @@
</head>
<body>
<script>
+ // When this test starts passing please merge with embedding_csp-header.html
var tests = [
- { "name": "Embedding-CSP is not sent if `csp` attribute is not set on <iframe>.",
- "csp": null,
- "expected": null },
- { "name": "Send Embedding-CSP when `csp` attribute of <iframe> is not empty.",
- "csp": "script-src 'unsafe-inline'",
- "expected": "script-src 'unsafe-inline'" },
- { "name": "Send Embedding-CSP Header on change of `src` attribute on iframe.",
- "csp": "script-src 'unsafe-inline'",
- "expected": "script-src 'unsafe-inline'" },
{ "name": "Wrong value of `csp` should not trigger sending Embedding-CSP Header.",
"csp": "completely wrong csp",
"expected": null},

Powered by Google App Engine
This is Rietveld 408576698