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

Unified 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, 3 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-document-domain.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-document-domain.php b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-document-domain.php
index 15f11e13a1126ab6452e2f4ecec778da229480e9..bb3e3a032b37d16e7dbcaadba7b290c1dcb70294 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-document-domain.php
+++ b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-document-domain.php
@@ -4,12 +4,14 @@ header("Suborigin: foobar");
<!DOCTYPE html>
<html>
<head>
+<meta charset="utf-8">
<title>Validate behavior of document.domain</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<script>
-assert_equals(document.domain, "127.0.0.1", "document.domain should not be affected by the suborigin.");
+assert_equals(document.domain, '127.0.0.1',
+ 'document.domain should not be affected by the suborigin.');
done();
</script>
</html>

Powered by Google App Engine
This is Rietveld 408576698