Bug 1313865 - Remove unused logger; r?maja_zf draft
authorAndreas Tolfsen <ato@mozilla.com>
Mon, 31 Oct 2016 22:11:39 +0000
changeset 437156 6ea956317651e4d137dcd90d0b6d258aaa92f99e
parent 437155 2a4e1b3f3a669e8d11a0e49b2d3973f411a9c780
child 437157 aba69c524650c8a00f5fafcbe16ca99ded962466
push id35357
push userbmo:ato@mozilla.com
push dateThu, 10 Nov 2016 15:56:31 +0000
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",