summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test/data
diff options
context:
space:
mode:
authorgrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-27 19:37:56 +0000
committergrt@chromium.org <grt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-27 19:37:56 +0000
commit39758c0c0f000edddc97dbcad01f7ee14560d303 (patch)
treeb2e9b2301adf22bff61eb3e42a8bb77d55464cf2 /chrome_frame/test/data
parentd14ca89275628f1133374fbba2bdbfc91f0732ab (diff)
downloadchromium_src-39758c0c0f000edddc97dbcad01f7ee14560d303.zip
chromium_src-39758c0c0f000edddc97dbcad01f7ee14560d303.tar.gz
chromium_src-39758c0c0f000edddc97dbcad01f7ee14560d303.tar.bz2
Merge 121891 - Disable Chrome's print preview in Chrome Frame.
BUG=95568 TEST=do something on a page that calls window.print(); expect IE's print dialog to appear. should be covered by new test in chrome_frame_tests.exe. Review URL: http://codereview.chromium.org/9350044 TBR=grt@chromium.org Review URL: https://chromiumcodereview.appspot.com/9475014 git-svn-id: svn://svn.chromium.org/chrome/branches/1025/src@123785 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test/data')
-rw-r--r--chrome_frame/test/data/window_print.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome_frame/test/data/window_print.html b/chrome_frame/test/data/window_print.html
new file mode 100644
index 0000000..e93f0e4
--- /dev/null
+++ b/chrome_frame/test/data/window_print.html
@@ -0,0 +1,6 @@
+<html>
+ <head><title>window.print</title></head>
+ <body onload='window.setTimeout("window.print();", 0);'>
+ <p>The native print dialog should appear.</p>
+ </body>
+</html>