Bug 1313865 - Remove unused logger; r=maja_zf
authorAndreas Tolfsen <ato@mozilla.com>
Mon, 31 Oct 2016 22:11:39 +0000
changeset 348678 0172122a6c430b57cbf1044314198b40334af838
parent 348677 9455d3577d5be5e010424f06b6c6435bf347f39c
child 348679 f8081bbfdf4ed9456964e2e77400137a12e0300c
push id10298
push userraliiev@mozilla.com
push dateMon, 14 Nov 2016 12:33:03 +0000
treeherdermozilla-aurora@7e29173b1641 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmaja_zf
bugs1313865
milestone52.0a1
Bug 1313865 - Remove unused logger; r=maja_zf MozReview-Commit-ID: H208URxkUkV
testing/marionette/action.js
--- a/testing/marionette/action.js
+++ b/testing/marionette/action.js
@@ -1,26 +1,22 @@
 /* This Source Code Form is subject to the terms of the Mozilla Public
  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
  * You can obtain one at http://mozilla.org/MPL/2.0/. */
 
 "use strict";
 
 const {classes: Cc, interfaces: Ci, utils: Cu} = Components;
 
-Cu.import("resource://gre/modules/Log.jsm");
-
+Cu.import("chrome://marionette/content/assert.js");
 Cu.import("chrome://marionette/content/element.js");
 Cu.import("chrome://marionette/content/error.js");
 
-
 this.EXPORTED_SYMBOLS = ["action"];
 
-const logger = Log.repository.getLogger("Marionette");
-
 // TODO? With ES 2016 and Symbol you can make a safer approximation
 // to an enum e.g. https://gist.github.com/xmlking/e86e4f15ec32b12c4689
 /**
  * Implements WebDriver Actions API: a low-level interfac for providing
  * virtualised device input to the web browser.
  */
 this.action = {
   Pause: "pause",