blob: 242018a76823783cf8269de620d878dbd237f005 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
/* Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ */
/**
* Tests if a WebGL front can be created for a remote tab target.
*/
function* ifWebGLSupported() {
let { target, front } = yield initBackend(SIMPLE_CANVAS_URL);
ok(target, "Should have a target available.");
ok(front, "Should have a protocol front available.");
yield removeTab(target.tab);
finish();
}
|