summaryrefslogtreecommitdiff
path: root/tests/testdata/workers/read_check_granular_worker.js
diff options
context:
space:
mode:
authorLuca Casonato <hello@lcas.dev>2024-09-03 11:24:25 +0200
committerGitHub <noreply@github.com>2024-09-03 11:24:25 +0200
commit5cf97f539bb0c3d2bda918f53cd4a976c03b37e3 (patch)
tree82f05b270b3df52609e3d0d6c86a768d1399e257 /tests/testdata/workers/read_check_granular_worker.js
parentb5695d02df75719bca0df1aae0622b22761b1533 (diff)
BREAKING(permissions): remove --allow-hrtime (#25367)
Remove `--allow-hrtime` and `--deny-hrtime`. We are doing this because it is already possible to get access to high resolution timers through workers and SharedArrayBuffer. Co-authored-by: Bartek IwaƄczuk <biwanczuk@gmail.com>
Diffstat (limited to 'tests/testdata/workers/read_check_granular_worker.js')
-rw-r--r--tests/testdata/workers/read_check_granular_worker.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/tests/testdata/workers/read_check_granular_worker.js b/tests/testdata/workers/read_check_granular_worker.js
index d40fac876..7f2d0f717 100644
--- a/tests/testdata/workers/read_check_granular_worker.js
+++ b/tests/testdata/workers/read_check_granular_worker.js
@@ -3,7 +3,6 @@ postMessage({
envGlobal: (await Deno.permissions.query({ name: "env" })).state,
envFoo: (await Deno.permissions.query({ name: "env", variable: "foo" })).state,
envAbsent: (await Deno.permissions.query({ name: "env", variable: "absent" })).state,
- hrtime: (await Deno.permissions.query({ name: "hrtime" })).state,
netGlobal: (await Deno.permissions.query({ name: "net" })).state,
netFoo: (await Deno.permissions.query({ name: "net", host: "foo" })).state,
netFoo8000: (await Deno.permissions.query({ name: "net", host: "foo:8000" })).state,