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:
calixteman 2026-07-03 08:13:08 +02:00 committed by GitHub
commit 44ae5b0e9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

View File

@ -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;

View File

@ -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"
}