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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/get-embedding-csp-header.php

Issue 2892903002: Renamed `embedding-csp` HTTP request header to `required-csp`. (Closed)
Patch Set: Created 3 years, 7 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/resources/get-embedding-csp-header.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/get-embedding-csp-header.php b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/get-embedding-csp-header.php
deleted file mode 100644
index e641802890c9b77c33eba97ebee37c92631daa86..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/get-embedding-csp-header.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
- $embedding_csp_header = isset($_SERVER['HTTP_EMBEDDING_CSP']) ? addslashes($_SERVER['HTTP_EMBEDDING_CSP']) : null;
-?>
-
-<script>
- var response = {};
- response['src'] = '../resources/get-embedding-csp-header.php';
- response['embedding_csp'] = <?php echo is_null($embedding_csp_header) ? "null" : "\"${embedding_csp_header}\""; ?>;
- window.top.postMessage(response, '*');
-</script>

Powered by Google App Engine
This is Rietveld 408576698