mirror of
https://github.com/roytam1/palemoon27.git
synced 2026-06-04 23:49:04 +00:00
17 lines
430 B
JavaScript
17 lines
430 B
JavaScript
/* 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();
|
|
}
|