node: Update strings node.js -> bootstrap_node.js#5962
node: Update strings node.js -> bootstrap_node.js#5962joshgav wants to merge 1 commit intonodejs:masterfrom
Conversation
|
/cc @Fishrock123 |
test/message/core_line_numbers.out
Outdated
There was a problem hiding this comment.
curious that the message tests pass without this change?
There was a problem hiding this comment.
Guessing it was ExecuteString() setting the script name to node.js.
There was a problem hiding this comment.
Yes, ExecuteString calls v8::Script::Compile which allows us to specify the ScriptOrigin, which comes from the FIXED_ONE_BYTE_STRING I changed. grep ExecuteString ./src/* -r says it isn't called anywhere else, perhaps ExecuteString should be merged into LoadEnvironment?
|
These commits need to be separate PRs. |
|
I'm also pretty sure this is a breaking change, cc @nodejs/ctc Is this 100% necessary, even if previously it was now not technically correct? |
|
@joshgav was the |
Clarify comments re invoking bootstrap_node.js. Fix filename to bootstrap_node.js per nodejs#5103. Fix tests `node.js` -> `bootstrap_node.js` Fix comment on why we check the loop again before exiting. `context-inl.h` -> `env-inl.h`
|
moved |
|
@Fishrock123 would |
|
cc @nodejs/ctc I think leaving it alone would probably be o.k., but if it should be changed that's fine. It shouldn't contain the path though, no |
|
Is the question whether or not |
|
The question is two-fold:
Personally I prefer including @Fishrock123 Do we have the option of perhaps renaming as |
|
IMO we should update it to most accurately reflect reality if possible. |
|
Is this only exposed to error logs? I am relatively concerned we might be breaking something because I'm not entirely sure what this changes. |
7da4fd4 to
c7066fb
Compare
|
I moved this fix to another branch in my fork; if we want to continue the discussion let me know and I'll open a corresponding new PR. Thanks! |
|
Oh shoot I guess? we should do this but I'm not the best person to ask about that |
Pull Request check-list
make -j8 test(UNIX) orvcbuild test nosign(Windows) pass withthis change (including linting)?
test (or a benchmark) included?
Affected core subsystem(s)
node.cc
Description of change
Update filename in node.cc and tests to bootstrap_node.js per #5103 and update nearby comments. Fixed some other comments while I was at it.
Will need to rebase once #5881 lands.