Bug 1387678 - Correct import of pprint in Marionette listener; r?ato draft
authorDavid Burns <dburns@mozilla.com>
Wed, 09 May 2018 09:16:19 +0100
changeset 798697 3232cba6214275ec5e8fe602e357e36c62b54c80
parent 798696 8b281086e538fa96155c9e9844abee7a86ec0a59
child 798698 d27b61a12cc507a5309e8d65b131452072c44471
push id110828
push userbmo:dburns@mozilla.com
push dateWed, 23 May 2018 10:39:43 +0000
reviewersato
bugs1387678
milestone62.0a1
Bug 1387678 - Correct import of pprint in Marionette listener; r?ato MozReview-Commit-ID: Jik6n0CDYk2
testing/marionette/listener.js
--- a/testing/marionette/listener.js
+++ b/testing/marionette/listener.js
@@ -24,24 +24,23 @@ const {
 } = ChromeUtils.import("chrome://marionette/content/element.js", {});
 const {
   ElementNotInteractableError,
   InsecureCertificateError,
   InvalidArgumentError,
   InvalidSelectorError,
   NoSuchElementError,
   NoSuchFrameError,
-  pprint,
   TimeoutError,
   UnknownError,
 } = ChromeUtils.import("chrome://marionette/content/error.js", {});
 ChromeUtils.import("chrome://marionette/content/evaluate.js");
 ChromeUtils.import("chrome://marionette/content/event.js");
 const {ContentEventObserverService} = ChromeUtils.import("chrome://marionette/content/dom.js", {});
-const {truncate} = ChromeUtils.import("chrome://marionette/content/format.js", {});
+const {pprint, truncate} = ChromeUtils.import("chrome://marionette/content/format.js", {});
 ChromeUtils.import("chrome://marionette/content/interaction.js");
 ChromeUtils.import("chrome://marionette/content/legacyaction.js");
 ChromeUtils.import("chrome://marionette/content/navigate.js");
 ChromeUtils.import("chrome://marionette/content/proxy.js");
 ChromeUtils.import("chrome://marionette/content/session.js");
 
 Cu.importGlobalProperties(["URL"]);