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.
* test/parallel/test-buffer-alloc.js - Before merge, `FastBuffer` would take `size` as parameter which gets passed to `TypedArray` creation. `TypeArray` would throw for invalid length. However after merge, `ArrayBuffer` is created with invalid length and currently Chakra rounds the length. See chakra-core/ChakraCore#105 for details. So chakra no longer throws. I changed the test for such scenarios to check for this fact for Chakra under `assert.doNotThrow`. * test/parallel/test-buffer-slow.js - Same here. * test/parallel/test-buffer-regression-649.js - The effect of above behavior is that instead of throwing arraybuffer creation succeeds with rounded length and then allocation for `toString()` fails. I decided to disable this test for now. Following test has minor changes related to error message and syntax * test/parallel/test-repl.js * test/parallel/test-require-json.js * test/parallel/test-util-inspect.js * .eslintrc - `linebreak-style` was flagged as warning but with latest eslint, console shows warnings as well. So disabled this rule for now to suppress the warnings. PR-URL: #111 Reviewed-By: Jianchun Xu <[email protected]>
- Loading branch information
1 parent
16bae56
commit 0124235
Showing
7 changed files
with
70 additions
and
33 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
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
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