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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-blocked-not-in-suborigin-to-suborigin.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-blocked-not-in-suborigin-to-suborigin.php
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-blocked-not-in-suborigin-to-suborigin.php b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-blocked-not-in-suborigin-to-suborigin.php
index 8eab860745652291c736e971dc2f2a5082253d6b..62d956f255d2ad70de50705223bf2ddbaf1282f8 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-blocked-not-in-suborigin-to-suborigin.php
+++ b/third_party/WebKit/LayoutTests/http/tests/security/suborigins/suborigin-blocked-not-in-suborigin-to-suborigin.php
@@ -1,14 +1,17 @@
<!DOCTYPE html>
<html>
<head>
+<meta charset="utf-8">
<title>Block frame not in suborigin from accessing a frame in a suborigin</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<script>
window.onmessage = function (event) {
- assert_equals(event.data, 'SecurityError: Blocked a frame with origin \"http://127.0.0.1:8000\" from accessing a cross-origin frame.');
- done();
+ assert_equals(event.data, 'SecurityError: Blocked a frame with origin ' +
+ '\"http://127.0.0.1:8000\" from accessing a ' +
+ 'cross-origin frame.');
+ done();
};
</script>
<iframe src="resources/reach-into-iframe.php?childsuborigin=foobar"></iframe>

Powered by Google App Engine
This is Rietveld 408576698