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 340
Latest test-addon-napi test failing with node-chakracore #246
Comments
jasongin
added a commit
to jasongin/node-chakracore
that referenced
this issue
May 17, 2017
- Reimplement napi_make_callback to call node::MakeCallback using V8 (chakrashim) types. We always knew the direct call to JsCallFunction() was incorrect there. - Refactor the reference test cases so each GC call happens after a setImmediate callback, because the GC often will not collect values that were just-allocated in the same event loop iteration. (One of the test cases already needed this for the newer V8 GC. For the ChakraCore GC, more of them do.) Fixes: nodejs#246
jasongin
added a commit
to jasongin/node-chakracore
that referenced
this issue
May 18, 2017
- Reimplement napi_make_callback to call node::MakeCallback using V8 (chakrashim) types. We always knew the direct call to JsCallFunction() was incorrect there. - Refactor the reference test cases so each GC call happens after a setImmediate callback, because the GC often will not collect values that were just-allocated in the same event loop iteration. (One of the test cases already needed this for the newer V8 GC. For the ChakraCore GC, more of them do.) Fixes: nodejs#246
jasongin
added a commit
to jasongin/node-chakracore
that referenced
this issue
May 18, 2017
- Reimplement napi_make_callback to call node::MakeCallback using V8 (chakrashim) types. We always knew the direct call to JsCallFunction() was incorrect there. - Refactor the reference test cases so each GC call happens after a setImmediate callback, because the GC often will not collect values that were just-allocated in the same event loop iteration. (One of the test cases already needed this for the newer V8 GC. For the ChakraCore GC, more of them do.) Fixes: nodejs#246
jasongin
added a commit
to jasongin/node-chakracore
that referenced
this issue
May 18, 2017
- Reimplement napi_make_callback to call node::MakeCallback using V8 (chakrashim) types. We always knew the direct call to JsCallFunction() was incorrect there. - Re-enable the two tests that were failing due to napi_make_callback Fixes: nodejs#246
jasongin
added a commit
that referenced
this issue
May 18, 2017
- Reimplement napi_make_callback to call node::MakeCallback using V8 (chakrashim) types. We always knew the direct call to JsCallFunction() was incorrect there. - Re-enable the two tests that were failing due to napi_make_callback Fixes: #246
@jasongin - I think your PR still doesn't address |
Right, reopening to track the remaining test_reference failure. For that I'll make a PR to node/master and we should re-enable the test when we merge the fix. |
Great, Thanks! |
3 tasks
kfarnung
pushed a commit
to kfarnung/node-chakracore
that referenced
this issue
May 23, 2017
- Reimplement napi_make_callback to call node::MakeCallback using V8 (chakrashim) types. We always knew the direct call to JsCallFunction() was incorrect there. - Re-enable the two tests that were failing due to napi_make_callback Fixes: nodejs#246
kfarnung
added a commit
to kfarnung/node-chakracore
that referenced
this issue
May 23, 2017
The test failure is being tracked by nodejs#246
kfarnung
added a commit
to kfarnung/node-chakracore
that referenced
this issue
May 23, 2017
The test failure is being tracked by nodejs#246
kfarnung
added a commit
to kfarnung/node-chakracore
that referenced
this issue
May 23, 2017
The test failure is being tracked by nodejs#246
kfarnung
added a commit
to kfarnung/node-chakracore
that referenced
this issue
May 23, 2017
The test failure is being tracked by nodejs#246 PR-URL: nodejs#258 Reviewed-By: Hitesh Kanwathirtha <[email protected]>
jasongin
added a commit
to jasongin/nodejs
that referenced
this issue
May 30, 2017
One of the N-API weak-reference test cases already had to be made asynchronous to handle different behavior in a newer V8 version: nodejs#12864 When porting N-API to Node-ChakraCore, we found more of the test cases needed similar treatment: nodejs/node-chakracore#246 So to make thes tests more robust (and avoid having differences in the test code for Node-ChakraCore), I am refactoring the tests in this file to insert a `setImmedate()` callback before every call to `gc()` and assertions about the effects of the GC. PR-URL: nodejs#13121 Reviewed-By: Michael Dawson <[email protected]>
jasnell
pushed a commit
to nodejs/node
that referenced
this issue
Jun 5, 2017
One of the N-API weak-reference test cases already had to be made asynchronous to handle different behavior in a newer V8 version: #12864 When porting N-API to Node-ChakraCore, we found more of the test cases needed similar treatment: nodejs/node-chakracore#246 So to make thes tests more robust (and avoid having differences in the test code for Node-ChakraCore), I am refactoring the tests in this file to insert a `setImmedate()` callback before every call to `gc()` and assertions about the effects of the GC. PR-URL: #13121 Reviewed-By: Michael Dawson <[email protected]>
I'll take a look. |
kfarnung
added a commit
to kfarnung/node-chakracore
that referenced
this issue
Jun 15, 2017
Fixed by upstream PR nodejs/node#13121 Resolves nodejs#246
2 tasks
kfarnung
added a commit
to kfarnung/node-chakracore
that referenced
this issue
Jun 15, 2017
Fixed by upstream PR nodejs/node#13121 Resolves nodejs#246 PR-URL: nodejs#301 Reviewed-By: Kunal Pathak <[email protected]> Reviewed-By: Jason Ginchereau <[email protected]>
kfarnung
added a commit
to kfarnung/node-chakracore
that referenced
this issue
Jun 15, 2017
Fixed by upstream PR nodejs/node#13121 Resolves nodejs#246 PR-URL: nodejs#301 Reviewed-By: Kunal Pathak <[email protected]> Reviewed-By: Jason Ginchereau <[email protected]>
gabrielschulhof
pushed a commit
to gabrielschulhof/node
that referenced
this issue
Apr 10, 2018
One of the N-API weak-reference test cases already had to be made asynchronous to handle different behavior in a newer V8 version: nodejs#12864 When porting N-API to Node-ChakraCore, we found more of the test cases needed similar treatment: nodejs/node-chakracore#246 So to make thes tests more robust (and avoid having differences in the test code for Node-ChakraCore), I am refactoring the tests in this file to insert a `setImmedate()` callback before every call to `gc()` and assertions about the effects of the GC. PR-URL: nodejs#13121 Reviewed-By: Michael Dawson <[email protected]>
MylesBorins
pushed a commit
to nodejs/node
that referenced
this issue
Apr 16, 2018
One of the N-API weak-reference test cases already had to be made asynchronous to handle different behavior in a newer V8 version: #12864 When porting N-API to Node-ChakraCore, we found more of the test cases needed similar treatment: nodejs/node-chakracore#246 So to make thes tests more robust (and avoid having differences in the test code for Node-ChakraCore), I am refactoring the tests in this file to insert a `setImmedate()` callback before every call to `gc()` and assertions about the effects of the GC. Backport-PR-URL: #19447 PR-URL: #13121 Reviewed-By: Michael Dawson <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Below 3 addon-napi test cases are failing. This issue is to track the fix and re-enable them.
The text was updated successfully, but these errors were encountered: