Name Description Size Coverage
build -
embedFallback.css 703 -
embedFallback.html 1203 -
GeckoViewPdfJsChild.sys.mjs 1593 -
GeckoViewPdfJsParent.sys.mjs 10363 -
PdfEmbedFallbackParent.sys.mjs Returns aFallback's embedding page if it uses a supported element and has a content or null principal. Only the embedding process can set the element type and embedder window ID. @param {WindowGlobalParent} aFallback the actor's sending window. @returns {WindowGlobalParent|null} 2248 -
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 starts a new request. The retry is not an attribute-triggered load, so this converter declines it. @param {Window} domWindow the window displaying the fallback page. @param {nsIReferrerInfo|null} referrerInfo the original request's referrer. 10151 -
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 28288 -
PdfJsPrint.sys.mjs Print `target` to a PDF and return its bytes. @param {CanonicalBrowsingContext} viewer - the pdf.js viewer's browsing context (the actor's own context), used to authenticate `target`. @param {CanonicalBrowsingContext} target - the hidden iframe, owned by `viewer`, holding the content to print. @param {number} width - the paper width, in inches. @param {number} height - the paper height, in inches. @returns {Promise<ArrayBuffer|null>} the PDF bytes, or null if validation fails or printing produces no usable output. 6217 -
PdfJsTelemetry.sys.mjs 9330 -
PdfJsVersion.sys.mjs 319 -
PdfSandbox.sys.mjs 2439 -
PdfStreamConverter.sys.mjs 51391 -
web -