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

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

Issue 2969383003: Print Preview: Finish removing global Javascript functions. (Closed)
Patch Set: Move listener addition Created 3 years, 5 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/print_preview_destination_search_test.js
diff --git a/chrome/test/data/webui/print_preview/print_preview_destination_search_test.js b/chrome/test/data/webui/print_preview/print_preview_destination_search_test.js
index e5ea6e424ac0c8542c4a0d93e3c766b031a1ca9b..c2db414fe7518eec2ba41662193837e5a3df78bc 100644
--- a/chrome/test/data/webui/print_preview/print_preview_destination_search_test.js
+++ b/chrome/test/data/webui/print_preview/print_preview_destination_search_test.js
@@ -126,11 +126,6 @@ TEST_F('PrintPreviewDestinationSearchTest', 'Select', function() {
setup(function() {
Mock4JS.clearMocksToVerify();
dpapad 2017/07/07 21:12:41 Can we delete this now? Or is it still used?
rbpotter 2017/07/07 23:58:39 Done. Appears there are no other mocks. Also remo
nativeLayer_ = new print_preview.NativeLayerStub();
- var nativeLayerEventTarget = mock(cr.EventTarget);
- nativeLayer_.setEventTarget(nativeLayerEventTarget.proxy());
- nativeLayerEventTarget.expects(atLeastOnce())
- .addEventListener(ANYTHING, ANYTHING, ANYTHING);
-
invitationStore_ = new print_preview.InvitationStore();
destinationStore_ = new print_preview.DestinationStore(
nativeLayer_, new print_preview.UserInfo(),

Powered by Google App Engine
This is Rietveld 408576698