Open Bug 1969390 Opened 6 months ago Updated 3 months ago

createImageBitmap(Blob) decodes images on the main thread

Categories

(Core :: Graphics: Canvas2D, defect)

Firefox 138
defect

Tracking

()

UNCONFIRMED

People

(Reporter: numnumpenguin, Unassigned, NeedInfo)

References

(Depends on 1 open bug)

Details

Attachments

(1 file)

Steps to reproduce:

I called createImageBitmap() passing in Blob of an image

Actual results:

The image was decoded on the main thread.

Expected results:

The image should have been decoded on a worker thread.
Calling this with many large images significantly blocks the main thread.
Doing the same operations in Chromium-based browsers passes the image decoding to worker threads.
Seems this has been an issue for at least a year:
https://www.reddit.com/r/webdev/comments/1d4sqhk/firefox_refuses_to_run_createimagebitmap_on_a/

Component: Untriaged → Graphics: Canvas2D
Product: Firefox → Core

Lee, do you know if we are tracking this somewhere else (I couldn't find another relevant bug)?

Flags: needinfo?(lsalzman)

I don't know if we have a bug for this specific issue Timothy, Andrew?

Flags: needinfo?(tnikkel)
Flags: needinfo?(lsalzman)
Flags: needinfo?(aosmond)
Severity: -- → S3
Depends on: 1778394
Flags: needinfo?(tnikkel)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: