mirror of
https://github.com/denoland/deno.git
synced 2025-10-02 23:24:37 +00:00
fix(cli/rt): make some web API constructors illegal at runtime (#7468)
This commit is contained in:
parent
79e5b57663
commit
aaa5e6613a
9 changed files with 106 additions and 15 deletions
|
@ -235,7 +235,7 @@ delete Object.prototype.__proto__;
|
|||
crypto: util.readOnly(crypto),
|
||||
dispatchEvent: util.readOnly(EventTarget.prototype.dispatchEvent),
|
||||
fetch: util.writable(fetch.fetch),
|
||||
performance: util.writable(new performance.Performance()),
|
||||
performance: util.writable(performance.performance),
|
||||
removeEventListener: util.readOnly(
|
||||
EventTarget.prototype.removeEventListener,
|
||||
),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue