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

Unified Diff: third_party/WebKit/LayoutTests/http/tests/security/cross-frame-access-parent-explicit-domain-isolated-world.html

Issue 2694013005: Cleanup blink-side PlzNavigate logic (Closed)
Patch Set: Rebase Created 3 years, 9 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/cross-frame-access-parent-explicit-domain-isolated-world.html
diff --git a/third_party/WebKit/LayoutTests/http/tests/security/cross-frame-access-parent-explicit-domain-isolated-world.html b/third_party/WebKit/LayoutTests/http/tests/security/cross-frame-access-parent-explicit-domain-isolated-world.html
index ed1fbd3595d2161963871055b4d2edd15e087eb7..c4d27d989a8d4fdb59e077de2df46863ea28a734 100644
--- a/third_party/WebKit/LayoutTests/http/tests/security/cross-frame-access-parent-explicit-domain-isolated-world.html
+++ b/third_party/WebKit/LayoutTests/http/tests/security/cross-frame-access-parent-explicit-domain-isolated-world.html
@@ -25,11 +25,13 @@ if (document.location.hostname == '127.0.0.1') {
}
});
- testRunner.setIsolatedWorldSecurityOrigin(2, 'chrome-extension://123');
- var iframe = document.getElementsByTagName('iframe')[0];
- iframe.focus();
- document.domain = 'example.test';
- iframe.src = 'http://subdomain.example.test:8000/security/resources/cross-frame-iframe-for-parent-isolated-world.html';
+ window.onload = function() {
+ testRunner.setIsolatedWorldSecurityOrigin(2, 'chrome-extension://123');
+ var iframe = document.getElementsByTagName('iframe')[0];
+ iframe.focus();
+ document.domain = 'example.test';
+ iframe.src = 'http://subdomain.example.test:8000/security/resources/cross-frame-iframe-for-parent-isolated-world.html';
+ }
} else {
testFailed('Test depends on LayoutTestController and must be run by DRT');
}

Powered by Google App Engine
This is Rietveld 408576698