diff --git a/source b/source index ce00c5b4e9b..b7497f664af 100644 --- a/source +++ b/source @@ -66769,9 +66769,13 @@ interface OffscreenCanvas : EventTarget { attribute EventHandler oncontextrestored; }; -
OffscreenCanvas
is an EventTarget
so that WebGL can
- fire webglcontextlost
and webglcontextrestored
- events at it.
OffscreenCanvas
is an EventTarget
, so both
+ OffscreenCanvasRenderingContext2D
and WebGL can fire events at it.
+ OffscreenCanvasRenderingContext2D
can fire contextlost
and contextrestored
, and WebGL can fire webglcontextlost
and webglcontextrestored
.
OffscreenCanvas
objects are used to create rendering contexts, much like an
HTMLCanvasElement
, but with no connection to the DOM. This makes it possible to