diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2020-12-20 15:14:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-20 15:14:19 +0100 |
commit | 3eec73ff904e54b6e90879d93b09be4330c63712 (patch) | |
tree | d1cd44eb9dc1eb9556a6d6ce82da95620b0359fb /cli/tests/worker_with_top_level_await.ts | |
parent | e924bbdf3606e83ff9eef3a8ed640c4ecc34444f (diff) |
Revert "fix: TLA in web worker (#8809)" (#8839)
This reverts commit e924bbdf3606e83ff9eef3a8ed640c4ecc34444f.
Diffstat (limited to 'cli/tests/worker_with_top_level_await.ts')
-rw-r--r-- | cli/tests/worker_with_top_level_await.ts | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/cli/tests/worker_with_top_level_await.ts b/cli/tests/worker_with_top_level_await.ts deleted file mode 100644 index cf3418bf7..000000000 --- a/cli/tests/worker_with_top_level_await.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license. - -import { serve } from "../../std/http/server.ts"; - -const server = serve({ port: 8080 }); - -self.onmessage = (e: MessageEvent) => { - console.log("TLA worker received message", e.data); -}; - -self.postMessage("hello"); - -for await (const _r of server) { - // pass -} |