test: remove usage of process.binding()#26304
Closed
addaleax wants to merge 2 commits intonodejs:masterfrom
Closed
test: remove usage of process.binding()#26304addaleax wants to merge 2 commits intonodejs:masterfrom
process.binding()#26304addaleax wants to merge 2 commits intonodejs:masterfrom
Conversation
Collaborator
|
@addaleax sadly an error occured when I tried to trigger a build :( |
alejunco
approved these changes
Feb 25, 2019
Puzzle9900
approved these changes
Feb 25, 2019
asarmiento13315
approved these changes
Feb 25, 2019
zydev-gh
approved these changes
Feb 25, 2019
jasnell
approved these changes
Feb 26, 2019
JungMinu
approved these changes
Feb 26, 2019
BridgeAR
approved these changes
Feb 26, 2019
Member
BridgeAR
left a comment
There was a problem hiding this comment.
LGTM. AFAIK there is a conflicting PR open for a while.
devsnek
approved these changes
Feb 26, 2019
Member
|
Refs: #24952 |
thefourtheye
approved these changes
Feb 26, 2019
cjihrig
approved these changes
Feb 26, 2019
Member
Author
|
@BridgeAR Yeah, thanks. I’ll try to land that one first. |
c706a3b to
9a9b038
Compare
Prefer `internalBinding` or other equivalents over `process.binding()` (except in tests checking `process.binding()` itself).
9a9b038 to
8c99173
Compare
Member
Author
|
Rebased, new CI: https://ci.nodejs.org/job/node-test-pull-request/21296/ |
BridgeAR
approved these changes
Mar 7, 2019
c12a713 to
4e3990b
Compare
Member
Author
|
Fixed one more error that just (?) showed up, CI: https://ci.nodejs.org/job/node-test-pull-request/21297/ |
Member
Author
Member
Author
|
Landed in aec3447 |
pull bot
pushed a commit
to SimenB/node
that referenced
this pull request
Mar 7, 2019
Prefer `internalBinding` or other equivalents over `process.binding()` (except in tests checking `process.binding()` itself). PR-URL: nodejs#26304 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
BridgeAR
pushed a commit
to BridgeAR/node
that referenced
this pull request
Mar 12, 2019
Prefer `internalBinding` or other equivalents over `process.binding()` (except in tests checking `process.binding()` itself). PR-URL: nodejs#26304 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
BridgeAR
pushed a commit
that referenced
this pull request
Mar 14, 2019
Prefer `internalBinding` or other equivalents over `process.binding()` (except in tests checking `process.binding()` itself). PR-URL: #26304 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Minwoo Jung <minwoo@nodesource.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This paves the way for adding
--pending-deprecationsupport forprocess.binding(), see e.g. addaleax/node@8e6577d (which could land after this, but would likely be semver-major).Prefer
internalBindingor other equivalents overprocess.binding()(except in tests checking
process.binding()itself).Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes