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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-document-suborigin.html

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-suborigin.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-document-suborigin.html b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-document-suborigin.html
index c257fd2a8c47a3b1dbfaa8b4f47d8169b4d7000b..fd02fa1e89f9faa2edf59d77efab623b47ec6c9d 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-document-suborigin.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-document-suborigin.html
@@ -7,9 +7,10 @@
</head>
<script>
window.onmessage = function(event) {
- assert_equals(event.data.type, 'iframe');
- assert_equals(event.data.suborigin, "foobar", "document.suborigin should exist when page has a suborigin.");
- done();
+ assert_equals(event.data.type, 'iframe');
+ assert_equals(event.data.suborigin, 'foobar',
+ 'document.suborigin should exist when page has a suborigin.');
+ done();
}
</script>
<iframe src="resources/post-document-to-parent.php?suborigin=foobar&type=iframe"></iframe>

Powered by Google App Engine
This is Rietveld 408576698