From 5cf97f539bb0c3d2bda918f53cd4a976c03b37e3 Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Tue, 3 Sep 2024 11:24:25 +0200 Subject: BREAKING(permissions): remove --allow-hrtime (#25367) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- tests/unit/files_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/unit/files_test.ts') diff --git a/tests/unit/files_test.ts b/tests/unit/files_test.ts index fb45e3ad6..c9c3c0110 100644 --- a/tests/unit/files_test.ts +++ b/tests/unit/files_test.ts @@ -782,14 +782,14 @@ Deno.test({ permissions: { read: true } }, function fsFileIsTerminal() { }); Deno.test( - { permissions: { read: true, run: true, hrtime: true } }, + { permissions: { read: true, run: true } }, async function fsFileLockFileSync() { await runFlockTests({ sync: true }); }, ); Deno.test( - { permissions: { read: true, run: true, hrtime: true } }, + { permissions: { read: true, run: true } }, async function fsFileLockFileAsync() { await runFlockTests({ sync: false }); }, -- cgit v1.2.3