If you think a bug might affect users in the 57 release, please set the correct tracking and status flags for Release Management.

Canvas needs a suitable mock object

RESOLVED INVALID

Status

Skywriter
General
P2
enhancement
RESOLVED INVALID
8 years ago
7 years ago

People

(Reporter: pcwalton, Unassigned)

Tracking

Details

(Reporter)

Description

8 years ago
We should have some sort of mock object for canvas contexts, for unit tests. At the very least it should make sure that save() and restore() are properly bracketed and that the state stack is clear at the end: I've lost lots of time to this one. Other possibilities include warning when lots of off-canvas drawing is occurring, to suggest optimization, perhaps?
(Reporter)

Updated

8 years ago
Depends on: 548655
(Reporter)

Updated

7 years ago
Assignee: pwalton → nobody
Status: ASSIGNED → NEW
(Reporter)

Comment 1

7 years ago
ACE doesn't use canvas, so this is now obsolete.
Status: NEW → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.