Bug 981856. Mark some B2G WebGL tests as succeeding.

CLOSED TREE

--HG--
extra : rebase_source : b04f991980c63c44973df8be7e44c7e2c5e812e0
This commit is contained in:
Jeff Muizelaar 2014-03-14 17:38:16 -04:00
parent c71cbaa650
commit 495eb5ed21
3 changed files with 2 additions and 10 deletions

View File

@ -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;

View File

@ -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.');

View File

@ -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);