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

Unified Diff: chrome/test/data/extensions/platform_apps/print_api/test.js

Issue 26678004: Added a browser test of the print preview dialog size for Chrome apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Implemented follow-up review suggestions Created 7 years, 2 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
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_ui.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/platform_apps/print_api/test.js
diff --git a/chrome/test/data/extensions/platform_apps/print_api/test.js b/chrome/test/data/extensions/platform_apps/print_api/test.js
index b041f16e9edf61bc20236abe2f6d7f3eee79b52b..8e9966ee84d6ad24fd5b41c16a2989ea91374ab9 100644
--- a/chrome/test/data/extensions/platform_apps/print_api/test.js
+++ b/chrome/test/data/extensions/platform_apps/print_api/test.js
@@ -4,7 +4,8 @@
chrome.app.runtime.onLaunched.addListener(function() {
chrome.test.getConfig(function(config) {
- chrome.app.window.create('test.html', {}, function(appWindow) {
+ var options = {bounds: {width: 200, height: 100}};
+ chrome.app.window.create('test.html', options, function(appWindow) {
appWindow.contentWindow.onload = function() {
appWindow.contentWindow.print();
chrome.test.notifyPass();
« no previous file with comments | « chrome/browser/ui/webui/print_preview/print_preview_ui.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698