Release Note Request (optional, but appreciated) [Why is this notable]: Allows content authors using Canvas2D to recovery gracefully from a GPU process crash by listening for contextlost and contextrestored events. [Affects Firefox for Android]: Yes [Suggested wording]: Added support for [contextlost](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/contextlost_event) and [contextrestored](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/contextrestored_event) on HTMLCanvasElement and OffscreenCanvas to allow user code to recover from context loss with hardware accelerated 2d canvas. [Links (documentation, blog post, etc)]: https://html.spec.whatwg.org/multipage/webappapis.html#context-lost-steps
Bug 1887729 Comment 11 Edit History
Note: The actual edited comment in the bug view page will always show the original commenter’s name and original timestamp.
Release Note Request (optional, but appreciated) [Why is this notable]: Allows content authors using Canvas2D to recovery gracefully from a GPU process crash by listening for contextlost and contextrestored events. [Affects Firefox for Android]: Yes [Suggested wording]: Added support for [contextlost](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/contextlost_event) and [contextrestored](https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement/contextrestored_event) events on HTMLCanvasElement and OffscreenCanvas to allow user code to recover from context loss with hardware accelerated 2d canvas. [Links (documentation, blog post, etc)]: https://html.spec.whatwg.org/multipage/webappapis.html#context-lost-steps