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

Unified Diff: LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-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-iframe.html
diff --git a/LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-iframe.html b/LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..b063dea5e64f5759ea693a054f01ba8a3a3e79da
--- /dev/null
+++ b/LayoutTests/http/tests/navigation/resources/new-window-sandboxed-iframe-iframe.html
@@ -0,0 +1,7 @@
+<script>
+window.onload = function() {
+ document.getElementById("a").click();
+};
+</script>
+<a id="a" href="new-window-sandboxed-iframe-destination.html" target="_blank"></a>
+

Powered by Google App Engine
This is Rietveld 408576698