mirror of
https://github.com/denoland/deno.git
synced 2025-08-03 18:38:33 +00:00
feat: Add requesting API name to permission prompt (#15936)
Co-authored-by: Leo Kettmeir <crowlkats@toaxl.com>
This commit is contained in:
parent
a344368603
commit
212b7dd6da
18 changed files with 530 additions and 235 deletions
|
@ -191,6 +191,7 @@
|
|||
this[_url] = wsURL.href;
|
||||
|
||||
ops.op_ws_check_permission_and_cancel_handle(
|
||||
"WebSocket.abort()",
|
||||
this[_url],
|
||||
false,
|
||||
);
|
||||
|
@ -227,6 +228,7 @@
|
|||
PromisePrototypeThen(
|
||||
core.opAsync(
|
||||
"op_ws_create",
|
||||
"new WebSocket()",
|
||||
wsURL.href,
|
||||
ArrayPrototypeJoin(protocols, ", "),
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue