Checks that a GPU status check failure will lose the context. NOTE: This only passes in the test harness because it requires Internals. Test drawArrays. Do five 'safe' drawArrays. PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR Now force failure after the next drawArrays. FAIL gl.isContextLost() should be true. Was false. FAIL gl.getError() should be 37442. Was 0. Test drawElements. Do two 'safe' drawElements. PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR Now force failure after the next drawElements. FAIL gl.isContextLost() should be true. Was false. FAIL gl.getError() should be 37442. Was 0. Test drawArraysInstanced. Do four 'safe' drawArraysInstancedANGLE. PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR Now force failure after the next drawArraysInstancedANGLE. FAIL gl.isContextLost() should be true. Was false. FAIL gl.getError() should be 37442. Was 0. Test drawElementsInstanced. Do seven 'safe' drawElementsInstancedANGLE. PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR PASS gl.isContextLost() is false PASS gl.getError() is gl.NO_ERROR Now force failure after the next drawElementsInstancedANGLE. FAIL gl.isContextLost() should be true. Was false. FAIL gl.getError() should be 37442. Was 0. PASS successfullyParsed is true Some tests failed. TEST COMPLETE