Closed
Bug 1747476
Opened 2 years ago
Closed 2 years ago
Properly handle resizing on HTMLCanvasElement/OffscreenCanvas
Categories
(Core :: Graphics: WebRender, defect, P3)
Core
Graphics: WebRender
Tracking
()
RESOLVED
FIXED
97 Branch
Tracking | Status | |
---|---|---|
firefox97 | --- | fixed |
People
(Reporter: aosmond, Assigned: aosmond)
References
Details
Attachments
(1 file)
When we use HTMLCanvasElement.transferControlToOffscreen
, how the width and height is handled is different. We should be throwing clear invalid state errors for the placeholders for the callers. This impacts WPTs:
Assignee | ||
Comment 1•2 years ago
|
||
When we attempt to resize an OffscreenCanvas, or an HTMLCanvasElement
with transferControlToOffscreen caled on it, we need to ensure we throw
the right error, and a message that is clear to the user. We also need
to propogate size changes to the placeholder
HTMLCanvasElement/OffscreenCanvas, when the OffscreenCanvas object on
the worker thread has its size changed.
Pushed by aosmond@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/189db961e8ed Fix resizing errors with OffscreenCanvas. r=gfx-reviewers,kvark,mstange
Comment 3•2 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox97:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 97 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•