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

Unified Diff: content/test/data/download/iframe-host.html

Issue 2131423003: [Downloads] Add a browser test for <a download> with cross origin iframe. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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: content/test/data/download/iframe-host.html
diff --git a/content/test/data/download/iframe-host.html b/content/test/data/download/iframe-host.html
new file mode 100644
index 0000000000000000000000000000000000000000..0c9b45424c9cdc9c6326be0f2c5ebd0eda49c25a
--- /dev/null
+++ b/content/test/data/download/iframe-host.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<html>
+ <body>
+ <iframe id="frame"></iframe>
+ <script>
+var iframeElement = document.querySelector('#frame');
+url = window.location.href;
+iframeElement.src = url.substr(url.indexOf('=') + 1);
+ </script>
+ </body>
+</html>
« no previous file with comments | « content/browser/download/download_browsertest.cc ('k') | content/test/data/download/iframe-host.html.mock-http-headers » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698