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

Side by Side 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 unified diff | Download patch
OLDNEW
(Empty)
1 <?php
2 $embedding_csp_header = isset($_SERVER['HTTP_EMBEDDING_CSP']) ? addslashes($ _SERVER['HTTP_EMBEDDING_CSP']) : null;
3 ?>
4
5 <script>
6 var response = {};
7 response['src'] = '../resources/get-embedding-csp-header.php';
8 response['embedding_csp'] = <?php echo is_null($embedding_csp_header) ? "null" : "\"${embedding_csp_header}\""; ?>;
9 window.top.postMessage(response, '*');
10 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698