webgl: Add stub isContextLost API.

This commit is contained in:
Josh Matthews 2020-07-03 12:22:48 -04:00
parent 745eb88e32
commit 795560ad52
7 changed files with 17 additions and 24 deletions

View file

@ -470,8 +470,7 @@ interface mixin WebGLRenderingContextBase
readonly attribute GLsizei drawingBufferHeight;
[WebGLHandlesContextLoss] WebGLContextAttributes? getContextAttributes();
// FIXME: https://github.com/servo/servo/issues/15266
// [WebGLHandlesContextLoss] boolean isContextLost();
[WebGLHandlesContextLoss] boolean isContextLost();
sequence<DOMString>? getSupportedExtensions();
object? getExtension(DOMString name);