mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 09:20:06 +02:00
[GeckoView] Bundle the Firefox printing code in the viewer (bug 1810111)
This may not be enough, on its own, to completely fix [bug 1810111](https://bugzilla.mozilla.org/show_bug.cgi?id=1810111) however it's impossible for printing to work in GeckoView without this patch.
This commit is contained in:
parent
0ad5a5551a
commit
e77c7f336d
5 changed files with 67 additions and 3 deletions
|
@ -286,10 +286,9 @@ function createWebpackConfig(
|
|||
for (const key in viewerAlias) {
|
||||
viewerAlias[key] = gvAlias[key] || "web/stubs-geckoview.js";
|
||||
}
|
||||
} else {
|
||||
viewerAlias["web-print_service"] = "web/firefox_print_service.js";
|
||||
}
|
||||
viewerAlias["web-com"] = "web/firefoxcom.js";
|
||||
viewerAlias["web-print_service"] = "web/firefox_print_service.js";
|
||||
}
|
||||
const alias = { ...basicAlias, ...libraryAlias, ...viewerAlias };
|
||||
for (const key in alias) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue