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

@ -1,5 +0,0 @@
[context-lost.html]
bug: https://github.com/servo/servo/issues/15266
[WebGL test #0: gl.isContextLost() should be false. Threw exception TypeError: gl.isContextLost is not a function]
expected: FAIL

View file

@ -1,7 +1,4 @@
[methods.html]
bug: https://github.com/servo/servo/issues/15266
[WebGL test #0: Property either does not exist or is not a function: isContextLost]
expected: FAIL
[WebGL test #1: Also found the following extra methods:]
expected: FAIL
[WebGL test #2: makeXRCompatible]

View file

@ -1,5 +0,0 @@
[methods.html]
bug: https://github.com/servo/servo/issues/15266
[WebGL test #0: testOES20Methods]
expected: FAIL

View file

@ -1,22 +1,19 @@
[methods-2.html]
[WebGL test #1: Property either does not exist or is not a function: blitFramebuffer]
[WebGL test #0: Property either does not exist or is not a function: blitFramebuffer]
expected: FAIL
[WebGL test #4: Property either does not exist or is not a function: copyTexSubImage3D]
[WebGL test #3: Property either does not exist or is not a function: copyTexSubImage3D]
expected: FAIL
[WebGL test #5: Property either does not exist or is not a function: compressedTexImage3D]
[WebGL test #4: Property either does not exist or is not a function: compressedTexImage3D]
expected: FAIL
[WebGL test #2: Property either does not exist or is not a function: texImage3D]
[WebGL test #1: Property either does not exist or is not a function: texImage3D]
expected: FAIL
[WebGL test #3: Property either does not exist or is not a function: texSubImage3D]
[WebGL test #2: Property either does not exist or is not a function: texSubImage3D]
expected: FAIL
[WebGL test #6: Property either does not exist or is not a function: compressedTexSubImage3D]
expected: FAIL
[WebGL test #0: Property either does not exist or is not a function: isContextLost]
[WebGL test #5: Property either does not exist or is not a function: compressedTexSubImage3D]
expected: FAIL