diff options
author | Matt A. Tobin <email@mattatobin.com> | 2016-10-16 19:34:53 -0400 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2016-10-16 19:34:53 -0400 |
commit | 81805ce3f63e2e4a799bd54f174083c58a9b5640 (patch) | |
tree | 6e13374b213ac9b2ae74c25d8aac875faf71fdd0 /toolkit/devtools/shadereditor/test/browser_webgl-actor-test-01.js | |
parent | 28c8da71bf521bb3ee76f27b8a241919e24b7cd5 (diff) | |
download | palemoon-gre-81805ce3f63e2e4a799bd54f174083c58a9b5640.tar.gz |
Move Mozilla DevTools to Platform - Part 3: Merge the browser/devtools and toolkit/devtools adjusting for directory collisions
Diffstat (limited to 'toolkit/devtools/shadereditor/test/browser_webgl-actor-test-01.js')
-rw-r--r-- | toolkit/devtools/shadereditor/test/browser_webgl-actor-test-01.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/toolkit/devtools/shadereditor/test/browser_webgl-actor-test-01.js b/toolkit/devtools/shadereditor/test/browser_webgl-actor-test-01.js new file mode 100644 index 000000000..e866c5346 --- /dev/null +++ b/toolkit/devtools/shadereditor/test/browser_webgl-actor-test-01.js @@ -0,0 +1,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(); +} |