From e61e81eb57351782862aa50775ce4348f10b1856 Mon Sep 17 00:00:00 2001 From: Nayeem Rahman Date: Thu, 7 Jan 2021 18:06:08 +0000 Subject: feat: add --location= and globalThis.location (#7369) --- cli/tests/subdir/worker_location.ts | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 cli/tests/subdir/worker_location.ts (limited to 'cli/tests/subdir') diff --git a/cli/tests/subdir/worker_location.ts b/cli/tests/subdir/worker_location.ts new file mode 100644 index 000000000..480032350 --- /dev/null +++ b/cli/tests/subdir/worker_location.ts @@ -0,0 +1,4 @@ +onmessage = function (): void { + postMessage(self.location.href); + close(); +}; -- cgit v1.2.3