| Index: LayoutTests/http/tests/security/suborigins/suborigin-blocked-different-suborigins.php
 | 
| diff --git a/LayoutTests/http/tests/security/suborigins/suborigin-blocked-different-suborigins.php b/LayoutTests/http/tests/security/suborigins/suborigin-blocked-different-suborigins.php
 | 
| new file mode 100644
 | 
| index 0000000000000000000000000000000000000000..8a5c3f815bac2d161d8839e82d2945719503f7e9
 | 
| --- /dev/null
 | 
| +++ b/LayoutTests/http/tests/security/suborigins/suborigin-blocked-different-suborigins.php
 | 
| @@ -0,0 +1,26 @@
 | 
| +<?php
 | 
| +header("Content-Security-Policy: suborigin foobar1");
 | 
| +?>
 | 
| +<!DOCTYPE html>
 | 
| +<html>
 | 
| +<head>
 | 
| +<title>Block a frame in one suborigin from accessing another suborigin</title>
 | 
| +<script src="/resources/testharness.js"></script>
 | 
| +<script src="/resources/testharnessreport.js"></script>
 | 
| +</head>
 | 
| +<script>
 | 
| +window.onmessage = function() {
 | 
| +    var iframe = document.getElementById('iframe');
 | 
| +    var secret = '';
 | 
| +    try {
 | 
| +        secret = iframe.contentWindow.secret;
 | 
| +        assert_unreached();
 | 
| +        done();
 | 
| +    } catch(e) {
 | 
| +        assert_equals(secret, "", "The parent frame should not be able to get the secret value from the child iframe.");
 | 
| +        done();
 | 
| +    };
 | 
| +};
 | 
| +</script>
 | 
| +<iframe id="iframe" src="resources/childsuborigin.php?suborigin=foobar2"></iframe>
 | 
| +</html>
 | 
| 
 |