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

Unified Diff: LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-destination-iframe.html

Issue 967423005: <iframe sandbox> should inherit through <a target='_blank'>. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix. Created 5 years, 10 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: LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-destination-iframe.html
diff --git a/LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-destination-iframe.html b/LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-destination-iframe.html
index a871b15c5fb72a510a946e4b50fbbb1b435e2795..8bd1643cacb3a0b16d21434da12e0d978a60ab76 100644
--- a/LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-destination-iframe.html
+++ b/LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-destination-iframe.html
@@ -1,6 +1,12 @@
<script>
window.onload = function() {
- document.getElementById("a").click();
+ setTimeout(function() {
+ if (window.testRunner)
+ testRunner.notifyDone();
+ }, 0);
};
</script>
<a id="a" href="notify-done.html" target="_top">Click here</a>
+<script>
+ document.getElementById("a").click();
+</script>

Powered by Google App Engine
This is Rietveld 408576698