summaryrefslogtreecommitdiffstats
path: root/dom/canvas/test/webgl-conf/checkout/conformance/offscreencanvas/methods-worker.js
blob: 154cac7fc694f475a3c3a8c69e9674f0279a57c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*
Copyright (c) 2019 The Khronos Group Inc.
Use of this source code is governed by an MIT-style license that can be
found in the LICENSE.txt file.
*/

importScripts("../../js/tests/canvas-tests-utils.js");
self.onmessage = function(e) {
    if (testAPIs('webgl'))
      self.postMessage("Test passed");
    else
      self.postMessage("Test failed");
}