Name Description Size Coverage
build -
embedFallback.css 703 -
embedFallback.html 1203 -
GeckoViewPdfJsChild.sys.mjs 1593 -
GeckoViewPdfJsParent.sys.mjs 9162 -
PdfEmbedFallbackParent.sys.mjs Returns the window global that embeds aFallback, or null unless aFallback is in an object/embed element with an unprivileged embedder principal. A compromised content process can send the message for any frame it hosts. Only the process containing the embedder may set embedderElementType, and privileged embedder principals are rejected. @param {WindowGlobalParent} aFallback the window displaying the fallback page. @returns {WindowGlobalParent|null} 2719 -
PdfEmbedFallbackStreamConverter.sys.mjs Asks the parent process to reopen the PDF. A cross-site fallback process cannot initiate a load with the embedding page's principal, so the parent derives the URI and principal from the browsing context. The original referrer is forwarded. The fallback retains no PDF bytes, so opening it starts a new request that may return different content. The retry is a frame load checked by frame-src rather than object-src; the fallback converter handles only object loads. @param {Window} domWindow the window displaying the fallback page. @param {nsIReferrerInfo|null} referrerInfo the original request's referrer. 10686 -
PdfJs.sys.mjs 7216 -
PdfJsAIFeature.sys.mjs Returns the engine identifier for the PDF.js alt-text feature. @returns {string} 4979 -
PdfJsChild.sys.mjs 1616 -
PdfJsContextMenu.sys.mjs 4660 -
PdfJsNetwork.sys.mjs 5383 -
PdfJsParent.sys.mjs Validate the shape of a `verifyPdfSignature` IPC payload before forwarding bytes to `nsIX509CertDB.asyncVerifyPKCS7Object`. @param {*} data Content-supplied object. @returns {boolean} `true` if the payload is a `{pkcs7, data, signatureType}` triple with non-empty `Uint8Array` `pkcs7`, a non-empty `Uint8Array[]` `data`, and `signatureType ∈ {0, 1}`. Exported for unit tests. @internal 27998 -
PdfJsTelemetry.sys.mjs 9330 -
PdfSandbox.sys.mjs 2407 -
PdfStreamConverter.sys.mjs 44128 -
web -