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

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
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..d857de1078ef9d667c720da40fc4c00329153adc 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
dpapad 2017/06/28 01:28:34 Per styleguide, always use a trailing comma when t
rbpotter 2017/06/28 02:36:27 Done.
+ });
return Promise.resolve();
},

Powered by Google App Engine
This is Rietveld 408576698