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 — src: add READONLY_STRING_PROPERTY and simplify config by maclover7 · Pull Request #22222 · nodejs/node Conversation
|
|
@maclover7 build started: https://ci.nodejs.org/blue/organizations/jenkins/node-test-pull-request-lite-pipeline/detail/node-test-pull-request-lite-pipeline/484/pipeline |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
LGTM but can we fast track this? I like it, but it’s, like, very directly conflicting with what I’m working on at this point. 😄
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
||
| #define READONLY_STRING_PROPERTY(obj, str, val) \ | ||
| do { \ | ||
| obj->DefineOwnProperty(context, \ |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
It’s a best practice to parenthesize macro parameters, i.e. use (obj)->DefineOwnProperty(…), even if this is probably not an issue for now :)
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| String::NewFromUtf8( \ | ||
| isolate, \ | ||
| val.data(), \ | ||
| v8::NewStringType::kNormal).ToLocalChecked(), \ |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
tiny nit: 4 spaces for statement continuations
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Full CI: https://ci.nodejs.org/job/node-test-pull-request/16321/ |
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 30b5b84 |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Bit of tidying up where we set different config values. PR-URL: #22222 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: James M Snell <[email protected]>
Bit of tidying up where we set different config values. PR-URL: #22222 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: James M Snell <[email protected]>
Bit of tidying up where we set different config values. PR-URL: nodejs/node#22222 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Richard Lau <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gus Caplan <[email protected]> Reviewed-By: James M Snell <[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.