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

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

Issue 208853004: Don't propagate sandbox flags to an opened window unless triggered entirely by script. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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: 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
new file mode 100644
index 0000000000000000000000000000000000000000..a871b15c5fb72a510a946e4b50fbbb1b435e2795
--- /dev/null
+++ b/LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-destination-iframe.html
@@ -0,0 +1,6 @@
+<script>
+window.onload = function() {
+ document.getElementById("a").click();
+};
+</script>
+<a id="a" href="notify-done.html" target="_top">Click here</a>

Powered by Google App Engine
This is Rietveld 408576698