summaryrefslogtreecommitdiff
path: root/ext/webidl/00_webidl.js
diff options
context:
space:
mode:
authorBartek Iwańczuk <biwanczuk@gmail.com>2022-12-21 14:24:39 +0100
committerGitHub <noreply@github.com>2022-12-21 14:24:39 +0100
commit4258e06f87f33e1cbf434f5040fc8dfabe254c12 (patch)
tree5811a67425dc8b6ba95979352b5af8160561ad16 /ext/webidl/00_webidl.js
parent6a47ffa4d3f180c4807ca17594939b765e15751f (diff)
fix(permissions): add information about import() API request (#17149)
This commit changes permission prompt to show that "import()" API is requesting permissions. Given "dynamic_import.js" like so: ``` import("https://deno.land/std@0.170.0/version.ts"); ``` Before: ``` deno run dynamic_import.js ⚠️ ┌ Deno requests net access to "deno.land". ├ Run again with --allow-net to bypass this prompt. └ Allow? [y/n] (y = yes, allow; n = no, deny) > ``` After: ``` deno run dynamic_import.js ⚠️ ┌ Deno requests net access to "deno.land". ├ Requested by `import()` API ├ Run again with --allow-net to bypass this prompt. └ Allow? [y/n] (y = yes, allow; n = no, deny) > ```
Diffstat (limited to 'ext/webidl/00_webidl.js')
0 files changed, 0 insertions, 0 deletions