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

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

Issue 2370843003: Suborigin LayoutTest formatting and refactoring (Closed)
Patch Set: Created 4 years, 2 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
1 <?php 1 <?php
2 header("Suborigin: foobar"); 2 header("Suborigin: foobar");
3 ?> 3 ?>
4 <!DOCTYPE html> 4 <!DOCTYPE html>
5 <html> 5 <html>
6 <head> 6 <head>
7 <meta charset="utf-8">
7 <title>Validate behavior of document.domain</title> 8 <title>Validate behavior of document.domain</title>
8 <script src="/resources/testharness.js"></script> 9 <script src="/resources/testharness.js"></script>
9 <script src="/resources/testharnessreport.js"></script> 10 <script src="/resources/testharnessreport.js"></script>
10 </head> 11 </head>
11 <script> 12 <script>
12 assert_equals(document.domain, "127.0.0.1", "document.domain should not be affec ted by the suborigin."); 13 assert_equals(document.domain, '127.0.0.1',
14 'document.domain should not be affected by the suborigin.');
13 done(); 15 done();
14 </script> 16 </script>
15 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698