Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(199)

Side by Side Diff: LayoutTests/http/tests/security/suborigins/suborigin-document-suborigin.php

Issue 1180923003: Add window access checks for Suborigins (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix tests on Windows Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?php
2 header("Content-Security-Policy: suborigin foobar");
3 ?>
4 <!DOCTYPE html>
5 <html>
6 <head>
7 <title>Validate presence and value of document.suborigin</title>
8 <script src="/resources/testharness.js"></script>
9 <script src="/resources/testharnessreport.js"></script>
10 </head>
11 <script>
12 assert_equals(document.suborigin, "foobar", "document.suborigin should exist whe n page has a suborigin.");
13 done();
14 </script>
15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698