2 * Any copyright is dedicated to the Public Domain.
3 * http://creativecommons.org/publicdomain/zero/1.0/
6 // our onmessage handler lives in the module.
7 import _ from "./chromeWorker_worker_submod.sys.mjs";
9 if (!("ctypes" in self)) {
13 // Go ahead and verify that the ctypes lazy getter actually works.
14 if (ctypes.toString() != "[object ctypes]") {
15 throw "Bad ctypes object: " + ctypes.toString();