Bug 227280

Summary: Add support to canvas rendering context lost
Product: WebKit Reporter: Yi Xu <yiyix>
Component: CanvasAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: dino, kbr, sabouhallawa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: FromImplementor, InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Yi Xu 2021-06-22 23:27:16 PDT
explainer: https://github.com/fserb/canvas2D/blob/master/spec/context-loss.md

This is a long standing request from developers. It's particularly useful on Mobile, where context lost is more common. We have discuss the potential to support in canvas and received approval from webkit (https://github.com/whatwg/html/issues/4809#issuecomment-641546468) and firefox (https://github.com/whatwg/html/issues/4809#issuecomment-640961008)
(note that kenrussell's comment at https://github.com/whatwg/html/issues/4809#issuecomment-698018630 explains why we need both context lost and context restored events ).

I am filling this implementation bug for firefox to support it in the future.
Comment 1 Radar WebKit Bug Importer 2021-06-29 23:28:15 PDT
<rdar://problem/79952128>