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

Unified Diff: chrome/test/data/webui/print_preview/native_layer_stub.js

Issue 2961773003: Print Preview: Update test to check parameters sent to print() (Closed)
Patch Set: Address comments Created 3 years, 6 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 | « no previous file | chrome/test/data/webui/print_preview/print_preview_tests.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/webui/print_preview/native_layer_stub.js
diff --git a/chrome/test/data/webui/print_preview/native_layer_stub.js b/chrome/test/data/webui/print_preview/native_layer_stub.js
index 23e223ee290476340d88b4fde885a62d231159b4..495d22458ad9b86ca49de5b33263ef04addb4e81 100644
--- a/chrome/test/data/webui/print_preview/native_layer_stub.js
+++ b/chrome/test/data/webui/print_preview/native_layer_stub.js
@@ -98,8 +98,14 @@ cr.define('print_preview', function() {
},
/** @override */
- print: function() {
- this.methodCalled('print');
+ print: function(
+ destination, printTicketStore, cloudPrintInterface, documentInfo) {
+ this.methodCalled('print', {
+ destination: destination,
+ printTicketStore: printTicketStore,
+ cloudPrintInterface: cloudPrintInterface,
+ documentInfo: documentInfo,
+ });
return Promise.resolve();
},
« no previous file with comments | « no previous file | chrome/test/data/webui/print_preview/print_preview_tests.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698