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

Unified Diff: chrome/test/data/iframe_cross_site_print.html

Issue 2496203003: Add printing tests to ensure window.print() works for subframes.
Patch Set: Created 4 years, 1 month 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: chrome/test/data/iframe_cross_site_print.html
diff --git a/chrome/test/data/iframe_cross_site_print.html b/chrome/test/data/iframe_cross_site_print.html
new file mode 100644
index 0000000000000000000000000000000000000000..c6ac68fd284eb60b6dff122e92f7040cbb1b911e
--- /dev/null
+++ b/chrome/test/data/iframe_cross_site_print.html
@@ -0,0 +1,7 @@
+<html><head><title>cross-site iframe test</title></head>
+<body>
+<!-- This only works if the CrossSiteRedirector is running on the embedded test
+ server, and the host_resolver is set up to handle b.com. -->
+<iframe src="/cross-site/b.com/title1.html" id="frame1"></iframe>
+<iframe src="/cross-site/c.com/printing/window_print.html" id="frame2"></iframe>
+</body></html>

Powered by Google App Engine
This is Rietveld 408576698