| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1396d974ab827746dcb5c145ae2ac6c2cc8238c7
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/get-embedding-csp-header.php
|
| @@ -0,0 +1,8 @@
|
| +<?php
|
| + $embedding_csp_header = isset($_SERVER['HTTP_EMBEDDING_CSP']) ? $_SERVER['HTTP_EMBEDDING_CSP'] : 'null';
|
| +?>
|
| +
|
| +<script>
|
| + var header = "<?php echo $embedding_csp_header; ?>";
|
| + window.top.postMessage(header, '*');
|
| +</script>
|
|
|