mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 981856. Mark some B2G WebGL tests as succeeding.
CLOSED TREE --HG-- extra : rebase_source : b04f991980c63c44973df8be7e44c7e2c5e812e0
This commit is contained in:
parent
c71cbaa650
commit
495eb5ed21
@ -118,7 +118,8 @@ void main(void) {
|
||||
var elemTestFunc = todo; // We fail on most implementations.
|
||||
var checkGLTestFunc = todo;
|
||||
if (DriverInfo.getDriver() == DriverInfo.DRIVER.ANGLE ||
|
||||
DriverInfo.getOS() == DriverInfo.OS.ANDROID)
|
||||
DriverInfo.getOS() == DriverInfo.OS.ANDROID ||
|
||||
DriverInfo.getOS() == DriverInfo.OS.B2G)
|
||||
{
|
||||
// ANGLE and Android slaves seem to work fine.
|
||||
elemTestFunc = ok;
|
||||
|
@ -27,12 +27,6 @@ function test() {
|
||||
shouldFail = false;
|
||||
}
|
||||
|
||||
if (DriverInfo.getOS() == DriverInfo.OS.B2G) {
|
||||
// We don't run these mochitests on hardware with WebGL-capable hardware yet.
|
||||
shouldSucceed = false;
|
||||
shouldFail = true;
|
||||
}
|
||||
|
||||
var gl = WebGLUtil.getWebGL('c');
|
||||
if (shouldSucceed) {
|
||||
ok(gl, 'Expected WebGL creation to succeed.');
|
||||
|
@ -11,9 +11,6 @@
|
||||
<script>
|
||||
|
||||
var testFunc = ok;
|
||||
if (DriverInfo.getOS() == DriverInfo.OS.B2G) {
|
||||
testFunc = todo;
|
||||
}
|
||||
|
||||
function testContextRetrieval(canvasId, creationId, shouldSucceed) {
|
||||
var canvas = document.getElementById(canvasId);
|
||||
|
Loading…
Reference in New Issue
Block a user