Skip to content

Commit

Permalink
Bug 1723137: Create a shared module for PDF creation. r=whimboo,webdr…
Browse files Browse the repository at this point in the history
…iver-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D143449
  • Loading branch information
lutien committed Apr 12, 2022
1 parent 928ea58 commit ad907ed
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions remote/jar.mn
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion remote/marionette/driver.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 0 additions & 1 deletion remote/marionette/jar.mn
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion remote/marionette/reftest.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
});

Expand Down
4 changes: 1 addition & 3 deletions remote/marionette/print.js → remote/shared/PDF.jsm
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit ad907ed

Please sign in to comment.