Open
Bug 1969390
Opened 6 months ago
Updated 3 months ago
createImageBitmap(Blob) decodes images on the main thread
Categories
(Core :: Graphics: Canvas2D, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: numnumpenguin, Unassigned, NeedInfo)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
|
118.15 KB,
image/png
|
Details |
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/
Updated•6 months ago
|
Component: Untriaged → Graphics: Canvas2D
Product: Firefox → Core
Comment 1•6 months ago
|
||
Lee, do you know if we are tracking this somewhere else (I couldn't find another relevant bug)?
Flags: needinfo?(lsalzman)
Comment 2•6 months ago
|
||
I don't know if we have a bug for this specific issue Timothy, Andrew?
Flags: needinfo?(tnikkel)
Flags: needinfo?(lsalzman)
Flags: needinfo?(aosmond)
Updated•5 months ago
|
Severity: -- → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•