lost property
JSPromise<GPUDeviceLostInfo>
get
lost
Resolves when the device is gone — the tab lost its GPU, or something called destroy.
Never rejects, so a listener on it is a listener and not an error path. Read by whoever wants to tear the renderer down rather than let every subsequent call fail one at a time.
Implementation
external JSPromise<GPUDeviceLostInfo> get lost;