mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 05:15:45 +00:00
Bug 766796 followup to deal with lack of WebGL on Mac OS 10.5. No review.
This commit is contained in:
parent
212be4835a
commit
1055e80fc0
@ -16,7 +16,13 @@
|
||||
function testInt64NonFinite(arg) {
|
||||
// We can use a WebGLRenderingContext to test conversion to 64-bit signed
|
||||
// ints edge cases.
|
||||
var gl = $("c").getContext("experimental-webgl");
|
||||
try {
|
||||
var gl = $("c").getContext("experimental-webgl");
|
||||
} catch (ex) {
|
||||
// No WebGL support on MacOS 10.5. Just skip this test
|
||||
todo(false, "WebGL not supported");
|
||||
return;
|
||||
}
|
||||
is(gl.getError(), 0, "Should not start in an error state");
|
||||
|
||||
var b = gl.createBuffer();
|
||||
|
Loading…
Reference in New Issue
Block a user