summaryrefslogtreecommitdiffstats
path: root/dom/canvas/test/webgl-conf/checkout/conformance2/offscreencanvas/context-creation-worker.js
blob: 67bf40648232d574a07e9b55ced5907ce38e0fce (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 (contextCreation('webgl2'))
      self.postMessage("Test passed");
    else
      self.postMessage("Test failed");
};