Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.3k
src: remove function hasTextDecoder in encoding.js#23625
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
src: remove function hasTextDecoder in encoding.js #23625
Uh oh!
There was an error while loading. Please reload this page.
Conversation
chichiwang commented Oct 12, 2018 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
addaleax commented Oct 12, 2018
ChALkeR left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
mscdex commented Oct 12, 2018
Can we also get rid of |
chichiwang commented Oct 12, 2018 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
@mscdex It appears that It appears we can return the constructor directly from both TextDecoder factories. I'll make the change. |
Trott commented Oct 13, 2018
Trott commented Oct 13, 2018
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/17805 |
Trott commented Oct 13, 2018
Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/17817/ |
danbev commented Oct 16, 2018
Re-run of failing node-test-commit-linux |
Trott commented Oct 16, 2018
The Resume Build CI: https://ci.nodejs.org/job/node-test-pull-request/17887/ |
chichiwang commented Oct 16, 2018
@Trott Thanks! There still appears to be one failure in the run. Let me know if I can do anything to help resolve the CI failures (like rebase the branch against master). |
refack commented Oct 16, 2018
jasnell commented Oct 16, 2018
Getting this landed. |
also... return TextDecoder directly from factories PR-URL: #23625 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
jasnell commented Oct 16, 2018
Landed in 25dc25b |
also... return TextDecoder directly from factories PR-URL: #23625 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
also... return TextDecoder directly from factories PR-URL: #23625 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
also... return TextDecoder directly from factories PR-URL: #23625 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
also... return TextDecoder directly from factories PR-URL: #23625 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Сковорода Никита Андреевич <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Sakthipriyan Vairamani <[email protected]>
Remove
hasTextDecoderin/lib/internal/encoding.js.hasTextDecoderis unused. This has the benefit of increasing test coverage.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes