| Index: LayoutTests/http/tests/security/suborigins/resources/post-document-to-parent.php
|
| diff --git a/LayoutTests/http/tests/security/suborigins/resources/post-document-to-parent.php b/LayoutTests/http/tests/security/suborigins/resources/post-document-to-parent.php
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..88cff52363027325de1958c1c930eaa1123c1059
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/security/suborigins/resources/post-document-to-parent.php
|
| @@ -0,0 +1,11 @@
|
| +<?php
|
| +if ($_GET["suborigin"]) {
|
| + header("Content-Security-Policy: suborigin ". $_GET["suborigin"]);
|
| +}
|
| +?>
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<script>
|
| +window.parent.postMessage(document.suborigin, '*');
|
| +</script>
|
| +</html>
|
|
|