mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-07-05 22:55:49 +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) {
|
if (!pdfDocument) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.#signatures = [];
|
|
||||||
this.#results.clear();
|
|
||||||
this.#pendingVerify.clear();
|
|
||||||
this.#isLoading = true;
|
this.#isLoading = true;
|
||||||
this.#render();
|
this.#render();
|
||||||
|
|
||||||
@ -274,7 +271,6 @@ class SignaturePropertiesManager {
|
|||||||
signatures = await pdfDocument.getSignatures();
|
signatures = await pdfDocument.getSignatures();
|
||||||
} catch (ex) {
|
} catch (ex) {
|
||||||
console.warn("getSignatures failed:", ex);
|
console.warn("getSignatures failed:", ex);
|
||||||
signatures = [];
|
|
||||||
}
|
}
|
||||||
if (pdfDocument !== this.#pdfDocument) {
|
if (pdfDocument !== this.#pdfDocument) {
|
||||||
return;
|
return;
|
||||||
|
|||||||
@ -88,6 +88,7 @@ See https://github.com/adobe-type-tools/cmap-resources
|
|||||||
"web-print_service": "./pdf_print_service.js",
|
"web-print_service": "./pdf_print_service.js",
|
||||||
"web-secondary_toolbar": "./stubs-geckoview.js",
|
"web-secondary_toolbar": "./stubs-geckoview.js",
|
||||||
"web-signature_manager": "./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-toolbar": "./toolbar-geckoview.js",
|
||||||
"web-views_manager": "./stubs-geckoview.js"
|
"web-views_manager": "./stubs-geckoview.js"
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user