Closed Bug 1773846 Opened 3 years ago Closed 3 years ago

Add an async dispatch function in the PDF.js sandbox

Categories

(Firefox :: PDF Viewer, task)

task

Tracking

()

RESOLVED FIXED
103 Branch
Tracking Status
firefox103 --- fixed

People

(Reporter: calixte, Assigned: calixte)

Details

Attachments

(1 file)

A pdf can trigger a WillPrint event and we need to wait for it in order to start printing.
So we need to have something like:
https://searchfox.org/mozilla-central/rev/5cd470f99067e8a92a7d5edbf0fe2026491f5aca/toolkit/components/pdfjs/content/PdfStreamConverter.jsm#316
but in an async way.

Pushed by cdenizet@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9266d44b1965 Add an async function to dispatch an event in the pdf.js sandbox r=pdfjs-reviewers,marco
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 103 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: