| Index: LayoutTests/http/tests/security/suborigins/resources/childsuborigin.php
|
| diff --git a/LayoutTests/http/tests/security/suborigins/resources/childsuborigin.php b/LayoutTests/http/tests/security/suborigins/resources/childsuborigin.php
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..795b0bad8c3eeeb7cac5f13a647a54e5ae92f614
|
| --- /dev/null
|
| +++ b/LayoutTests/http/tests/security/suborigins/resources/childsuborigin.php
|
| @@ -0,0 +1,12 @@
|
| +<?php
|
| +if ($_GET["report-only"]) {
|
| + header("Content-Security-Policy-Report-Only: suborigin " . $_GET["suborigin"]);
|
| +} else {
|
| + header("Content-Security-Policy: suborigin " . $_GET["suborigin"]);
|
| +}
|
| +?>
|
| +<!DOCTYPE html>
|
| +<script>
|
| +window.secret = 'I am a secret';
|
| +parent.postMessage('Done', '*');
|
| +</script>
|
|
|