| Index: third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php
|
| index fc43a8dac1ef4729e9384945bbb55c07fd973646..210cc638f9145449969d525cd68caab8e135a71a 100644
|
| --- a/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/security/contentSecurityPolicy/resources/sandbox.php
|
| @@ -7,7 +7,17 @@ if ($_GET["report-only"]) {
|
| ?>
|
| <!DOCTYPE html>
|
| <p>Ready</p>
|
| +<?php
|
| +if ($_GET["script-in-subframe"]) {
|
| +?>
|
| +<iframe src="data:text/html,<script>console.log('Script executed in child frame');</script>"></iframe>
|
| +<?php
|
| +} else {
|
| +?>
|
| <script>
|
| console.log("Script executed in iframe.");
|
| window.secret = "I am a secret";
|
| </script>
|
| +<?php
|
| +}
|
| +?>
|
|
|