issue_owner_repo
listlengths
2
2
issue_body
stringlengths
0
261k
issue_title
stringlengths
1
925
issue_comments_url
stringlengths
56
81
issue_comments_count
int64
0
2.5k
issue_created_at
stringlengths
20
20
issue_updated_at
stringlengths
20
20
issue_html_url
stringlengths
37
62
issue_github_id
int64
387k
2.46B
issue_number
int64
1
127k
[ "chakra-core", "ChakraCore" ]
Putting this is as a reminder: tc39 proposal tracker needs updating for any new proposals/change in status of proposals since April 2020. Additionally need to update that `??`, `.at` and async iteration are implemented in master and optional chaining is now WIP. https://github.com/chakra-core/org/blob/master/t...
Update tc39 proposal tracker
https://api.github.com/repos/chakra-core/ChakraCore/issues/6614/comments
2
2021-02-20T00:36:59Z
2021-03-15T22:23:33Z
https://github.com/chakra-core/ChakraCore/issues/6614
812,453,995
6,614
[ "chakra-core", "ChakraCore" ]
On Arch linux CC crashes when starting a helper thread with the below stack trace, this crash was confirmed with both 1.11 and master and was likely introduced by changes in Arch linux rather than changes in CC: ``` #0 0x00007ffff510aef5 in raise () at /usr/lib/libc.so.6 #1 0x00007ffff50f4862 in abort () at /usr...
Pal thread handling crashes on latest Arch linux
https://api.github.com/repos/chakra-core/ChakraCore/issues/6613/comments
30
2021-02-16T20:19:35Z
2024-04-20T19:59:52Z
https://github.com/chakra-core/ChakraCore/issues/6613
809,618,500
6,613
[ "chakra-core", "ChakraCore" ]
### Version 1.12.0-master ### Flags -ES6Experimental ### Test code ```js { let i = 0; const proxy = new Proxy({ exec() { return null }, lastIndex: 0 }, { set(target, p) { print(`Should not be called`); print(`Property:`, p, `value:`, value); i++; ...
Spec deviation in RegExp.prototype[@@search]()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6612/comments
1
2021-02-15T19:27:23Z
2021-02-15T21:03:12Z
https://github.com/chakra-core/ChakraCore/issues/6612
808,771,260
6,612
[ "chakra-core", "ChakraCore" ]
### Version Chakra - 1.12.0-master and 1.11.24 ### Description The @@unscopables object of Array.prototype doesn't contain the flat and flatMap properties with `true` values. ### Test case 1 ```js print([][Symbol.unscopables].flat); ``` #### Output ```js undefined ``` #### Excepted output ```js true ...
The [@@unscopables] object of Array.prototype does not contain flat and flatMap values
https://api.github.com/repos/chakra-core/ChakraCore/issues/6607/comments
1
2021-02-12T21:38:50Z
2021-02-13T10:26:31Z
https://github.com/chakra-core/ChakraCore/issues/6607
807,563,730
6,607
[ "chakra-core", "ChakraCore" ]
We need fuzzing available - particularly for any significant changes to the JIT or type system. I'm planning to look at getting Mozilla FunFuzz to work on ChakraCore: https://github.com/MozillaSecurity/funfuzz Though I'm in interested in any other suggestions or offers to implement a fuzzer. (Marked as Severit...
Set up our own fuzzer
https://api.github.com/repos/chakra-core/ChakraCore/issues/6602/comments
1
2021-02-07T14:31:46Z
2021-04-20T19:58:07Z
https://github.com/chakra-core/ChakraCore/issues/6602
802,965,847
6,602
[ "chakra-core", "ChakraCore" ]
CC fails to build on Ubuntu 20 with the following output, this should be fixed ASAP: ``` [1/690] Building CXX object pal/src/CMakeFiles/Chakra.Pal.dir/cruntime/file.cpp.o FAILED: pal/src/CMakeFiles/Chakra.Pal.dir/cruntime/file.cpp.o /usr/bin/clang++ -DBIT64=1 -DCAN_BUILD_WABT -DCLANG_HAS_DISABLE_TAIL_CALLS=1 -DD...
Build compatibility with Clang 10 and Ubuntu 20.04
https://api.github.com/repos/chakra-core/ChakraCore/issues/6600/comments
5
2021-02-05T21:52:50Z
2021-02-12T09:40:34Z
https://github.com/chakra-core/ChakraCore/issues/6600
802,499,897
6,600
[ "chakra-core", "ChakraCore" ]
###### Version Chakra-1.11.24 ###### Execution step ``` ./ChakraCore/out/Release/ch testcase.js ``` ###### Testcase ```js target = Function(); handler = { get: function() { print('Run here'); } }; var p= new Proxy(target, handler); new p; ``` ###### Output ``` ``` ...
Proxy construct method without trap does not use get trap for prototype
https://api.github.com/repos/chakra-core/ChakraCore/issues/6597/comments
3
2021-02-03T05:26:59Z
2021-03-15T08:37:59Z
https://github.com/chakra-core/ChakraCore/issues/6597
799,983,960
6,597
[ "chakra-core", "ChakraCore" ]
The CI Linux and macOS jobs have always been much slower than the windows once. In the past I believed that was because the hosts used were slower. BUT with the fix in #6592 the actual tests now perform at similar speeds - with linux sometimes being faster than windows, this strongly implies that the machines are no...
Explore slow linux and macOS compile times
https://api.github.com/repos/chakra-core/ChakraCore/issues/6594/comments
0
2021-01-30T17:28:35Z
2021-01-30T20:33:17Z
https://github.com/chakra-core/ChakraCore/issues/6594
797,483,151
6,594
[ "chakra-core", "ChakraCore" ]
`ch` depends directly on Pal and uses various windows API calls; removing this dependency and using cross platform equivalents would simplify the build process and hopefully made the code slightly easier to work with too.
Remove Pal Dependency from ch
https://api.github.com/repos/chakra-core/ChakraCore/issues/6593/comments
0
2021-01-30T09:03:45Z
2021-01-30T09:03:45Z
https://github.com/chakra-core/ChakraCore/issues/6593
797,371,748
6,593
[ "chakra-core", "ChakraCore" ]
These js files implement certain features used in `ch` currently they are embedded within `ch` as raw strings of javascript, so when launching `ch` with the flags that imply they're needed they have to be parsed and converted to bytecode before execution begins. - There are numerous test cases that use `DbgControlle...
Suggestion: Convert 262.js, DbgController.js and Encode.js into bytecode
https://api.github.com/repos/chakra-core/ChakraCore/issues/6591/comments
1
2021-01-29T17:31:39Z
2021-01-31T08:39:48Z
https://github.com/chakra-core/ChakraCore/issues/6591
797,058,664
6,591
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1.11.24 ###### Test case ```js const x = 'const x'; this.x = 20; delete this.x; print(this.x); print(x); x = 1; print(x); ``` ###### Execution steps ./ChakraCore/out/Release/ch testcase.js ###### Output ``` undefined const x 1 ``` ###### Expected behavior ...
An issue about constant
https://api.github.com/repos/chakra-core/ChakraCore/issues/6590/comments
5
2021-01-29T13:29:01Z
2021-02-01T22:32:15Z
https://github.com/chakra-core/ChakraCore/issues/6590
796,882,432
6,590
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1.11.24 ###### Execution step ./ChakraCore/out/Release/ch testcase.js ###### Test case 1 ```js var s = new String('abcd'); print(typeof s); print(s); s.__proto__ = Function.prototype; print(s); ``` ###### Output 1 ``` object abcd abcd ``` ###### Expected behav...
The prototype chain does not match the object
https://api.github.com/repos/chakra-core/ChakraCore/issues/6589/comments
2
2021-01-29T12:59:36Z
2021-03-14T19:00:01Z
https://github.com/chakra-core/ChakraCore/issues/6589
796,862,558
6,589
[ "chakra-core", "ChakraCore" ]
I have already written about disadvantages of existing packages and gave several recommendations for improving it (see the [“Recommendations for improving an existing NuGet packages for .NET projects”](https://github.com/chakra-core/ChakraCore/issues/6572) issue). In this post, I will write about more radical changes -...
Recommendations for new structure of NuGet packages for .NET projects
https://api.github.com/repos/chakra-core/ChakraCore/issues/6586/comments
3
2021-01-27T20:11:49Z
2021-01-28T15:49:58Z
https://github.com/chakra-core/ChakraCore/issues/6586
795,409,483
6,586
[ "chakra-core", "ChakraCore" ]
The folder `bin/rl` contains source and build files for rl.exe this is a windows only test runner application, it is currently built and used by the CI on windows. BUT I can't see anything it does that `test/runtests.py` can't do. Unless anyone has an objection? We should: 1. [x] update `test/runtests.py` to be...
Explore deleting rl.exe
https://api.github.com/repos/chakra-core/ChakraCore/issues/6585/comments
8
2021-01-26T18:49:31Z
2021-03-20T09:17:17Z
https://github.com/chakra-core/ChakraCore/issues/6585
794,475,876
6,585
[ "chakra-core", "ChakraCore" ]
`BUILD.gn` in the project root is a build script for use with the GN build system, see: https://gn.googlesource.com/gn/+/master/docs/quick_start.md It redirects to `tools/run_msbuild.py` which only works on windows. I've never heard of the GN build system before is there any clear benefit of having a script for i...
Document or delete BUILD.gn
https://api.github.com/repos/chakra-core/ChakraCore/issues/6584/comments
5
2021-01-25T22:19:24Z
2021-01-28T05:06:45Z
https://github.com/chakra-core/ChakraCore/issues/6584
793,768,225
6,584
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1.11.24 ###### Test case ```js var arr = []; Object.defineProperty(Array.prototype, '0', { get: function() { print('get'); return 30; }, set: function() { print('set'); return 60; } }); arr.push(1); print('arr:', arr); prin...
A question about Array.prototype.push
https://api.github.com/repos/chakra-core/ChakraCore/issues/6582/comments
3
2021-01-22T06:40:31Z
2021-03-03T04:33:48Z
https://github.com/chakra-core/ChakraCore/issues/6582
791,745,374
6,582
[ "chakra-core", "ChakraCore" ]
Google Summer Of Code will start accepting applications soon. As we are (now) an independent organization, we can throw our name in the hat. I believe the minimum requirements are having two mentors. Timeline: https://developers.google.com/open-source/gsoc/timeline
[Community] GSoC
https://api.github.com/repos/chakra-core/ChakraCore/issues/6579/comments
3
2021-01-15T02:25:38Z
2021-02-20T09:30:17Z
https://github.com/chakra-core/ChakraCore/issues/6579
786,481,239
6,579
[ "chakra-core", "ChakraCore" ]
Sooner or later, community will create and publish its own NuGet packages. Most likely, when creating new packages, source code of existing packages, that were developed by Microsoft, will be taken as a basis. Existing packages have certain disadvantages, so in this post I will write how it can be fixed and give exampl...
Recommendations for improving an existing NuGet packages for .NET projects
https://api.github.com/repos/chakra-core/ChakraCore/issues/6572/comments
0
2021-01-09T18:30:54Z
2021-01-24T19:25:20Z
https://github.com/chakra-core/ChakraCore/issues/6572
782,661,569
6,572
[ "chakra-core", "ChakraCore" ]
We are using UTF-16, which has some cross platform compatibility issues, starting with different type used on different platforms - `wchar_t` on Windows and `char16_t` everywhere else, with former being a fundamental type (not requiring an include), but latter - defined as an unsigned short. This is thanks to 'nix tool...
Consider UTF-8?
https://api.github.com/repos/chakra-core/ChakraCore/issues/6570/comments
12
2021-01-09T03:10:28Z
2021-03-14T19:00:31Z
https://github.com/chakra-core/ChakraCore/issues/6570
782,499,802
6,570
[ "chakra-core", "ChakraCore" ]
###### Version chakra-9e2f198 ###### Test case ```js var a = RegExp(1); RegExp.prototype.toString.call(a); var b = Object(1); RegExp.prototype.toString.call(b); ``` ###### Execution steps ./ChakraCore/out/Release/ch testcase.js ###### Output ``` TypeError: RegExp.prototype.toString: '...
A question about RegExp.prototype.toString
https://api.github.com/repos/chakra-core/ChakraCore/issues/6569/comments
4
2021-01-09T02:46:22Z
2021-01-09T11:27:10Z
https://github.com/chakra-core/ChakraCore/issues/6569
782,496,635
6,569
[ "chakra-core", "ChakraCore" ]
We have 'Microsoft' in NuGet package IDs (plus in the files describing packages). Need to decide how to rename - right now it is 'Microsoft.ChakraCore', 'ChakraCore.ChakraCore' might be a bit redundant. This falls under the same umbrella as the rest of renaming, though it carries some extra weight as it is externall...
Rename NuGet packages
https://api.github.com/repos/chakra-core/ChakraCore/issues/6568/comments
0
2021-01-08T03:31:16Z
2021-01-08T03:31:16Z
https://github.com/chakra-core/ChakraCore/issues/6568
781,814,874
6,568
[ "chakra-core", "ChakraCore" ]
###### Version chakra-9e2f198 ###### Test case ```js TypeError.prototype.toString = function() { return Error; }; var a = 1; a(); ``` ###### Execution steps ./ChakraCore/out/Release/ch testcase.js ###### Output ``` ``` ###### Expected behavior ``` TypeError: a is not a f...
An issue about redefining TypeError
https://api.github.com/repos/chakra-core/ChakraCore/issues/6567/comments
12
2021-01-07T07:50:40Z
2021-01-27T10:04:32Z
https://github.com/chakra-core/ChakraCore/issues/6567
781,109,774
6,567
[ "chakra-core", "ChakraCore" ]
Chakra has a lot of useful config options, but it's quite hard to realize if the needed option exists. My proposition is to create such documentation.
Document config options documentation
https://api.github.com/repos/chakra-core/ChakraCore/issues/6565/comments
3
2021-01-04T08:52:37Z
2021-01-06T07:37:01Z
https://github.com/chakra-core/ChakraCore/issues/6565
777,934,382
6,565
[ "chakra-core", "ChakraCore" ]
In the file JavascriptLibrary.cpp various objects (particularly builtin constructors and prototypes) have initialization methods when properties of one of these objects are first accessed the initialization method is called to set them all. Each method begins by doing `typeHandler->Convert(object, mode, slots);` whi...
JavascriptLibrary.cpp Initialization methods with wrong property counts
https://api.github.com/repos/chakra-core/ChakraCore/issues/6563/comments
0
2020-12-31T14:40:16Z
2020-12-31T14:41:53Z
https://github.com/chakra-core/ChakraCore/issues/6563
777,049,205
6,563
[ "chakra-core", "ChakraCore" ]
**Currently the file JsBuiltins.js contains:** 1. Several array.prototype methods 2. Two Math methods 3. One Object constructor method **This has a few downsides:** 1. Simply for readability/comprehension this set of methods do not logically belong in the same file 2. Accessing a Math method should not forc...
Split JsBuiltins by Class
https://api.github.com/repos/chakra-core/ChakraCore/issues/6562/comments
0
2020-12-31T14:34:12Z
2021-02-01T08:51:04Z
https://github.com/chakra-core/ChakraCore/issues/6562
777,047,566
6,562
[ "chakra-core", "ChakraCore" ]
###### Chakra Version Latest Commit 9e2f198 (Release Version) ###### Test case ```js if (1) ``` ###### Execution steps ./ChakraCore/out/Release/ch testcase.js ###### Expected behavior ``` SyntaxError: Unexpected end of script ``` ###### Actual behavior ``` (No exception was thrown) ...
A possible issue with CC not throwing syntax exceptions correctly
https://api.github.com/repos/chakra-core/ChakraCore/issues/6553/comments
2
2020-12-26T03:03:52Z
2020-12-26T12:45:29Z
https://github.com/chakra-core/ChakraCore/issues/6553
774,813,341
6,553
[ "chakra-core", "ChakraCore" ]
This warning is thrown when building master on macOS. From lib/Common/Common/NumberUtilities_strtod.cpp line 1602 This should be fixed probably by adding brackets to that line in the correct place.
warning: unsequenced modification and access to 'ib'
https://api.github.com/repos/chakra-core/ChakraCore/issues/6552/comments
0
2020-12-25T15:37:51Z
2021-01-02T10:48:23Z
https://github.com/chakra-core/ChakraCore/issues/6552
774,750,373
6,552
[ "chakra-core", "ChakraCore" ]
###### Chakra Version Latest [1.11.24](https://github.com/chakra-core/ChakraCore/releases) Linux(x64) ###### Test case ```js function func() { this++; } ``` ###### Execution steps ChakraCoreFiles/bin/ch testcase.js ###### Expected behavior ``` SyntaxError: Invalid left-hand side expres...
A possible issue with '++' operator apply to 'this' object
https://api.github.com/repos/chakra-core/ChakraCore/issues/6550/comments
1
2020-12-25T02:38:08Z
2020-12-25T15:44:52Z
https://github.com/chakra-core/ChakraCore/issues/6550
774,605,519
6,550
[ "chakra-core", "ChakraCore" ]
The readme could do with an overhaul to make clear that this project is now owned by the community. And to be clearer on inviting involvement. All references to microsoft should be moved to a history/background section.
Update the readme
https://api.github.com/repos/chakra-core/ChakraCore/issues/6549/comments
3
2020-12-24T23:10:39Z
2021-01-09T11:18:03Z
https://github.com/chakra-core/ChakraCore/issues/6549
774,578,942
6,549
[ "chakra-core", "ChakraCore" ]
Now the repository is in community control, files need a new copyright banner. We need to retain the existing one BUT should add an extra piece below it about community contribution as any new code will not be written by Microsoft. Alongside that we probably need a new contributor license agreement.
Update the copyright text
https://api.github.com/repos/chakra-core/ChakraCore/issues/6548/comments
5
2020-12-24T19:31:49Z
2021-01-15T21:40:00Z
https://github.com/chakra-core/ChakraCore/issues/6548
774,544,101
6,548
[ "chakra-core", "ChakraCore" ]
Microsoft have transferred the repository into our control. We now need to activate our own CI. In the first instance this will be largely based on the check in CI microsoft was running. (though we need our own instance of it all as the existing webhooks no longer function)
Enable our own CI
https://api.github.com/repos/chakra-core/ChakraCore/issues/6547/comments
21
2020-12-24T19:26:34Z
2021-02-12T22:19:20Z
https://github.com/chakra-core/ChakraCore/issues/6547
774,543,228
6,547
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1.11.22(release) ###### Test case ```js if (1) { function o() {}; var o = 1; } print(o); ``` ###### Execution steps ./ChakraCore/out/Release/ch testcase.js ###### Output ``` function o() {} ``` ###### Expected behavior ``` throw a SyntaxError abo...
A possible issue about variable redeclaration of ChakraCore.
https://api.github.com/repos/chakra-core/ChakraCore/issues/6546/comments
3
2020-12-24T09:57:34Z
2020-12-25T02:38:42Z
https://github.com/chakra-core/ChakraCore/issues/6546
774,305,035
6,546
[ "chakra-core", "ChakraCore" ]
The flag NTBUILD is used to guard various features included in chakra.dll but not in chakracore, I believe that most of the code behind it is not functional without additional code that is not in this repository and is unlikely to be made available. We should therefore review and consider deleting as dead code anyth...
Review flag NTBUILD
https://api.github.com/repos/chakra-core/ChakraCore/issues/6544/comments
8
2020-12-18T16:22:09Z
2021-01-12T11:38:07Z
https://github.com/chakra-core/ChakraCore/issues/6544
771,010,835
6,544
[ "chakra-core", "ChakraCore" ]
Hello, executing following code in ch 1.11.24(debug), an assertion will be thrown. ``` function opt(buffer) { let obj = [2.3023e-320]; var result = buffer.slice(obj.x, obj.x); } function main() { for (let i = 0; i < 1000; i++) { var buffer = new ArrayBuffer(8); opt(buffer); } ...
Assertion failure in ArrayBuffer::EntrySlice()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6543/comments
1
2020-12-16T09:18:16Z
2020-12-16T20:07:31Z
https://github.com/chakra-core/ChakraCore/issues/6543
768,619,676
6,543
[ "chakra-core", "ChakraCore" ]
Hello, executiong following code in ch 1.11.24(debug), an assertion will be thrown. ``` function opt(obj) { obj.method(); } for(let i = 0; i < 1000; i++) { var obj = { method() { fromA = super['fromA']; } }; opt(obj); } ``` output: ``` ASSERTION 35284: (c:\u...
Assertion failure in GlobOpt::SetLoopFieldInitialValue()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6542/comments
1
2020-12-16T09:03:45Z
2020-12-16T20:12:35Z
https://github.com/chakra-core/ChakraCore/issues/6542
768,607,118
6,542
[ "chakra-core", "ChakraCore" ]
Hello, executing following code in ch 1.22.24(debug), an assertion will be thrown. ``` var buffer = new Int8Array(8); var func = function (elem) { return elem; }; i = 9007199254740992; Object.defineProperty(buffer, 'length', { value: i }); Array.prototype.find.call(buffer, func); ``` output: ``` ASSER...
Assertion failure in JavascriptArray::FindHelper()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6541/comments
5
2020-12-16T08:45:27Z
2021-01-16T19:26:55Z
https://github.com/chakra-core/ChakraCore/issues/6541
768,591,816
6,541
[ "chakra-core", "ChakraCore" ]
Hello, running following code in ch 1.11.24(debug), an assertion will be thrown. ``` var start; var end; function opt(buffer) { var sc = WScript.LoadScript('', 'samethread'); buffer += 0; var result = buffer.slice(start, end); return sc; } for (var i = 0; i < 2; i++) { var buffer = new ...
Assertion failure in JavascriptOperators::IsUndefinedObject()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6540/comments
1
2020-12-16T08:21:58Z
2020-12-16T20:27:48Z
https://github.com/chakra-core/ChakraCore/issues/6540
768,574,664
6,540
[ "chakra-core", "ChakraCore" ]
Hello, executing following code in ch 1.11.24(debug), an assertion will be thrown. ``` 'use strict'; function func(arr) { var a = new Promise(function() {}); arr.__proto__.__proto__ = a; } for (var i = 0; i < 2; i++) { var arr = [ , {} ]; Object.prototype.toString.call(Array())...
Assertion failure in OutputPropertyValue<T>::impl
https://api.github.com/repos/chakra-core/ChakraCore/issues/6539/comments
1
2020-12-16T08:04:46Z
2020-12-16T20:38:13Z
https://github.com/chakra-core/ChakraCore/issues/6539
768,562,913
6,539
[ "chakra-core", "ChakraCore" ]
Hello, running following code in ch 1.11.24(debug), an assertion will be thrown. ``` function opt(start) { ' ' == String.fromCodePoint(start); } for(let i = 0; i < 1000; i++) opt(0); opt(2147483647); ``` output: ``` ASSERTION 13460: (c:\users\sunlili\documents\workspace\jsenginesfordebug\chakracore...
An Assertion triggered by Js::NumberUtilities::IsInSupplementaryPlane() in jitted code
https://api.github.com/repos/chakra-core/ChakraCore/issues/6538/comments
1
2020-12-16T07:21:13Z
2020-12-16T20:42:12Z
https://github.com/chakra-core/ChakraCore/issues/6538
768,534,452
6,538
[ "chakra-core", "ChakraCore" ]
Hello, executing following code, an assertion will be throw. ``` var eval = WScript.LoadScript('', 'samethread').eval; for (let i = 0; i < 1; i++) { eval('for(var x in [1,2,3,4])( /x/ );'); } ``` output: ``` ASSERTION 23500: (c:\users\sunlili\documents\workspace\jsenginesfordebug\chakracore-1.11.24\lib\run...
Assertion failure in BlockActivationObject* FromVar(Var value)
https://api.github.com/repos/chakra-core/ChakraCore/issues/6537/comments
1
2020-12-16T07:05:40Z
2020-12-16T20:43:35Z
https://github.com/chakra-core/ChakraCore/issues/6537
768,522,896
6,537
[ "chakra-core", "ChakraCore" ]
Hi, execution following code in ch 1.11.24(debug), an assertion will be thrown. ``` var arr = [1,2,3,4]; var handler = {}; Object.defineProperty(arr, 'length', { writable:false }); p = new Proxy(arr, handler); Object.prototype.push = Array.prototype.push; p.push(1); ``` output: ``` ASSERTION 7624: (c:\...
Assertion failure in JavascriptOperators::ValidateAndApplyPropertyDescriptor()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6536/comments
1
2020-12-16T06:48:52Z
2020-12-16T20:51:43Z
https://github.com/chakra-core/ChakraCore/issues/6536
768,510,699
6,536
[ "chakra-core", "ChakraCore" ]
Hi, executing following code in ch 1.11.24(debug), an assertion will be thrown. ``` array = []; proxy = new Proxy(array, { get(t, pk, r) { if (pk === 'length') { return 2 ** 53; } return Reflect.get(t, pk, r); } }); proxy.copyWithin(3); ``` output: ``` ASSERTIO...
Assertion failure in JavascriptArray::CopyWithinHelper
https://api.github.com/repos/chakra-core/ChakraCore/issues/6535/comments
1
2020-12-16T06:33:36Z
2020-12-16T21:25:17Z
https://github.com/chakra-core/ChakraCore/issues/6535
768,500,202
6,535
[ "chakra-core", "ChakraCore" ]
Hello, running following code in ch1.11.24(debug), an assertion will be thrown. ``` vdate = new Date(1234567890123).getVarDate(); JSON.stringify(vdate, true); ``` output: ``` ASSERTION 28300: (c:\users\sunlili\documents\workspace\jsenginesfordebug\chakracore-1.11.24\lib\runtime\library\jsonstringifier.cpp, line...
Assertion failure in JSONStringifier.cpp caused by incorrect type checking
https://api.github.com/repos/chakra-core/ChakraCore/issues/6534/comments
2
2020-12-16T03:29:16Z
2021-01-02T10:48:23Z
https://github.com/chakra-core/ChakraCore/issues/6534
768,415,917
6,534
[ "chakra-core", "ChakraCore" ]
New Mac computers now come with ARM processors; ChakraCore should support them natively and currently does not. Fixing this will involve some small code changes and some make file work. Note, currently ChakraCore does not support linux on ARM either - there is a separate issue for linux.
macOS arm support
https://api.github.com/repos/chakra-core/ChakraCore/issues/6532/comments
1
2020-12-12T15:29:58Z
2023-01-13T16:45:20Z
https://github.com/chakra-core/ChakraCore/issues/6532
763,960,205
6,532
[ "chakra-core", "ChakraCore" ]
Hi, I'm working on fuzz testing, and now i have a batch of js testcases, i want to get the **code coverage of ChakraCore** by executing testcases. (not coverage of testcases, i don't care it.). Because I want to use the increase of engine coverage as one of my performance metrics. I've looked at a lot of info, and i...
How to get the code coverage of ChakraCore by executing js testcases?
https://api.github.com/repos/chakra-core/ChakraCore/issues/6529/comments
3
2020-11-18T03:19:59Z
2020-11-24T04:51:01Z
https://github.com/chakra-core/ChakraCore/issues/6529
745,292,588
6,529
[ "chakra-core", "ChakraCore" ]
When I create an Error object and give it two parameters, the value of the second parameter will be output when the object is output. But like other engines, such as V8, spidermonkey, the output is the first parameter. Therefore, I think there may be a problem here. **Version** chakra-1_11_22 **command** ``...
An issue about the new Error().
https://api.github.com/repos/chakra-core/ChakraCore/issues/6527/comments
3
2020-11-09T02:35:44Z
2020-11-10T02:28:50Z
https://github.com/chakra-core/ChakraCore/issues/6527
738,627,333
6,527
[ "chakra-core", "ChakraCore" ]
As is likely obvious to anyone looking at this repository it's not very active. There has been a hope that a community team could keep ChakraCore going BUT without some more contributors with more time it's unlikely to go far. So - is anyone else: a) interested in contributing to chakracore AND b) able to actua...
Chakracore Future - Volunteers wanted
https://api.github.com/repos/chakra-core/ChakraCore/issues/6526/comments
29
2020-11-04T23:06:20Z
2021-02-12T09:43:36Z
https://github.com/chakra-core/ChakraCore/issues/6526
736,481,856
6,526
[ "chakra-core", "ChakraCore" ]
Hello, executing following code in ch 1.11.22 (debug), an assertion will be thrown. ``` function opt() { var eval = WScript.LoadScript('', 'samethread').eval; eval(''); } opt(); opt(); ``` output: ``` ASSERTION 17636: (c:\users\sunlili\document...
Assertion fail in HeapArgumentsObject's contructor
https://api.github.com/repos/chakra-core/ChakraCore/issues/6525/comments
1
2020-10-11T07:51:01Z
2020-11-06T02:54:40Z
https://github.com/chakra-core/ChakraCore/issues/6525
718,781,948
6,525
[ "chakra-core", "ChakraCore" ]
Consider the following Wasm module with two mutually recursive functions: ``` (module (type $0 (func (result i32))) (type $1 (func (result i32))) (func $0 (type 0) (call 1) ) (func $1 (type 1) (i32.const 0) (if (result i32) (then (i32.const 0) (br 1)) (else...
WebAssembly stack overflow crash
https://api.github.com/repos/chakra-core/ChakraCore/issues/6524/comments
2
2020-10-09T22:18:32Z
2021-10-30T07:59:15Z
https://github.com/chakra-core/ChakraCore/issues/6524
718,452,075
6,524
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1_11_22 ###### Test case ```js var o = { get x(){} }; Object. assign(o,o); ``` ###### Execution steps ```js ./ChakraCore/out/Debug/ch testcase.js ``` ###### Output ``` ``` ###### Expected behavior ```js TypeError: Cannot set property x of [object Object] ...
An issue about Object.assign
https://api.github.com/repos/chakra-core/ChakraCore/issues/6523/comments
6
2020-10-09T12:48:12Z
2022-10-14T22:05:19Z
https://github.com/chakra-core/ChakraCore/issues/6523
718,119,063
6,523
[ "chakra-core", "ChakraCore" ]
Hello, running following code in ch 1.11.22(debug), an assertion will be thrown. ``` class MyObject_7 { constructor(v0) { this.toString = v0; } } var sc0_198 = WScript.LoadScript(new MyObject_7('', 'samethread')); ``` output: ``` ASSERTION 40340: (c:\users\sunlili\documents\workspace\jsen...
An assertion is triggered when an exception is thrown in WScript.LoadScript()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6522/comments
1
2020-10-09T09:51:45Z
2020-11-06T02:55:07Z
https://github.com/chakra-core/ChakraCore/issues/6522
718,011,945
6,522
[ "chakra-core", "ChakraCore" ]
When I executed the try-catch statement without adding a parameter list to the catch, ChakraCore caused a syntax error. According to the ES10 standard, the parameter list can be omitted after the catch statement. So I think there may be a problem here. **version** chakra-1_11_22 **command** ```javascript C...
An issue about the try statement.
https://api.github.com/repos/chakra-core/ChakraCore/issues/6520/comments
1
2020-10-08T02:52:23Z
2020-11-04T22:55:25Z
https://github.com/chakra-core/ChakraCore/issues/6520
716,978,989
6,520
[ "chakra-core", "ChakraCore" ]
When I passed NaN and an object with the "valueOf" attribute value as a callable function to the first and second parameters of Math.max, chakra did not execute this function. According to the ES10 standard, the ToNumber operation is performed on each parameter of Math.max, and the "valueOf" attribute value function of...
An issue about the Math.max().
https://api.github.com/repos/chakra-core/ChakraCore/issues/6519/comments
14
2020-10-08T02:18:28Z
2022-10-07T21:39:49Z
https://github.com/chakra-core/ChakraCore/issues/6519
716,968,053
6,519
[ "chakra-core", "ChakraCore" ]
When I performed a freeze operation on an initialized TypedArray, ChakraCore did not report an error, but other engines, such as SpiderMonkey and JavascriptCore, all reported errors.So I think there may be something wrong here. **version** chakra-1_11_22 **command** ```javascript ChakraCore/out/Debug/ch te...
An issue about the Object.freeze()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6518/comments
2
2020-10-07T15:33:23Z
2020-12-18T14:30:52Z
https://github.com/chakra-core/ChakraCore/issues/6518
716,637,711
6,518
[ "chakra-core", "ChakraCore" ]
Hello, executing following code in ch 1.11.22(debug), an assertion will be thrown. ``` function opt() { var eval = WScript.LoadScript('', 'samethread').eval; eval('function foo() { return {x:1}; }; [...foo()[\'x\']] = [10];'); } opt(); ``` output: ``` ASSERTION 2196: (c:\users\sunlili\documents\work...
Assertion failure in interpreterstackframe.cpp when handling eval()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6517/comments
2
2020-10-07T10:04:12Z
2021-01-27T09:03:29Z
https://github.com/chakra-core/ChakraCore/issues/6517
716,387,217
6,517
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1_11_22 ###### Test case ```js var h = function f(a0 = function () { a2; }(), a2) { }; h(); ``` ###### Execution steps ```js ./ChakraCore/out/Debug/ch testcase.js ``` ###### Output ``` ``` ###### Expected behavior ```js ReferenceError: can't access lexical ...
A question about uninitialized variables
https://api.github.com/repos/chakra-core/ChakraCore/issues/6516/comments
5
2020-10-05T15:46:50Z
2020-12-17T02:52:14Z
https://github.com/chakra-core/ChakraCore/issues/6516
714,956,349
6,516
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1_11_22 ###### Test case ```js RegExp.prototype.exec=()=>{ print('run here'); return null; }; print(String.prototype.match()); ``` ###### Execution steps ```js ./ChakraCore/out/Debug/ch testcase.js ``` ###### Output ``` ``` ###### Expected behavior ``...
A question about String.prototype.match
https://api.github.com/repos/chakra-core/ChakraCore/issues/6515/comments
1
2020-10-04T16:32:19Z
2020-12-16T21:52:09Z
https://github.com/chakra-core/ChakraCore/issues/6515
714,351,110
6,515
[ "chakra-core", "ChakraCore" ]
#### Description When I try to get the flags of a regExp object, chakra returns `undefined`. Then I found that chakra not fully implements regular expression prototype at [here](https://github.com/microsoft/ChakraCore/issues/6390). Maybe RegExp.prototype.flags should be added too. #### Testcase ~~~javascri...
Implement RegExp.prototype.flags
https://api.github.com/repos/chakra-core/ChakraCore/issues/6514/comments
1
2020-10-03T03:27:03Z
2020-11-04T23:02:07Z
https://github.com/chakra-core/ChakraCore/issues/6514
713,993,702
6,514
[ "chakra-core", "ChakraCore" ]
## Description When using the function `RegExp()` to create a RegExp object. The object's `lastIndex` property should be 0 and the property descriptor `writable` should be true. But when i use the function `Object.defineProperty` to redefine the property `lastIndex` . Chakra failed to change its value while all ot...
RegExp.prototype.lastIndex cannot be set properly via Object.defineProperty
https://api.github.com/repos/chakra-core/ChakraCore/issues/6512/comments
1
2020-09-30T07:39:43Z
2020-12-06T10:27:59Z
https://github.com/chakra-core/ChakraCore/issues/6512
711,712,890
6,512
[ "chakra-core", "ChakraCore" ]
Git Commit: 861a276c346746f3b87347bb094988563d7ee0a7 Ubuntu 18.04 PoC: ``` const obj = { }; var a = { toString: ()=> {} }; function opt(o, zz) { function foo () { String.prototype.replace.call(o, zz, obj); } foo (); } opt({}, "zzz"); for (let xi = 0; xi < 500; xi++) {...
ByteCode Updward Exposed mismatch after DeadStore
https://api.github.com/repos/chakra-core/ChakraCore/issues/6511/comments
13
2020-09-28T13:40:12Z
2024-05-02T18:13:39Z
https://github.com/chakra-core/ChakraCore/issues/6511
710,274,767
6,511
[ "chakra-core", "ChakraCore" ]
Hi, running following code in ch (1.11.22, debug), the program will be terminated with segment fault. ``` var arr = [1, 2, 3, 4, 5]; Array.prototype.push.call(arr); ``` output: ``` FATAL ERROR: ch.exe failed due to exception code c0000005 ``` crash reason: `arr` is a `Js::JavascriptCopyOnAccessNativeIntArra...
segment fault in JavascriptArray::EntryPushJavascriptArrayNoFastPath()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6510/comments
4
2020-09-27T06:32:46Z
2020-11-06T04:23:41Z
https://github.com/chakra-core/ChakraCore/issues/6510
709,679,408
6,510
[ "chakra-core", "ChakraCore" ]
Assertion Failure in JavascriptArray.cpp
https://api.github.com/repos/chakra-core/ChakraCore/issues/6509/comments
0
2020-09-25T06:53:35Z
2020-09-25T07:08:14Z
https://github.com/chakra-core/ChakraCore/issues/6509
708,693,302
6,509
[ "chakra-core", "ChakraCore" ]
Hi, running following code in ch (1.11.22, debug), an assertion will be thrown. ``` function func(b, c) { b[0] = c; } function main(o, ua) { var b = new Uint32Array(0); func(b, { valueOf: () => { ua.__proto__ = new Array(4294967295); return 0; } });...
Assertion Failure in JavascriptArray.cpp
https://api.github.com/repos/chakra-core/ChakraCore/issues/6508/comments
3
2020-09-25T06:53:14Z
2020-11-06T02:48:07Z
https://github.com/chakra-core/ChakraCore/issues/6508
708,693,102
6,508
[ "chakra-core", "ChakraCore" ]
According to ES10.0, If an object does not define or inherit `@@hasInstance` it uses the default `instanceof` semantics. When changing the value of `__proto__` of an object into `String`, the algorithm to be used will be `Function.prototype [ @@hasInstance ]` instead of the default semantics. So the output of the testc...
An issue about evaluating instanceof
https://api.github.com/repos/chakra-core/ChakraCore/issues/6507/comments
8
2020-09-25T03:23:58Z
2022-11-09T16:49:50Z
https://github.com/chakra-core/ChakraCore/issues/6507
708,610,684
6,507
[ "chakra-core", "ChakraCore" ]
Hi, I running following code in ch(v1.11.22, debug) , an assertion will be thrown. ``` indent_363 = 'a'; let x = 1; this.x = []; for (let i = 0; i < 65536; i++) { this['a' + i] = 1; } indent_363 = 'b'; ``` output: ``` ASSERTION 17328: (c:\users\sunlili\documents\workspace\jsenginesfordebug\chakracore-...
Assertion Fail in inlinecache.inl
https://api.github.com/repos/chakra-core/ChakraCore/issues/6506/comments
1
2020-09-25T01:56:13Z
2020-11-04T03:27:42Z
https://github.com/chakra-core/ChakraCore/issues/6506
708,580,925
6,506
[ "chakra-core", "ChakraCore" ]
When calling `Object.defineProperty` as below, the internal method `[[DefineOwnProperty]]` will be invoked. According to ES10.0, when invoking the internal method `[[DefineOwnProperty]]` of the proxy object, the method `defineProperty` of proxy handler is called. So the overwritten property `defineProperty ` belo...
A question about defineProperty of Proxy object
https://api.github.com/repos/chakra-core/ChakraCore/issues/6505/comments
2
2020-09-22T07:59:20Z
2023-01-25T22:14:57Z
https://github.com/chakra-core/ChakraCore/issues/6505
706,162,016
6,505
[ "chakra-core", "ChakraCore" ]
Hi, I am using ReactJS.net (v5.2.5) with JavaScriptEngineSwitcher.ChakraCore (v3.7.2) in .netcore 3.1 on linux. My application terminates randomly with Segmentation fault. I don't know much about `gdb` but running basic commands on the `core` dump generated by Segmentation fault gives the following output: ``` >...
Program terminated with signal SIGSEGV, Segmentation fault
https://api.github.com/repos/chakra-core/ChakraCore/issues/6504/comments
11
2020-09-20T13:57:11Z
2021-01-09T15:48:25Z
https://github.com/chakra-core/ChakraCore/issues/6504
705,114,747
6,504
[ "chakra-core", "ChakraCore" ]
A typeerror occurred in ChakraCore when I passed an undefined parameter in TypedArray.prototype.sort(), but other engines, such as V8 and quickjs, did not throw an error. Therefore, I think there may be a problem here. **version** 1.11.19 **command** ```javascript ChakraCore/out/Debug/ch testcase.js ``` ...
An issue about the TypedArray.prototype.sort().
https://api.github.com/repos/chakra-core/ChakraCore/issues/6503/comments
7
2020-09-18T01:25:25Z
2022-09-30T23:52:20Z
https://github.com/chakra-core/ChakraCore/issues/6503
704,011,321
6,503
[ "chakra-core", "ChakraCore" ]
When I converted Symbol.split into a string and output it, chakra output "undefined",which is different from other engines,like V8,rhino,etc.According to ES standard,the initial value of Symbol.split is "Symbol.split". So I think there may be a problem here. **version** 1.11.19 **Command** ```javascript Ch...
An issue about the Symbol.split.
https://api.github.com/repos/chakra-core/ChakraCore/issues/6502/comments
1
2020-09-16T14:14:48Z
2020-11-04T23:02:18Z
https://github.com/chakra-core/ChakraCore/issues/6502
702,803,627
6,502
[ "chakra-core", "ChakraCore" ]
./build.sh Searching for Clang... Clang++ found at /usr/bin/clang++ Compile Target : amd64 Generating Release makefiles -- Configuring done -- Generating done -- Build files have been written to: /home/lenovo/Desktop/ChakraCore-1.4.1/BuildLinux/Release [ 0%] Building CXX object pal/src/CMakeFiles/Chakra.Pal.d...
build problems:What should I do? can you give me some suggestions?
https://api.github.com/repos/chakra-core/ChakraCore/issues/6501/comments
2
2020-09-15T01:54:20Z
2024-04-25T04:51:33Z
https://github.com/chakra-core/ChakraCore/issues/6501
701,544,232
6,501
[ "chakra-core", "ChakraCore" ]
/ChakraCore/lib/Backend/arm/LowerMD.h:220:63: error: use of undeclared identifier 'RegSP'; did you mean 'RegRSP'? static RegNum GetRegStackPointer() { return RegSP; } /ChakraCore/lib/Backend/amd64/RegList.h:64:1: note: 'RegRSP' declared here REGDAT(RSP, rsp, 4, TyInt64, ...
[android_armv7-a]undefined RegSP, RegR0
https://api.github.com/repos/chakra-core/ChakraCore/issues/6498/comments
3
2020-09-03T03:14:12Z
2020-12-06T22:01:57Z
https://github.com/chakra-core/ChakraCore/issues/6498
691,597,571
6,498
[ "chakra-core", "ChakraCore" ]
Running in Debug x64 configuration the GCStress tool occasionally crashes on https://github.com/microsoft/ChakraCore/blob/2422941b3755a49a73de8a7588208fe1d1c80bda/bin/GCStress/GCStress.cpp#L105 The object seems to have been corrupted since the virtual table pointer is no longer valid. ![image](https://user-images...
Crash in GCStress with concurrent GC enabled
https://api.github.com/repos/chakra-core/ChakraCore/issues/6495/comments
0
2020-08-26T16:01:00Z
2020-08-26T16:01:00Z
https://github.com/chakra-core/ChakraCore/issues/6495
686,438,020
6,495
[ "chakra-core", "ChakraCore" ]
Hello I have a customer that was having some issues with his web application hosted on App Service, there was slowness coming from one instance (VM) in particular they captured a dump: 0:1089> !mex.t DbgID ThreadID User Kernel Create Time (UTC) 1089 397c (0n14716) 78ms 125ms 08/02/2020 02:50:27.237 PM ...
Deadlock in Chakra!JsUtil::BackgroundJobProcessor::Run
https://api.github.com/repos/chakra-core/ChakraCore/issues/6492/comments
0
2020-08-12T16:36:15Z
2020-08-12T16:50:29Z
https://github.com/chakra-core/ChakraCore/issues/6492
677,829,175
6,492
[ "chakra-core", "ChakraCore" ]
**Revision** rhino-1.7.12 **Test case** ```javascript var NISLFuzzingFunc = function(e,t){ return Object.setPrototypeOf(e,t); }; var NISLParameter0 = null; var NISLParameter1 = new Object(); var NISLCallingResult = NISLFuzzingFunc(NISLParameter0, NISLParameter1); print(NISLCallingResult); ``` **...
An issue about the Object.setPrototypeOf().
https://api.github.com/repos/chakra-core/ChakraCore/issues/6489/comments
0
2020-07-21T03:07:36Z
2020-07-21T13:25:03Z
https://github.com/chakra-core/ChakraCore/issues/6489
662,517,111
6,489
[ "chakra-core", "ChakraCore" ]
Version: `ch version 1.12.0.0-beta` Git hash: `33db8efd9f02cd528a7305391d7d10765a2e85f3` POC : ```javascript var a = [1]; a[import(a)++]; ``` In release build, the stack dump is: ``` #0 0x000055555579bb41 in ReportFatalException () #1 0x000055555579bc49 in OutOfMemory_unrecoverable_error() () #2 0x0...
ASSERTION Failure: (tmpReg == this->curTmpReg - 1)
https://api.github.com/repos/chakra-core/ChakraCore/issues/6488/comments
1
2020-07-18T20:05:46Z
2020-11-12T03:04:45Z
https://github.com/chakra-core/ChakraCore/issues/6488
660,351,797
6,488
[ "chakra-core", "ChakraCore" ]
Version: `ch version 1.12.0.0-beta` Git hash: `33db8efd9f02cd528a7305391d7d10765a2e85f3` POC that causes the assertion: ```javascript function a() { class b extends Array {} a(); } a() ``` POC that causes a segfault in release build: ```javascript function a() { class b extends 'x'.match (Ar...
Assertion `ByteCode Updward Exposed Used Mismatch` failed
https://api.github.com/repos/chakra-core/ChakraCore/issues/6487/comments
3
2020-07-14T19:14:36Z
2021-04-02T15:52:12Z
https://github.com/chakra-core/ChakraCore/issues/6487
656,838,601
6,487
[ "chakra-core", "ChakraCore" ]
Version: `ch version 1.12.0.0-beta` Git hash: `33db8efd9f02cd528a7305391d7d10765a2e85f3` POC: ```javascript function a(b) { c = {...b, __proto__ : Intl } } a() ``` Stack dump: ``` #0 0x000055555579bb41 in ReportFatalException () #1 0x000055555579bdc7 in Js::Throw::FatalJsReentrancyError() () #2 ...
Assertion fail: Js reentrancy error
https://api.github.com/repos/chakra-core/ChakraCore/issues/6486/comments
1
2020-07-14T16:37:27Z
2020-12-16T22:12:31Z
https://github.com/chakra-core/ChakraCore/issues/6486
656,748,412
6,486
[ "chakra-core", "ChakraCore" ]
Version: `ch version 1.12.0.0-beta` Git hash: `33db8efd9f02cd528a7305391d7d10765a2e85f3` POC: ```javascript function opt ( arr , arr2 ) { arr [ 0 ] = 1.100000 ; Math . max . apply ( Math , arr2 ) ; arr [ 0 ] = 0.000000 ; } function main ( ) { let arr = [ 1.10...
Assertion ArgList too large failed in ChakraCore/lib/Runtime/Base/CallInfo.cpp
https://api.github.com/repos/chakra-core/ChakraCore/issues/6485/comments
0
2020-07-12T21:36:31Z
2020-07-12T21:36:31Z
https://github.com/chakra-core/ChakraCore/issues/6485
655,481,188
6,485
[ "chakra-core", "ChakraCore" ]
POC: ```javascript function a() { try { for (; Error << Error;) try { } finally { continue } } finally { } } for (;;) a() ``` ch version: `ch version 1.12.0.0-beta`, git hash `33db8efd9f02cd528a7305391d7d10765a2e85f3`
ASSERTION : (/home/yongheng/ChakraCore/lib/Backend/FlowGraph.cpp, line 1814) !this->func->DoGlobOpt()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6483/comments
0
2020-07-04T17:28:05Z
2020-07-04T17:28:05Z
https://github.com/chakra-core/ChakraCore/issues/6483
650,927,670
6,483
[ "chakra-core", "ChakraCore" ]
POC: ```javascript function a() { for (b = 0; b;) try { for (;;) if (b) try { } finally { continue } } finally { } } for (;;) a() ``` ch version: `ch version 1.12.0.0-beta`, git hash `33db8efd9f02cd528a7305391d7d10765a2e85f3` In...
ASSERTION 19984: (/home/yongheng/ChakraCore/lib/Backend/FlowGraph.cpp, line 3959) succ->loop == nullptr || succ->loop->IsDescendentOrSelf(loop)
https://api.github.com/repos/chakra-core/ChakraCore/issues/6482/comments
0
2020-07-04T17:25:41Z
2020-07-14T03:42:08Z
https://github.com/chakra-core/ChakraCore/issues/6482
650,927,293
6,482
[ "chakra-core", "ChakraCore" ]
Hi, when using the JSRT API, a call to `JsGetOwnPropertyNames()` returns an array which length property is undefined. This is different from `Object.getOwnPropertyNames()`, which returns an array with the appropriate array. Chakracore version 1.11.20 windows x64 see [repository](https://github.com/manxboy/ch...
JsGetOwnPropertyNames returns an array with a undefined length
https://api.github.com/repos/chakra-core/ChakraCore/issues/6481/comments
1
2020-07-04T02:44:42Z
2020-07-05T20:30:21Z
https://github.com/chakra-core/ChakraCore/issues/6481
650,814,646
6,481
[ "chakra-core", "ChakraCore" ]
When the `obj` is `this` and the method `Object.prototype.hasOwnProperty` has no arguments, other engines like V8, spiderMonkey, and javascriptCore pass a default value and get an output with a value of `true`, while chakraCore gets a `false`. Is this an issue about the default parameter? #### version ``` v1....
A question about Object.prototype.hasOwnProperty
https://api.github.com/repos/chakra-core/ChakraCore/issues/6477/comments
1
2020-07-01T12:23:41Z
2020-09-05T01:02:14Z
https://github.com/chakra-core/ChakraCore/issues/6477
648,939,722
6,477
[ "chakra-core", "ChakraCore" ]
Hello, running following code in ch 1.11.19 debug version. An Assertion will be throw. ``` 'use strict'; function func(b, c) { b[0] = c; } function main() { let b = new Uint32Array(100); for (let i = 0; i < 1000; i++) { i += 1; i += 0; func(b, {}); } } main(); ``...
Wrong Assertion in GlobOpt::CollectMemOpInfo
https://api.github.com/repos/chakra-core/ChakraCore/issues/6476/comments
1
2020-07-01T04:09:48Z
2020-11-03T14:03:14Z
https://github.com/chakra-core/ChakraCore/issues/6476
648,656,072
6,476
[ "chakra-core", "ChakraCore" ]
Hello, I run following code in ch 1.11.19(debug) in Ubuntu, it will cause a crash by an assertion. ``` options_945 = { maximumSignificantDigits: 1 }; const pr_069 = new Intl.PluralRules('en', options_945); expected_486 = pr_069.select(12); ``` ...
ASSERTION fails in Intl.PluralRules.select()
https://api.github.com/repos/chakra-core/ChakraCore/issues/6475/comments
1
2020-07-01T03:55:01Z
2021-03-23T02:30:48Z
https://github.com/chakra-core/ChakraCore/issues/6475
648,651,488
6,475
[ "chakra-core", "ChakraCore" ]
POC: ```javascript function c ( d , e ) { d . b = {4 : 1 }; d . a = e; } for(;;) { let d = { get f () { eval ( undefined ) } , b : 2 } c ( d, d) } ``` ch version: `ch version 1.12.0.0-beta`, git hash `33d...
ASSERTION 17123: (/home/yongheng/ChakraCore/lib/Backend/Lower.cpp, line 7229) false Failure: (false)
https://api.github.com/repos/chakra-core/ChakraCore/issues/6474/comments
1
2020-06-30T00:09:59Z
2020-07-26T23:31:35Z
https://github.com/chakra-core/ChakraCore/issues/6474
647,749,252
6,474
[ "chakra-core", "ChakraCore" ]
POC: ```javascript function a() { for (; 0;) switch (b) { case c: try { try { for (;;) try { } finally { switch (2) { case d: try { } catch { break } ...
ASSERTION 31891: (/home/yongheng/ChakraCore/lib/Backend/FlowGraph.cpp, line 2090) this->func->IsLoopBodyInTry() Failure: (this->func->IsLoopBodyInTry())
https://api.github.com/repos/chakra-core/ChakraCore/issues/6473/comments
1
2020-06-30T00:02:14Z
2020-06-30T02:36:09Z
https://github.com/chakra-core/ChakraCore/issues/6473
647,746,595
6,473
[ "chakra-core", "ChakraCore" ]
POC: ```javascript function Module() { 'use asm'; function f() { } return f; } function recur() { try { recur(); } catch (e) { Module(1); } } recur(); ``` ch version: `ch version 1.12.0.0-beta`, git hash `33db8efd9f02cd528a7305391d7d10765a2e85f3` ...
FatalInternalError in ReparseAsmJsModule
https://api.github.com/repos/chakra-core/ChakraCore/issues/6472/comments
3
2020-06-29T06:17:56Z
2020-06-29T19:51:05Z
https://github.com/chakra-core/ChakraCore/issues/6472
647,145,500
6,472
[ "chakra-core", "ChakraCore" ]
What would be the procedure to simply build the library statically, so I don't have to distribute the DLL with the executable? I tried opening the the provided solution file, going to the ChakraCore project's property pages and changing the Configuration Type from Dynamic Library (.DLL) to Static Library (.LIB). It did...
Building Chakra-Core statically through VS 2019 under Windows
https://api.github.com/repos/chakra-core/ChakraCore/issues/6471/comments
2
2020-06-26T03:56:24Z
2020-06-30T02:42:10Z
https://github.com/chakra-core/ChakraCore/issues/6471
645,989,049
6,471
[ "chakra-core", "ChakraCore" ]
According to ES10, it is a Syntax Error if`IsCharacterClass` of [ClassAtomNoDash](https://tc39.es/ecma262/#prod-ClassAtomNoDash) is true or `IsCharacterClass` of [ClassAtom](https://tc39.es/ecma262/#prod-ClassAtom) is true. But when executing the testcase below, I get the output `h,e,l,l,o,w,o,r,l,d`. So I wonder i...
A question about Regular Expression ClassRanges match
https://api.github.com/repos/chakra-core/ChakraCore/issues/6470/comments
1
2020-06-22T10:18:55Z
2020-12-14T18:37:46Z
https://github.com/chakra-core/ChakraCore/issues/6470
642,944,527
6,470
[ "chakra-core", "ChakraCore" ]
```cpp // Project2.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。 // #include <iostream> #include <string> #include "ChakraCore.h" using namespace std; int main() { JsRuntimeHandle runtime; JsContextRef context; JsValueRef result; unsigned currentSourceContext = 0; // Your script, try replace the ba...
Why does the exception object have no stack attribute
https://api.github.com/repos/chakra-core/ChakraCore/issues/6469/comments
3
2020-06-22T09:24:31Z
2020-12-14T18:37:29Z
https://github.com/chakra-core/ChakraCore/issues/6469
642,905,792
6,469
[ "chakra-core", "ChakraCore" ]
Does ChakraCore now support linux arm or arm64 architecture compilation? ![1](https://user-images.githubusercontent.com/20411721/85120535-f32d0680-b255-11ea-91c8-924a14fbd3f7.png)
ubuntu16.04 aarch64, not found makefile
https://api.github.com/repos/chakra-core/ChakraCore/issues/6468/comments
9
2020-06-19T09:55:56Z
2020-12-05T17:37:27Z
https://github.com/chakra-core/ChakraCore/issues/6468
641,851,189
6,468
[ "chakra-core", "ChakraCore" ]
When performing a differential test about the testcase below, When`setFloat64` only has one argument, other engines like V8, spiderMonkey, and javascriptCore pass a default value as the second argument, while chakraCore throws a TypeError. Will this situation cause code portability issues? #### version ``` v1.11....
A question about Data.prototype.setFloat64
https://api.github.com/repos/chakra-core/ChakraCore/issues/6467/comments
1
2020-06-16T13:11:44Z
2020-06-16T16:54:57Z
https://github.com/chakra-core/ChakraCore/issues/6467
639,653,254
6,467
[ "chakra-core", "ChakraCore" ]
I tried to compile ChakraCore in Ubuntu 20.04 following the build instructions for Linux. I got below error. I follow same procedure in Ubuntu 16.04 and I was able to compile without any issue. Any clue about below error? Thank you! -- Configuring done -- Generating done -- Build files have been written to:...
Ubuntu 20.04, Clang 10 build failure
https://api.github.com/repos/chakra-core/ChakraCore/issues/6466/comments
8
2020-06-12T21:46:37Z
2021-02-12T09:41:26Z
https://github.com/chakra-core/ChakraCore/issues/6466
638,018,772
6,466
[ "chakra-core", "ChakraCore" ]
In _test/Error/errorNum.js_ the numvar.toPrecision(0) should have an argument at least 1, but here it has 0. ![image](https://user-images.githubusercontent.com/22259701/84071649-bb60cc00-a9d6-11ea-8733-0f5e5d8ebf88.png)
toPrecision() with incorrect argument
https://api.github.com/repos/chakra-core/ChakraCore/issues/6462/comments
1
2020-06-08T19:26:00Z
2020-06-08T22:57:56Z
https://github.com/chakra-core/ChakraCore/issues/6462
634,876,174
6,462
[ "chakra-core", "ChakraCore" ]
###### Version chakra-1.11.8 ###### Test case ```js var NISLFuzzingFunc = function(){ print(typeof Symbol()); print(Symbol().valueOf()); }; NISLFuzzingFunc(); ``` ###### Execution steps ./ChakraCore/out/Debug/ch testcase.js ###### Output ``` symbol TypeError: No implicit conver...
A question about Symbol().valueOf
https://api.github.com/repos/chakra-core/ChakraCore/issues/6461/comments
1
2020-06-08T14:33:27Z
2020-06-08T23:17:44Z
https://github.com/chakra-core/ChakraCore/issues/6461
634,670,967
6,461
[ "chakra-core", "ChakraCore" ]
Hello, This regexp is not valid, but chakra pass without throw a syntax error. version: 1.11.19 OS: Linux Ubuntu 19.10 x64 steps to reproduce: ``` var x = /[\u{61}-b]b]/u; ^ ``` Actual results: ``` pass without errors ``` Expected results: ``` SyntaxError: raw bracket is not allo...
Raw bracket is not allowed in regular expression with unicode flag
https://api.github.com/repos/chakra-core/ChakraCore/issues/6460/comments
0
2020-06-08T04:45:58Z
2020-06-08T22:59:37Z
https://github.com/chakra-core/ChakraCore/issues/6460
634,129,951
6,460
[ "chakra-core", "ChakraCore" ]
Hi everyone, I found a case of redeclaration of a generator function inside a block definition. version: 1.11.19 OS: Linux Ubuntu 19.10 x64 steps to reproduce: { function* f() { yield 1 } function f() { print(2) } } f() Actual results: 2 Expected results: SyntaxError: Identifier 'f' has al...
Redeclaration of a function* inside a block definition
https://api.github.com/repos/chakra-core/ChakraCore/issues/6459/comments
2
2020-06-08T03:06:01Z
2020-06-09T01:59:08Z
https://github.com/chakra-core/ChakraCore/issues/6459
634,042,906
6,459
[ "chakra-core", "ChakraCore" ]
Hello, I run following code in ch 1.11.19(debug),and it will crash by an assertion. ``` let b = [1.1, 2.2, 3.3]; b[4294967294] = 3; Array.prototype.copyWithin.call(b, 0, 1); ``` Crash output: ``` ASSERTION 7690: (/.../ChakraCore-1.11.19/lib/Runtime/Library/JavascriptArray.cpp, line 9309) direction == -1 || (f...
ASSERTION fails in Array.prototype.copyWithin
https://api.github.com/repos/chakra-core/ChakraCore/issues/6458/comments
7
2020-06-08T01:32:22Z
2024-07-29T23:51:18Z
https://github.com/chakra-core/ChakraCore/issues/6458
633,963,925
6,458
[ "chakra-core", "ChakraCore" ]
###### ChakraCore version: version 1.12.0.0-beta ###### Build Commond ./build.sh --debug ###### OS Ubuntu 16.04.6 LTS (Linux 4.4.0-142-generic x86_64) ###### Test case ``` function opt(arr, start, end) { for (let i = start; i < end; i++) { if (i === 10) { i += 0; } ...
ASSERTION failed in GlobOpt::CollectMemOpInfo
https://api.github.com/repos/chakra-core/ChakraCore/issues/6455/comments
1
2020-06-02T02:44:35Z
2020-06-09T03:20:28Z
https://github.com/chakra-core/ChakraCore/issues/6455
628,857,361
6,455
[ "chakra-core", "ChakraCore" ]
###### ChakraCore version: version 1.12.0.0-beta ###### Build Commond ./build.sh --debug ###### OS Ubuntu 16.04.6 LTS (Linux 4.4.0-142-generic x86_64) ###### Test case ``` function foo() { 'use asm'; function f(d0) { d0 = +d0; return 1 % (~~d0 >>> 0) | 0; } return f; } foo(); WScr...
ASSERTION (VarIs<T>(obj)) failed in Js::VarTo
https://api.github.com/repos/chakra-core/ChakraCore/issues/6454/comments
1
2020-06-01T09:18:24Z
2020-06-09T03:11:07Z
https://github.com/chakra-core/ChakraCore/issues/6454
628,281,297
6,454