Closed Bug 1987782 Opened 5 months ago Closed 2 months ago

PDF.js regression: unable to decode image when Resist Fingerprinting (RFP) is enabled

Categories

(Core :: Privacy: Anti-Tracking, defect, P3)

Firefox 142
defect

Tracking

()

RESOLVED DUPLICATE of bug 1977576

People

(Reporter: firefoxbugs, Unassigned)

Details

Attachments

(1 file)

Attached file example file

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:142.0) Gecko/20100101 Firefox/142.0

Steps to reproduce:

  1. Enable Resist Fingerprinting (RFP) (In about:config set privacy.resistFingerprinting to true.)
  2. Load the attached PDF file.

Actual results:

The picture in the PDF file does not appear.

Expected results:

Pictures should appear, as they did in Firefox 141 and earlier. This regression appears as early as 142.0b1.
The relevant console warning is this:
Warning: Unable to decode image "img_p0_1": "DataCloneError: DedicatedWorkerGlobalScope.postMessage: invalid transferable array for structured clone". pdf.worker.mjs:327:13

The Bugbug bot thinks this bug should belong to the 'Core::Privacy: Anti-Tracking' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Privacy: Anti-Tracking
Product: Firefox → Core
Severity: -- → S3
Priority: -- → P3

2025-08-13-09-10-44, still broken --> https://hg.mozilla.org/mozilla-central/rev/6c51cabb2e48997969eb68ba245067238fbe46ec --> 782b850cc3fcf5c2be804914975488dc56c53db5 on git
2025-08-13-21-49-47, fixed --> https://hg.mozilla.org/mozilla-central/rev/968f84606bec92dde86792ba14b542a0594c5dcf --> 16b54290d0fee11b69885d31ff0188c8ff81e330 on git
I'm going to bisect locally.

It seems the fix was 385990abc503da33309bbf047f9ed4880fe289c0, i.e., Bug 1977576.

Status: UNCONFIRMED → RESOLVED
Closed: 2 months ago
Duplicate of bug: 1977576
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: