mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-04 22:25:50 +02:00
Merge pull request #21529 from Snuffleupagus/SignaturePropertiesManager-geckoview
[GeckoView] Add `web-digital_signature_properties_manager` import map (PR 21247 follow-up)
This commit is contained in:
commit
44ae5b0e9a
@ -263,9 +263,6 @@ class SignaturePropertiesManager {
|
||||
if (!pdfDocument) {
|
||||
return;
|
||||
}
|
||||
this.#signatures = [];
|
||||
this.#results.clear();
|
||||
this.#pendingVerify.clear();
|
||||
this.#isLoading = true;
|
||||
this.#render();
|
||||
|
||||
@ -274,7 +271,6 @@ class SignaturePropertiesManager {
|
||||
signatures = await pdfDocument.getSignatures();
|
||||
} catch (ex) {
|
||||
console.warn("getSignatures failed:", ex);
|
||||
signatures = [];
|
||||
}
|
||||
if (pdfDocument !== this.#pdfDocument) {
|
||||
return;
|
||||
|
||||
@ -88,6 +88,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
||||
"web-print_service": "./pdf_print_service.js",
|
||||
"web-secondary_toolbar": "./stubs-geckoview.js",
|
||||
"web-signature_manager": "./stubs-geckoview.js",
|
||||
"web-digital_signature_properties_manager": "./digital_signature_properties_manager.js",
|
||||
"web-toolbar": "./toolbar-geckoview.js",
|
||||
"web-views_manager": "./stubs-geckoview.js"
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user