summaryrefslogtreecommitdiff
path: root/cli/tests/unit/permissions_test.ts
AgeCommit message (Collapse)Author
2022-01-20chore: update copyright year (#13434)Yoshiya Hinosawa
2021-11-23refactor: remove "unitTest" wrapper from cli/tests/unit (#12750)Bartek Iwańczuk
2021-09-22chore: replace calls to assertThrowsAsync with assertRejects (#12176)Casper Beyer
2021-08-06revert: allow URL for permissions (#11600)Bartek Iwańczuk
Revert changes to "net" permissions in regards to handling URLs introduced in 15b0e61de.
2021-08-06feat(runtime): allow URL for permissions (#11578)Leo K
2021-08-05refactor(cli/tests): remove unnecessary void return types (#11577)Leo K
2021-02-25feat(runtime): stabilise permissions and add event target capabilities (#9573)Kitson Kelly
2021-01-11chore: update copyright to 2021 (#9092)Yusuke Tanaka
2020-12-30BREAKING(unstable): Use hosts for net allowlists (#8845)Nayeem Rahman
Allowlist checking already uses hosts but for some reason requests, revokes and the runtime permissions API use URLs. - BREAKING(lib.deno.unstable.d.ts): Change NetPermissionDescriptor::url to NetPermissionDescriptor::host - fix(runtime/permissions): Don't add whole URLs to the allowlist on request - fix(runtime/permissions): Harden strength semantics: ({ name: "net", host: "127.0.0.1" } is stronger than { name: "net", host: "127.0.0.1:8000" }) for blocklisting - refactor(runtime/permissions): Use tuples for hosts, make the host optional in Permissions::{query_net, request_net, revoke_net}()
2020-11-14fix: fix various global objects constructor length (#8373)Benjamin Gruenbaum
This commit changes various Web APIs constructors to match their signature in the browser.
2020-11-03build: migrate to dlint (#8176)Bartek Iwańczuk
This commit migrates repository from using "eslint" to "dlint" for linting JavaScript code.
2020-09-27feat(fmt): Sort named import and export specifiers (#7711)David Sherret
2020-09-19fix(cli/rt): make some web API constructors illegal at runtime (#7468)Nayeem Rahman
2020-08-18test(cli): use assertThrowsAsync for permission tests (#7092)Casper Beyer
2020-07-13Revert "feat: move unstable Deno.permissions to navigator.permissions… (#6729)Bartek Iwańczuk
* Revert "feat: move unstable Deno.permissions to navigator.permissions (#6244)" This reverts commit 202e7fa6ad366ee56a6d070e94eaecb6dbc745bf.
2020-07-09feat: move unstable Deno.permissions to navigator.permissions (#6244)Kitson Kelly
2020-05-20move js unit tests to cli/tests (#5678)Ryan Dahl