diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-07-03 17:41:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-03 17:41:49 +0200 |
commit | 425b9a8228b62b68e3592771eda1538c9bc098d5 (patch) | |
tree | 668bd59c71fd6bb3b7510d921d50627e1194c166 | |
parent | 51de4e1f7cb7839f22e324473cec942717c517e7 (diff) |
fix: primordials in extensions/net (#11250)
-rw-r--r-- | extensions/net/01_net.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/extensions/net/01_net.js b/extensions/net/01_net.js index 03d7c8a9e..9703bd321 100644 --- a/extensions/net/01_net.js +++ b/extensions/net/01_net.js @@ -7,6 +7,7 @@ const { PromiseResolve, Symbol, + SymbolAsyncIterator, Uint8Array, TypedArrayPrototypeSubarray, } = window.__bootstrap.primordials; @@ -141,7 +142,7 @@ core.close(this.rid); } - [Symbol.asyncIterator]() { + [SymbolAsyncIterator]() { return this; } } |