This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
doc,deps,test: fixed deps\test after upgrade to 1.2
**deps** chakrashim simulates StackTrace APIs to align with v8. For `Error.captureStackTrace()` API, it relies on function.name passed to it to filter out stack frames in callstack. However there are 2 problems with this. 1. If user passed `o.p` as function name, chakrashim doesn't filter out as it will try to filter out function name `p` instead (thats what function.name for `o.p` woudl return). I have opened #75 to track this. 2. Currently depending on function passed as an argument is deferred parse `function.name` would return a valid name, else it will return empty. This is bug in chakracore and I am following up with language team. We seems to rely on this bug while patching Error StackTrace APIs. However now, `utils.getStackTrace` function is getting deferred parse and it breaks a unit test. Fixed it by detecting if it is libraryCodecaller or not. Once we have fix from chakracore, we can re-evaluate this fix. **test** Fixed unit test after upgrade. ** doc** There was some information in README.md left over from last merge. Fixed it. PR-URL: #76 Reviewed-By: Jianchun Xu <[email protected]>
- Loading branch information
1 parent
4dd7c22
commit 8641dc0
Showing
4 changed files
with
4 additions
and
16 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,6 @@ | ||
Node.js on ChakraCore | ||
=== | ||
This project enables Node.js to optionally use the ChakraCore JavaScript engine. This project is still **work in progress** and not an officially supported Node.js branch. Please refer to the original [PR](https://github.com/nodejs/node/pull/4765). | ||
## Resources for Newcomers | ||
|
||
* [Website](https://nodejs.org/en/) | ||
* [Contributing to the project](./CONTRIBUTING.md) | ||
* IRC (general questions): [#node.js on chat.freenode.net](https://webchat.freenode.net?channels=node.js&uio=d4) | ||
* IRC (node core development): [#node-dev on chat.reenode.net](https://webchat.freenode.net?channels=node-dev&uio=d4) | ||
|
||
|
||
### How it works | ||
|
||
|
@@ -41,14 +34,9 @@ vcbuild chakracore nosign [x86|x64|arm] | |
```batch | ||
vcbuild chakracore nobuild test [x86|x64|arm] | ||
``` | ||
* [bengl](https://github.com/bengl) - **Bryan English** <[email protected]> | ||
* [bmeck](https://github.com/bmeck) - **Bradley Farias** <[email protected]> | ||
* [firedfox](https://github.com/firedfox) - **Daniel Wang** <[email protected]> | ||
* [jhamhader](https://github.com/jhamhader) - **Yuval Brik** <[email protected]> | ||
* [othiym23](https://github.com/othiym23) - **Forrest L Norvell** <[email protected]> | ||
* [yorkie](https://github.com/yorkie) - **Yorkie Liu** <[email protected]> | ||
|
||
To test if Node.js was built correctly with ChakraCore: | ||
|
||
```batch | ||
C:\>node -e "console.log('Hello from Node.js ' + process.jsEngine)" | ||
Hello from Node.js chakracore | ||
|
This file contains 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
This file contains 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
This file contains 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