diff --git a/remote/jar.mn b/remote/jar.mn index b799211bfc3c5..a97c7e1488c96 100644 --- a/remote/jar.mn +++ b/remote/jar.mn @@ -17,6 +17,7 @@ remote.jar: content/shared/Log.jsm (shared/Log.jsm) content/shared/MobileTabBrowser.jsm (shared/MobileTabBrowser.jsm) content/shared/Navigate.jsm (shared/Navigate.jsm) + content/shared/PDF.jsm (shared/PDF.jsm) content/shared/RecommendedPreferences.jsm (shared/RecommendedPreferences.jsm) content/shared/Stack.jsm (shared/Stack.jsm) content/shared/Sync.jsm (shared/Sync.jsm) diff --git a/remote/marionette/driver.js b/remote/marionette/driver.js index 05f50b4abd423..a4b935e8bd4c5 100644 --- a/remote/marionette/driver.js +++ b/remote/marionette/driver.js @@ -43,7 +43,7 @@ XPCOMUtils.defineLazyModuleGetters(this, { permissions: "chrome://remote/content/marionette/permissions.js", PollPromise: "chrome://remote/content/marionette/sync.js", pprint: "chrome://remote/content/shared/Format.jsm", - print: "chrome://remote/content/marionette/print.js", + print: "chrome://remote/content/shared/PDF.jsm", reftest: "chrome://remote/content/marionette/reftest.js", registerCommandsActor: "chrome://remote/content/marionette/actors/MarionetteCommandsParent.jsm", diff --git a/remote/marionette/jar.mn b/remote/marionette/jar.mn index 0c5b7810371d1..bbd1d09f6542e 100644 --- a/remote/marionette/jar.mn +++ b/remote/marionette/jar.mn @@ -33,7 +33,6 @@ remote.jar: content/marionette/packets.js (packets.js) content/marionette/permissions.js (permissions.js) content/marionette/prefs.js (prefs.js) - content/marionette/print.js (print.js) content/marionette/reftest.js (reftest.js) content/marionette/reftest.xhtml (chrome/reftest.xhtml) content/marionette/reftest-content.js (reftest-content.js) diff --git a/remote/marionette/reftest.js b/remote/marionette/reftest.js index 8fb552088d83d..f635e4d872009 100644 --- a/remote/marionette/reftest.js +++ b/remote/marionette/reftest.js @@ -19,7 +19,7 @@ XPCOMUtils.defineLazyModuleGetters(this, { capture: "chrome://remote/content/marionette/capture.js", Log: "chrome://remote/content/shared/Log.jsm", navigate: "chrome://remote/content/marionette/navigate.js", - print: "chrome://remote/content/marionette/print.js", + print: "chrome://remote/content/shared/PDF.jsm", windowManager: "chrome://remote/content/shared/WindowManager.jsm", }); diff --git a/remote/marionette/print.js b/remote/shared/PDF.jsm similarity index 98% rename from remote/marionette/print.js rename to remote/shared/PDF.jsm index 1c3c50b9b2af3..c9d859f91f645 100644 --- a/remote/marionette/print.js +++ b/remote/shared/PDF.jsm @@ -18,9 +18,7 @@ XPCOMUtils.defineLazyModuleGetters(this, { Log: "chrome://remote/content/shared/Log.jsm", }); -XPCOMUtils.defineLazyGetter(this, "logger", () => - Log.get(Log.TYPES.MARIONETTE) -); +XPCOMUtils.defineLazyGetter(this, "logger", () => Log.get()); this.print = { maxScaleValue: 2.0,