From ce587a15daa7238db3cf8d3dee9d41a71bc2fc6a Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Thu, 8 Jul 2021 10:18:44 +0200 Subject: [PATCH] chore: remove test files (#11331) --- main.js | 14 -------------- worker.js | 5 ----- 2 files changed, 19 deletions(-) delete mode 100644 main.js delete mode 100644 worker.js diff --git a/main.js b/main.js deleted file mode 100644 index feb6c5a1ec..0000000000 --- a/main.js +++ /dev/null @@ -1,14 +0,0 @@ -const worker = new Worker(new URL("./worker.js", import.meta.url), { - type: "module", -}); - -const sab = new SharedArrayBuffer(1); -console.log(new Uint8Array(sab)); - -setInterval(() => { - console.log(new Uint8Array(sab)); -}, 100); - -worker.onmessage = () => { - worker.postMessage(sab); -}; diff --git a/worker.js b/worker.js deleted file mode 100644 index c1b8602049..0000000000 --- a/worker.js +++ /dev/null @@ -1,5 +0,0 @@ -self.postMessage("ready"); - -globalThis.addEventListener("message", (e) => { - new Uint8Array(e.data)[0] = 1; -});