tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

worker_deprecated.js (678B)


      1 /* eslint-disable no-undef */
      2 /* eslint-disable mozilla/no-comparison-or-assignment-inside-ok */
      3 
      4 // eslint-disable-next-line no-unused-vars
      5 function ok(a, msg) {
      6  postMessage({ type: "check", check: !!a, msg });
      7 }
      8 
      9 // eslint-disable-next-line no-unused-vars
     10 function is(a, b, msg) {
     11  ok(a === b, msg);
     12 }
     13 
     14 // eslint-disable-next-line no-unused-vars
     15 function info(msg) {
     16  postMessage({ type: "info", msg });
     17 }
     18 
     19 function finish() {
     20  postMessage({ type: "finish" });
     21 }
     22 
     23 importScripts("common_deprecated.js");
     24 
     25 test_deprecatedInterface()
     26  .then(() => test_deprecatedMethod())
     27  .then(() => test_deprecatedAttribute())
     28  .then(() => test_takeRecords())
     29  .then(() => finish());