Closed
Bug 1747744
Opened 3 years ago
Closed 3 years ago
Requesting a CanvasRenderingContext2D from an OffscreenCanvas.getContext results in an error.
Categories
(Core :: Graphics: Canvas2D, defect)
Core
Graphics: Canvas2D
Tracking
()
RESOLVED
DUPLICATE
of bug 1746750
People
(Reporter: patrick.martin.r, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0
Steps to reproduce:
let a = new OffscreenCanvas(1,1);
let b = a.getContext("2d");
Actual results:
Uncaught TypeError: OffscreenCanvas.getContext: '2d' (value of argument 1) is not a valid value for enumeration OffscreenRenderingContextId.
Expected results:
A CanvasRenderingContext2D should be created and b should be set to it.
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Canvas: 2D' component, and is moving the bug to that component. Please revert this change in case you think the bot is wrong.
Component: Untriaged → Canvas: 2D
Product: Firefox → Core
Updated•3 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•