summaryrefslogtreecommitdiff
path: root/tests/specs/bench/allow_none
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/specs/bench/allow_none
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/specs/bench/allow_none')
-rw-r--r--tests/specs/bench/allow_none/allow_none.out2
-rw-r--r--tests/specs/bench/allow_none/allow_none.ts1
2 files changed, 0 insertions, 3 deletions
diff --git a/tests/specs/bench/allow_none/allow_none.out b/tests/specs/bench/allow_none/allow_none.out
index 82bc7cc03..d92fb1469 100644
--- a/tests/specs/bench/allow_none/allow_none.out
+++ b/tests/specs/bench/allow_none/allow_none.out
@@ -18,6 +18,4 @@ run error: PermissionDenied: Can't escalate parent thread permissions
[WILDCARD]
ffi error: PermissionDenied: Can't escalate parent thread permissions
[WILDCARD]
-hrtime error: PermissionDenied: Can't escalate parent thread permissions
-[WILDCARD]
error: Bench failed
diff --git a/tests/specs/bench/allow_none/allow_none.ts b/tests/specs/bench/allow_none/allow_none.ts
index 77f86f256..59007ecb0 100644
--- a/tests/specs/bench/allow_none/allow_none.ts
+++ b/tests/specs/bench/allow_none/allow_none.ts
@@ -5,7 +5,6 @@ const permissions: Deno.PermissionName[] = [
"env",
"run",
"ffi",
- "hrtime",
];
for (const name of permissions) {