Find
C
ase-sensitive
R
egexp search
Path
Showing
ca47ec6b
from
2026-05-16
:
Bug
2040132
- Update PDF.js to d27b9ab5fa3ee8b1197ef45c6e929968ca307aee r=pdfjs-reviewers,calixte
firefox-main
/
toolkit
/
components
/
promiseworker
/
worker
Navigation
Enable keyboard shortcuts
Name
Description
Size
Coverage
GeneratePromiseWorkerScript.py
2084
-
moz.build
625
-
PromiseWorker.template.worker.js
A wrapper around `self` with extended capabilities designed to simplify main thread-to-worker thread asynchronous function calls. This wrapper: - groups requests and responses as a method `post` that returns a `Promise`; - ensures that exceptions thrown on the worker thread are correctly serialized; - provides some utilities for benchmarking various operations. Generally, you should use PromiseWorker.js or PromiseWorker.mjs along with its main thread-side counterpart PromiseWorker.sys.mjs.
8572
-