1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-21 23:04:45 -05:00
denoland-deno/runtime/ops
Casper Beyer f3751e498f
feat(cli): add test permissions to Deno.test (#10188)
This commits adds adds "permissions" option to the test definitions 
which allows tests to run with different permission sets than 
the process's permission.

The change will only be in effect within the test function, once the 
test has completed the original process permission set is restored.

Test permissions cannot exceed the process's permission.
You can only narrow or drop permissions, failure to acquire a 
permission results in an error being thrown and the test case will fail.
2021-04-25 23:38:59 +02:00
..
crypto.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
fetch.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
file.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
fs.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
fs_events.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
http.rs chore: align fetch to spec (#10203) 2021-04-20 14:47:22 +02:00
io.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
mod.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
net.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
net_unix.rs refactor: rewrite "net" ops to use serde_v8 (#10028) 2021-04-06 10:33:43 +02:00
os.rs feat(permissions): allow env permission to take values (#9825) 2021-04-13 13:25:21 +02:00
permissions.rs feat(permissions): allow env permission to take values (#9825) 2021-04-13 13:25:21 +02:00
plugin.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
process.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
runtime.rs fix: do not panic on not found cwd (#10238) 2021-04-21 17:52:00 +02:00
signal.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
timers.rs refactor: move timers to deno_timers op crate (#10179) 2021-04-14 21:10:48 +02:00
tls.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
tty.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
url.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
utils.rs chore: update copyright headers (#10243) 2021-04-20 14:27:36 +09:00
web_worker.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
webgpu.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
websocket.rs refactor(deno): remove concept of bin & json ops (#10145) 2021-04-12 15:55:05 -04:00
worker_host.rs feat(cli): add test permissions to Deno.test (#10188) 2021-04-25 23:38:59 +02:00