GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||
GeezerVison is showing github.com — lib: fix TypeError when converting a detached buffer source by cola119 · Pull Request #44020 · nodejs/node Conversation
Member
Currently const buffer = new ArrayBuffer(1); new MessageChannel().port1.postMessage(buffer, [buffer]); // buffer is detached const decoder = new TextDecoder(); decoder.decode(buffer); // node: TypeError: Cannot perform Construct on a detached ArrayBuffer // chrome/safari/deno: ""
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
cola119
force-pushed
the
fix-type-error-of-detached-buffer
branch
from
bbb15af to
ad6a134
Compare
BridgeAR
reviewed
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. As a user, I would rather have the error than an empty buffer. The reason is that with the empty buffer, I just do not realize that something does not work as I expected.
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactions
Member
Author
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
Member
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
cola119
force-pushed
the
fix-type-error-of-detached-buffer
branch
from
ad6a134 to
6639bec
Compare
jasnell
approved these changes
Collaborator
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
15 tasks
Contributor
All reactions
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page.
15 tasks
cola119
force-pushed
the
fix-type-error-of-detached-buffer
branch
from
6639bec to
89329e6
Compare
|
There was an error while loading. Please reload this page.
|
@aduh95 I updated the status accordingly. 89329e62540060b56adeacd6502d1366b9a5d50b PTAL. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
684f18a to
a154022
Compare
|
Rebased and squashed |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
a154022 to
2007eb5
Compare
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Landed in 86088ab |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
PR-URL: #44020 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #44020 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
PR-URL: #44020 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.