| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Currently the comment regarding execution of src/node.js seems to refer to the file before the refactorings done in ec6af31. Also, it looks like the comment itself might have "drifted" a little in the file. Updated the comment to refer to the lib/internal/bootstrap_node.js file, moved it closer to the compilation step, and updated the name that is generated in node_natives.h.
| // Compile, execute the lib/internal/bootstrap_node.js file. (Which was | ||
| // included as static C string in node_natives.h. | ||
| // 'internal_bootstrap_node_native is the string containing that source code.) | ||
| Local<String> script_name = FIXED_ONE_BYTE_STRING(env->isolate(), "node.js"); |
There was a problem hiding this comment.
Perhaps this script name should be updated too since it has been named bootstrap_node.js for some time now?
Sorry, something went wrong.
There was a problem hiding this comment.
+1 to updating this.
Sorry, something went wrong.
There was a problem hiding this comment.
I'll take a stab at changing this to bootstrap_node.js.
Sorry, something went wrong.
| try_catch.SetVerbose(false); | ||
|
|
||
| // Execute the lib/internal/bootstrap_node.js file which was included as a | ||
| // static in node_natives.h by node_js2c. 'internal_bootstrap_node_native' |
There was a problem hiding this comment.
static -> static C string
Sorry, something went wrong.
| // is the string containing that source code. | ||
| Local<String> script_name = FIXED_ONE_BYTE_STRING(env->isolate(), "node.js"); | ||
| Local<String> script_name = FIXED_ONE_BYTE_STRING(env->isolate(), | ||
| "bootstrap_node.js"); |
There was a problem hiding this comment.
Can you line up the opening " with the e in env on the previous line.
Sorry, something went wrong.
There was a problem hiding this comment.
Absolutely, move it now.
Sorry, something went wrong.
Sorry, something went wrong.
|
|
||
| Local<String> script_name = FIXED_ONE_BYTE_STRING(env->isolate(), "node.js"); | ||
| // Execute the lib/internal/bootstrap_node.js file which was included as a | ||
| // static in node_natives.h by node_js2c. 'internal_bootstrap_node_native' |
There was a problem hiding this comment.
static -> static C string
Sorry, something went wrong.
|
The CI had a Jenkins failure, and some Alpine failures which have since been corrected. LGTM |
Sorry, something went wrong.
|
LGTM |
Sorry, something went wrong.
Sorry, something went wrong.
This commit updates the node.js script name to reflect its actual name, which is now bootstrap_node.js. This commit also fixes the requisite message tests, and relocates a comment which seems to have drifted. PR-URL: #7277 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
This commit updates the node.js script name to reflect its actual name, which is now bootstrap_node.js. This commit also fixes the requisite message tests, and relocates a comment which seems to have drifted. PR-URL: #7277 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net>
|
No, I believe this is accurate in v4. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Checklist
Affected core subsystem(s)
src
Description of change
Currently the comment regarding execution of src/node.js seems to refer
to the file before the refactorings done in ec6af31. Also, it looks like
the comment itself might have "drifted" a little in the file.
Updated the comment to refer to the lib/internal/bootstrap_node.js file,
moved it closer to the compilation step, and updated the name that is
generated in node_natives.h.