michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: http://creativecommons.org/publicdomain/zero/1.0/ */ michael@0: michael@0: /** michael@0: * Tests if a WebGL front can be created for a remote tab target. michael@0: */ michael@0: michael@0: function ifWebGLSupported() { michael@0: let [target, debuggee, front] = yield initBackend(SIMPLE_CANVAS_URL); michael@0: michael@0: ok(target, "Should have a target available."); michael@0: ok(debuggee, "Should have a debuggee available."); michael@0: ok(front, "Should have a protocol front available."); michael@0: michael@0: yield removeTab(target.tab); michael@0: finish(); michael@0: }