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"
] | ###### ChakraCore version:
```
Checked revision: 39f9727ef
Build command: ./build.sh --debug
```
###### OS:
```
Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic
```
###### Test case:
```js
WScript.LoadScriptFile(Error, Symbol.isConcatSpreadable);
```
###### Backtrace:
```text
ASSERTI... | ASSERTION (this->threadContext->GetRecordedException() == nullptr || GetThreadContext()->HasUnhandledException()) failed in Js::ScriptContext::RecordException | https://api.github.com/repos/chakra-core/ChakraCore/issues/6007/comments | 0 | 2019-03-09T11:55:50Z | 2019-03-11T00:57:32Z | https://github.com/chakra-core/ChakraCore/issues/6007 | 419,064,127 | 6,007 |
[
"chakra-core",
"ChakraCore"
] | ###### ChakraCore version:
```
Checked revision: 39f9727ef
Build command: ./build.sh --debug
```
###### OS:
```
Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic
```
###### Test case:
```js
function write() {
var y = function() {};
Object.prototype["qfxhma"] = function(){ throw ... | ASSERTION (instrPrev->IsBranchInstr() && instrPrev->AsBranchInstr()->IsConditional() && (!instrPrev->AsBranchInstr()->GetTarget()->isOpHelper || instrPrev->AsBranchInstr()->GetTarget()->m_noHelperAssert)) failed in DbCheckPostLower::Check | https://api.github.com/repos/chakra-core/ChakraCore/issues/6006/comments | 1 | 2019-03-09T11:21:19Z | 2019-06-07T18:24:52Z | https://github.com/chakra-core/ChakraCore/issues/6006 | 419,061,073 | 6,006 |
[
"chakra-core",
"ChakraCore"
] | ###### ChakraCore version:
```
Checked revision: 39f9727ef
Build command: ./build.sh --debug
```
###### OS:
```
Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic
```
###### Test case:
```js
var tests = [0, 0];
tests.forEach(function() {
var eval = WScript.LoadScript(0, "samethread").e... | ASSERTION (!frameObject || VarIsCorrectType(frameObject) failed in Js::HeapArgumentsObject::HeapArgumentsObject | https://api.github.com/repos/chakra-core/ChakraCore/issues/5998/comments | 0 | 2019-03-08T11:30:17Z | 2019-03-11T00:57:04Z | https://github.com/chakra-core/ChakraCore/issues/5998 | 418,749,297 | 5,998 |
[
"chakra-core",
"ChakraCore"
] | ###### ChakraCore version:
```
Checked revision: 39f9727ef
Build command: ./build.sh --debug
```
###### OS:
```
Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic
```
###### Test case:
```js
(function() {
(function outer() {
function $() {
var $ = outer
}
... | ASSERTION (scopeSlotCount != 0) failed in Js::InterpreterStackFrame::NewScopeSlots | https://api.github.com/repos/chakra-core/ChakraCore/issues/5997/comments | 1 | 2019-03-08T09:50:40Z | 2019-03-11T00:56:22Z | https://github.com/chakra-core/ChakraCore/issues/5997 | 418,712,096 | 5,997 |
[
"chakra-core",
"ChakraCore"
] | ###### ChakraCore version:
```
Checked revision: 39f9727ef
Build command: ./build.sh --debug
```
###### OS:
```
Linux-4.15.0-43-generic-x86_64-with-Ubuntu-18.04-bionic
```
###### Test case:
```js
function $() {
"use asm"
( );
return
}
```
###### Backtrace:
```text
ASSERTIO... | ASSERTION (lhs->nop == knopStr) failed in Js::ParserWrapper::ParseVarOrConstStatement | https://api.github.com/repos/chakra-core/ChakraCore/issues/5996/comments | 0 | 2019-03-08T09:41:57Z | 2019-04-08T18:17:35Z | https://github.com/chakra-core/ChakraCore/issues/5996 | 418,708,765 | 5,996 |
[
"chakra-core",
"ChakraCore"
] | The release build crashes due to null dereference and debug build crashes with assertion failure at lib/Parser/Parse.cpp:9364.
PoC:
```
for ([(Object => {}).var_0[[]]] in []);
```
Commit: 39f9727
Build Option: None
OS: Ubuntu 18.04.1 LTS
Arch: x86_64 | Assertion failure at lib/Parser/Parse.cpp:9364 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5995/comments | 1 | 2019-03-08T08:11:09Z | 2019-03-08T08:16:27Z | https://github.com/chakra-core/ChakraCore/issues/5995 | 418,678,397 | 5,995 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes with assertion failure at lib/Parser/Parse.cpp:7491.
PoC:
```
for (var var_01 = () => [].var_02[0][0](function (x, y) {}().var_03) in var_04) {
// \0asm\x01\0\0\0\x01À\x80\x80\x80\0\r`\x02\x7F\x7F\x01\x7F`\x02~~\x01\x7F`\x02}}\x01\x7F`\x02||\x01\x7F`\0\0`\0\x01\x7F`\0\x01~`\0\x01}`\0\x01|`\x... | Assertion failure at lib/Parser/Parse.cpp:7491 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5994/comments | 0 | 2019-03-08T07:27:43Z | 2019-04-11T19:14:29Z | https://github.com/chakra-core/ChakraCore/issues/5994 | 418,666,051 | 5,994 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes with assertion failure at lib/Common/Common/NumberUtilities_strtod.cpp:2725.
PoC:
```
var var_0 = new Array(1024);
for (var var_1 = 0; ; var_1 += 1024) {
var_0[var_1] = String.fromCodePoint(var_1);
}
```
Commit: 39f9727
Build Option: None
OS: Ubuntu 18.04.1 LTS
Arch: x86_64 | Assertion failure at lib/Common/Common/NumberUtilities_strtod.cpp:2725 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5993/comments | 1 | 2019-03-08T05:41:37Z | 2019-04-16T00:20:43Z | https://github.com/chakra-core/ChakraCore/issues/5993 | 418,640,346 | 5,993 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes at lib/Backend/BackwardPass.cpp:7871.
PoC:
```
func_0().d0();
function func_0() { ... | Assertion failure at lib/Backend/BackwardPass.cpp:7871 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5990/comments | 0 | 2019-03-06T06:34:25Z | 2019-04-16T00:19:50Z | https://github.com/chakra-core/ChakraCore/issues/5990 | 417,645,263 | 5,990 |
[
"chakra-core",
"ChakraCore"
] | Hello,
I run following code in ch 1.11.6.0, the result is wrong. TypeError should be thrown when returns duplicate entries.
```
var proxy = new Proxy({}, {
ownKeys: function(target) {
print("in ownKeys");
return ['a','b','a'];
},
});
print(Reflect.ownKeys(proxy));
print("BT_FLAG");
```
Sp... | Wrong Realization of Reflect.ownKeys | https://api.github.com/repos/chakra-core/ChakraCore/issues/5988/comments | 1 | 2019-03-05T06:27:56Z | 2019-03-11T17:29:52Z | https://github.com/chakra-core/ChakraCore/issues/5988 | 417,138,400 | 5,988 |
[
"chakra-core",
"ChakraCore"
] | If there are many module scripts `<script type="module">` in the web page, Edge will load these scripts but not execute them.
## Edge version
- Edge 44.17763.1.0
- EdgeHTML 18.17763
## Minimal reproducible example
https://gist.github.com/5fe16e41e153c2c41575c88ee1bea778.git
## Steps
open the page and devt... | Edge not execute scripts if there are many module scripts | https://api.github.com/repos/chakra-core/ChakraCore/issues/5986/comments | 2 | 2019-03-02T04:49:19Z | 2019-03-05T20:12:00Z | https://github.com/chakra-core/ChakraCore/issues/5986 | 416,357,897 | 5,986 |
[
"chakra-core",
"ChakraCore"
] | There seems to be an issue after upgrading to emscripten v1.38.28 within the Mono WASM implementation. There are random `Abort trap: 6` failures while running against the Chakra engine.
Previous versions of emscripten have been working and the other engines that we test against work fine.
The issue from the Mono... | [WebAssembly] Abort failure - Abort trap: 6 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5985/comments | 7 | 2019-03-01T09:13:09Z | 2019-03-12T04:49:12Z | https://github.com/chakra-core/ChakraCore/issues/5985 | 416,007,813 | 5,985 |
[
"chakra-core",
"ChakraCore"
] | Looks like JSON.parse() may have a problem when reporting a syntax error for strings of 10M or more characters. For example, if json is a long string followed by a comma (invalid character), the following script run in ch.exe should report syntax error, but instead the process seems to crash and nothing is logged after... | JSON.parse() crashes on strings of 10M characters | https://api.github.com/repos/chakra-core/ChakraCore/issues/5975/comments | 1 | 2019-02-27T08:40:41Z | 2019-07-10T18:36:45Z | https://github.com/chakra-core/ChakraCore/issues/5975 | 415,005,492 | 5,975 |
[
"chakra-core",
"ChakraCore"
] | I discovered an incompatibility in handling of the segmentation fault signal between the ChakraCore engine and CoreCLR. The issue IMO impacts all recent ChakraCore versions. It is triggered by a segmentation fault in user code (e.g. any `NullReferenceException`) in a CoreCLR-driven process and manifests itself as a sta... | Incompatibility in handling of SIGSEGV between ChakraCore and CoreCLR | https://api.github.com/repos/chakra-core/ChakraCore/issues/5973/comments | 21 | 2019-02-26T08:51:31Z | 2020-12-05T20:20:18Z | https://github.com/chakra-core/ChakraCore/issues/5973 | 414,496,022 | 5,973 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes due to assertion failure at lib/Backend/BackwardPass.cpp:2097.
PoC:
```
(function () {
var var_0 = Math.floor;
for (var_1 = 3; var_1 <= 0x1000; var_1 += 2) { ... | Assertion failure at lib/Backend/BackwardPass.cpp:2097 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5971/comments | 0 | 2019-02-25T00:48:46Z | 2019-04-18T20:20:53Z | https://github.com/chakra-core/ChakraCore/issues/5971 | 413,891,950 | 5,971 |
[
"chakra-core",
"ChakraCore"
] | Hi,
Sadly I can't reproduce the issue in minimal way but the behavior I'm experiencing in edge 44 is that a function prototype is being changed without any triggers from my side.
This is the basic idea of the broken setup.
I have a factory of functions:
```js
function create(value, obj){
...
function... | Wrong function prototype lookup after setPrototypeOf | https://api.github.com/repos/chakra-core/ChakraCore/issues/5970/comments | 1 | 2019-02-24T15:41:38Z | 2020-03-26T23:01:21Z | https://github.com/chakra-core/ChakraCore/issues/5970 | 413,834,833 | 5,970 |
[
"chakra-core",
"ChakraCore"
] | Hi everyone,
running this test case, it was observed that Chakra didn't raised a WASM.CompileError due 31 offset.
Charka: 1.11.6.0
OS: Linux Mint 19
```js
function module(bytes) {
let buffer = new ArrayBuffer(bytes.length);
let view = new Uint8Array(buffer);
for (let i = 0; i < bytes.length; ++i) {
... | Wasm should raises a CompileError due 31+ offset | https://api.github.com/repos/chakra-core/ChakraCore/issues/5968/comments | 1 | 2019-02-21T11:01:31Z | 2019-06-07T17:56:17Z | https://github.com/chakra-core/ChakraCore/issues/5968 | 412,866,997 | 5,968 |
[
"chakra-core",
"ChakraCore"
] | I'm using Microsoft Edge 42.17134.1.0.
Following code shows unexpected result with Microsoft Edge.
```
x1 = 0.015;
x2 = 0.045;
console.log(x1.toFixed(2)); // Edge: 0.02, Chrome: 0.01
console.log(x2.toFixed(2)); // Edge: 0.05, Chrome: 0.04
```
ECMAScript specification requires that `Number.prototype.toFixe... | Number.prototype.toFixed() sometimes rounds to non-closest value | https://api.github.com/repos/chakra-core/ChakraCore/issues/5960/comments | 1 | 2019-02-18T10:11:41Z | 2019-02-21T18:48:44Z | https://github.com/chakra-core/ChakraCore/issues/5960 | 411,397,737 | 5,960 |
[
"chakra-core",
"ChakraCore"
] | I'm using Microsoft Edge 42.17134.1.0.
I noticed some bug in `Number.prototype.toFixed()`. For example, following code shows unexpected result on Microsoft Edge.
```javascript
x = 1125899906842623.9;
console.log(x.toFixed(2)); // Edge: 1125899906842623.90, Chrome: 1125899906842623.88
```
Microsoft Edge (and... | Number.prototype.toFixed() against big numbers doesn't have enough precision. | https://api.github.com/repos/chakra-core/ChakraCore/issues/5959/comments | 1 | 2019-02-18T08:01:45Z | 2019-02-21T18:49:22Z | https://github.com/chakra-core/ChakraCore/issues/5959 | 411,345,960 | 5,959 |
[
"chakra-core",
"ChakraCore"
] | ```
curl -SL https://aka.ms/chakracore/install | bash
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:00:03 --:--:-- 0
100 5290 100 5290 ... | Install ChakraCore 1.11.5 failed (missing shasum file) | https://api.github.com/repos/chakra-core/ChakraCore/issues/5958/comments | 2 | 2019-02-15T06:31:10Z | 2019-02-19T19:17:30Z | https://github.com/chakra-core/ChakraCore/issues/5958 | 410,624,739 | 5,958 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes due to assertion failure at lib/Runtime/Library/WasmLibrary.cpp:86.
```
var wasmCode = new Uint8Array([0,97,115,109,1,0,0,0,1,5,1,96,0,1,127,3,2,1,0,5,4,1,1,0,0,7,5,1,1,102,0,0,10,6,1,4,0,0,11,11,0,11,4,110,97,109,101,1,4,1,0,1,102]);
var wasmModule = new WebAssembly.Module(wasmCode); ... | Assertion failure at lib/Runtime/Library/WasmLibrary.cpp:86 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5956/comments | 0 | 2019-02-14T20:47:09Z | 2019-02-20T22:14:58Z | https://github.com/chakra-core/ChakraCore/issues/5956 | 410,485,072 | 5,956 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes due to assertion failure at lib/Backend/NativeCodeGenerator.cpp:957
PoC:
```
function func_0() {
var wasmCode = new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,1,127,1,127,3,2,1,0,5,4,1,1,1,1,7,8,1,4,108,111,97,100,0,0,10,9,1,... | Assertion failure at lib/Backend/NativeCodeGenerator.cpp:957 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5955/comments | 0 | 2019-02-14T20:15:15Z | 2019-03-05T23:15:23Z | https://github.com/chakra-core/ChakraCore/issues/5955 | 410,473,260 | 5,955 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes due to assertion failure at lib/Runtime/Types/PathTypeHandler.h:493.
PoC:
```
var var_0 = {
get foo() {},
foo: 2 ... | Assertion failure at lib/Runtime/Types/PathTypeHandler.h:493 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5954/comments | 1 | 2019-02-14T16:37:50Z | 2019-02-28T22:11:32Z | https://github.com/chakra-core/ChakraCore/issues/5954 | 410,388,374 | 5,954 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes due to assertion failure at lib/Backend/GlobOpt.cpp:10251.
PoC:
```
for (;;){
var_0 = 0;
if (var_0) ... | Assertion failure at lib/Backend/GlobOpt.cpp:10251 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5953/comments | 1 | 2019-02-14T16:33:40Z | 2019-04-05T00:41:18Z | https://github.com/chakra-core/ChakraCore/issues/5953 | 410,386,542 | 5,953 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes due to assertion failure at lib/Runtime/Types/PathTypeHandler.cpp:3877.
PoC:
```
(function () {
function func_0() {
} ... | Assertion failure at lib/Runtime/Types/PathTypeHandler.cpp:3877 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5952/comments | 1 | 2019-02-14T16:29:33Z | 2019-03-04T19:57:31Z | https://github.com/chakra-core/ChakraCore/issues/5952 | 410,384,583 | 5,952 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes due to assertion failure at lib/Runtime/./Language/InlineCache.h:471.
PoC:
```
JSON.stringify({}, [0]);
JSON.stringify({0: {}}, [0]);
```
Commit: e055dbb
Build Option: None
OS: Ubuntu 18.04.1 LTS
Arch: x86_64 | Assertion failure at lib/Runtime/Language/InlineCache.h:471 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5951/comments | 0 | 2019-02-14T16:21:21Z | 2019-03-11T22:46:25Z | https://github.com/chakra-core/ChakraCore/issues/5951 | 410,380,627 | 5,951 |
[
"chakra-core",
"ChakraCore"
] | The debug build crashes due to assertion failure at lib/Backend/BackwardPass.cpp:2673
PoC:
```
(function () {
while (!(arguments !== arguments));
})();
```
Commit: e055dbb
Build Option: None
... | Assertion failure at lib/Backend/BackwardPass.cpp:2673 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5950/comments | 0 | 2019-02-14T16:11:39Z | 2019-04-16T00:20:43Z | https://github.com/chakra-core/ChakraCore/issues/5950 | 410,375,957 | 5,950 |
[
"chakra-core",
"ChakraCore"
] | The debug build fails with assertion failure at lib/Runtime/Library/JavascriptPromise.cpp:648
PoC:
```
var var_0 = new Promise(function () {});
var var_1 = function () {};
... | Assertion failure at lib/Runtime/Library/JavascriptPromise.cpp:648 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5949/comments | 0 | 2019-02-14T16:07:56Z | 2019-03-12T00:15:14Z | https://github.com/chakra-core/ChakraCore/issues/5949 | 410,374,123 | 5,949 |
[
"chakra-core",
"ChakraCore"
] | The debug build of ChakraCore crashes with assertion failure.
PoC:
```
(function () {
function func_0() {
} ... | Assertion failure at lib/Runtime/Language/CacheOperators.inl:367 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5948/comments | 1 | 2019-02-14T15:52:36Z | 2019-06-24T19:50:03Z | https://github.com/chakra-core/ChakraCore/issues/5948 | 410,366,565 | 5,948 |
[
"chakra-core",
"ChakraCore"
] | Chakra failed with lots of errors when build with permissive- by msvc on Windows, I use latest source version c95f834 on master branch. Could you please help take a look at this? Noted that this issue only found when compiles with unreleased vctoolset, that next release of MSVC will have this behavior.
**You can rep... | Chakra failed when build with permissive- by msvc on Windows | https://api.github.com/repos/chakra-core/ChakraCore/issues/5947/comments | 1 | 2019-02-14T10:07:14Z | 2019-03-02T01:32:00Z | https://github.com/chakra-core/ChakraCore/issues/5947 | 410,221,299 | 5,947 |
[
"chakra-core",
"ChakraCore"
] | [jsvu](https://github.com/GoogleChromeLabs/jsvu) relies on the binaries being mentioned in the release notes with the specific format, the latest 1.11.6 doesn't have them at all.
Compare 1.11.6: https://github.com/Microsoft/ChakraCore/releases/tag/v1.11.6
To 1.11.5: https://github.com/Microsoft/ChakraCore/releases/... | Release notes for ChakraCore 1.11.6 don't contain binaries, breaking jsvu | https://api.github.com/repos/chakra-core/ChakraCore/issues/5945/comments | 11 | 2019-02-13T20:31:21Z | 2019-02-19T19:31:06Z | https://github.com/chakra-core/ChakraCore/issues/5945 | 409,988,151 | 5,945 |
[
"chakra-core",
"ChakraCore"
] | The release build of ChakraCore crashes due to null dereferencing.
PoC:
```
function func_0() {
try {
var var_0 = arguments; ... | ChakraCore crashes due to another null dereference | https://api.github.com/repos/chakra-core/ChakraCore/issues/5944/comments | 2 | 2019-02-13T13:12:33Z | 2019-06-07T18:23:08Z | https://github.com/chakra-core/ChakraCore/issues/5944 | 409,798,590 | 5,944 |
[
"chakra-core",
"ChakraCore"
] | Debug build of ChakraCore crashes due to assertion failure at bin/ch/Debugger.cpp:412
PoC:
```
function func_0() {
(function () {
eval(''); ... | Assertion Failure at bin/ch/Debugger.cpp:412 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5943/comments | 1 | 2019-02-13T12:48:47Z | 2019-02-21T18:52:18Z | https://github.com/chakra-core/ChakraCore/issues/5943 | 409,789,271 | 5,943 |
[
"chakra-core",
"ChakraCore"
] | Debug build of ChakraCore crashes due to assertion failure at lib/Runtime/./Base/Utf8SourceInfo.h:61.
PoC:
```
function func_0() {
'use asm';
} ... | Assertion Failure at lib/Runtime/Base/Utf8SourceInfo.h:61 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5942/comments | 3 | 2019-02-13T11:57:35Z | 2019-03-11T19:18:41Z | https://github.com/chakra-core/ChakraCore/issues/5942 | 409,769,915 | 5,942 |
[
"chakra-core",
"ChakraCore"
] | Both release and debug build of ChakraCore crashes due to the null dereferencing.
PoC:
```
function func_0(f) {
(function (r) {
WScript.Attach(r); ... | ChakraCore crashes due to null dereference | https://api.github.com/repos/chakra-core/ChakraCore/issues/5941/comments | 1 | 2019-02-13T10:44:44Z | 2019-02-21T18:50:38Z | https://github.com/chakra-core/ChakraCore/issues/5941 | 409,740,003 | 5,941 |
[
"chakra-core",
"ChakraCore"
] | Given the extremely simple (albeit contrived) script:
`var arr=[];for(var i=0;i<1000000000;i++) arr.push(i);`
This will apparently crash the process that is executing it. I did not see any obvious way in the API to prevent this, however. Am I overlooking something, is this a shortcoming in the current API, or ... | Is there a way to stop a js script from crashing the application? | https://api.github.com/repos/chakra-core/ChakraCore/issues/5921/comments | 7 | 2019-01-26T15:37:34Z | 2020-03-26T22:52:04Z | https://github.com/chakra-core/ChakraCore/issues/5921 | 403,452,788 | 5,921 |
[
"chakra-core",
"ChakraCore"
] | Hey there! I authored / maintain a web framework (https://derbyjs.com/). We use `Object.setPrototypeOf()` in a manner similar to how Node.js `util.inherits()` is implemented. This pattern is also demonstrated in the MDN docs for `Object.setPrototypeOf()`: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Referenc... | instanceof returns incorrect result within function after prototype chain has been extended with Object.setPrototypeOf() | https://api.github.com/repos/chakra-core/ChakraCore/issues/5915/comments | 6 | 2019-01-18T17:47:09Z | 2022-10-18T15:52:52Z | https://github.com/chakra-core/ChakraCore/issues/5915 | 400,825,860 | 5,915 |
[
"chakra-core",
"ChakraCore"
] | ```
arr = new Float64Array([NaN]);
arr = new Uint8ClampedArray(arr.buffer);
// output:
// ch bug.js: arr = [0,0,0,0,0,0,248,255]
// ch -NoNative bug.js: arr = [0,0,0,0,0,0,248,255]
arr = new Float64Array([-NaN]);
arr = new Uint8ClampedArray(arr.buffer);
// output:
// ch bug.js: ... | The negative NaN's sign bit is inconsistent when running -NoNative | https://api.github.com/repos/chakra-core/ChakraCore/issues/5906/comments | 0 | 2019-01-10T01:07:49Z | 2019-01-29T01:14:49Z | https://github.com/chakra-core/ChakraCore/issues/5906 | 397,630,983 | 5,906 |
[
"chakra-core",
"ChakraCore"
] | Fresh clone of https://github.com/Microsoft/ChakraCore.git.
Using Visual Studio 2017 Community with Visual C++ on Windows 10 Pro x64 (1809)
Open project
Set target to x64
138 build errors ("unknown attribute 'guard'", etc). Entire output attached.
[build log errors.txt](https://github.com/Microsoft/ChakraCore/fi... | Can't build on Visual Studio 2017 Community with Visual C++ 2017 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5904/comments | 3 | 2019-01-10T00:11:14Z | 2019-04-08T17:31:02Z | https://github.com/chakra-core/ChakraCore/issues/5904 | 397,619,336 | 5,904 |
[
"chakra-core",
"ChakraCore"
] | [jsvu](https://github.com/GoogleChromeLabs/jsvu) downloads ChakraCore from GitHub releases and uses the checksum embedded in the tag to verify the download. It appears they're expecting the checksum string to be lowercase `a-f` in their regex: https://github.com/GoogleChromeLabs/jsvu/blob/5da9253b29b813f1799368432cd4df... | ChakraCore 1.11.5 download broken on jsvu due to uppercase checksum | https://api.github.com/repos/chakra-core/ChakraCore/issues/5902/comments | 2 | 2019-01-09T13:25:51Z | 2019-01-14T18:37:32Z | https://github.com/chakra-core/ChakraCore/issues/5902 | 397,370,111 | 5,902 |
[
"chakra-core",
"ChakraCore"
] | To reproduce, release `arg1Info` and `arg2Info` in `WasmBytecodeGenerator::EmitV8X16Shuffle`:
```
ReleaseLocation(&arg2Info);
ReleaseLocation(&arg1Info);
```
This leads to `tests/wasm.simd/mathTests.js` to hit "Unitialized reg" assertion:
```
Function: func_i8x16_shuffle_test1[1] ( (#-1.1), #9) ... | Releasing arguments in EmitV8X16Shuffle triggers a crash | https://api.github.com/repos/chakra-core/ChakraCore/issues/5898/comments | 3 | 2019-01-08T18:24:42Z | 2019-01-28T21:37:17Z | https://github.com/chakra-core/ChakraCore/issues/5898 | 397,028,669 | 5,898 |
[
"chakra-core",
"ChakraCore"
] | Is it possible to handle the "Out of memory" error gracefully without having the process killed immediately? For example, when running out of stack space the "Out of stack space" exception is thrown, but it looks like when running out of memory the process crashes immediately.
Is this expected? Can anything be done ... | Handling out of memory error | https://api.github.com/repos/chakra-core/ChakraCore/issues/5892/comments | 2 | 2018-12-27T23:39:02Z | 2018-12-28T00:12:39Z | https://github.com/chakra-core/ChakraCore/issues/5892 | 394,510,749 | 5,892 |
[
"chakra-core",
"ChakraCore"
] | Release build of ChakraCore crashes due to the null dereferencing after the commit 34b8876ec.
The input JavaScript is as follows.
```
({a: b => []} = [2]);
```
$ file ch
ch: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, ... | ChakraCore crashes in lib/Parser/Parse.cpp | https://api.github.com/repos/chakra-core/ChakraCore/issues/5891/comments | 1 | 2018-12-27T17:22:24Z | 2019-03-12T20:07:03Z | https://github.com/chakra-core/ChakraCore/issues/5891 | 394,448,482 | 5,891 |
[
"chakra-core",
"ChakraCore"
] | When the right hand side of an `instanceof` expression is a bound function, then a `[Symbol.hasInstance]` property set on the original function doesn't seem to be looked up as expected.
This is the test code I'm running:
```js
class A {
static [Symbol.hasInstance]() {
console.log(this.name);
}... | instanceof with bound function should call [Symbol.hasInstance] | https://api.github.com/repos/chakra-core/ChakraCore/issues/5883/comments | 2 | 2018-12-19T05:36:14Z | 2019-05-21T20:30:03Z | https://github.com/chakra-core/ChakraCore/issues/5883 | 392,447,854 | 5,883 |
[
"chakra-core",
"ChakraCore"
] | Pulling this issue out of @fatcerberus comments in #5875 if you try to use dynamic import with Jsrt and set a FetchImportedModuleCallback BUT do not set a FetchImportedModuleFromScriptCallback using dynamic import in a script will trigger a nullptr de-ref.
**Proof of concept:**
```c
#include "ChakraCore.h"
#inclu... | Jsrt nullptr de-ref instead of error code | https://api.github.com/repos/chakra-core/ChakraCore/issues/5880/comments | 1 | 2018-12-17T13:16:35Z | 2024-05-16T22:11:17Z | https://github.com/chakra-core/ChakraCore/issues/5880 | 391,707,361 | 5,880 |
[
"chakra-core",
"ChakraCore"
] | I assume this is a point that is known internally - but it wasn't in the issue log on Github. Currently Generator functions and async functions are always run only in the interpreter.
There is a flag -Jites6Generators to enable jitting them - but using this always results in a crash in the Jit - it encounters an una... | Generators and Async functions are not jitted | https://api.github.com/repos/chakra-core/ChakraCore/issues/5877/comments | 3 | 2018-12-15T16:48:52Z | 2021-03-25T04:30:52Z | https://github.com/chakra-core/ChakraCore/issues/5877 | 391,393,571 | 5,877 |
[
"chakra-core",
"ChakraCore"
] | I couldn't find the answer to this in the wiki or docs if it is there I'm sorry for missing it.
If I run a debug build of ChakraCore on macOS it produces a lot of logging that is rarely of use to me, below is a sample but one run of ch from a debug build with any script at all produces about 5 times this amount :
`... | Question: running debug builds on xplat without logging? | https://api.github.com/repos/chakra-core/ChakraCore/issues/5876/comments | 6 | 2018-12-14T00:37:16Z | 2020-04-19T06:19:52Z | https://github.com/chakra-core/ChakraCore/issues/5876 | 390,919,130 | 5,876 |
[
"chakra-core",
"ChakraCore"
] | ```cc
JsSetModuleHostInfo(
_In_ JsModuleRecord requestModule,
_In_ JsModuleHostInfoKind moduleHostInfo,
_In_ void* hostInfo)
```
**Currently JsSetModuleHostInfo is used for two fundamentally different types of thing**
1. It is used to set properties relating to an individual module, when setting ... | Suggestion: Module API divide JsSetModuleHostInfo | https://api.github.com/repos/chakra-core/ChakraCore/issues/5875/comments | 7 | 2018-12-13T22:41:31Z | 2018-12-19T20:30:57Z | https://github.com/chakra-core/ChakraCore/issues/5875 | 390,892,290 | 5,875 |
[
"chakra-core",
"ChakraCore"
] | `JsCreateTypedArray` has the following signature in ChakraCore.h:
```c
CHAKRA_API
JsCreateTypedArray(
_In_ JsTypedArrayType arrayType,
_In_ JsValueRef baseArray,
_In_ unsigned int byteOffset,
_In_ unsigned int elementLength,
_Out_ JsValueRe... | JsCreateTypedArray has wrong SAL annotation | https://api.github.com/repos/chakra-core/ChakraCore/issues/5872/comments | 4 | 2018-12-13T06:21:16Z | 2018-12-13T23:15:22Z | https://github.com/chakra-core/ChakraCore/issues/5872 | 390,534,390 | 5,872 |
[
"chakra-core",
"ChakraCore"
] | Hello Friends of ChakraCore,
Yesterday, Microsoft Edge announced its intent to adopt the Chromium open source project in the development of desktop Microsoft Edge to create better web compatibility and less fragmentation for web developers and customers. You can read the [announcement blog](https://blogs.windows.com... | Chromium adoption in Microsoft Edge and future of ChakraCore | https://api.github.com/repos/chakra-core/ChakraCore/issues/5865/comments | 44 | 2018-12-07T17:59:34Z | 2020-03-09T18:10:45Z | https://github.com/chakra-core/ChakraCore/issues/5865 | 388,756,166 | 5,865 |
[
"chakra-core",
"ChakraCore"
] | What is the future of chakracore if edge moves to chromium | What is the future of chakracore if edge moves to chromium | https://api.github.com/repos/chakra-core/ChakraCore/issues/5864/comments | 2 | 2018-12-07T14:50:43Z | 2018-12-07T18:03:06Z | https://github.com/chakra-core/ChakraCore/issues/5864 | 388,685,173 | 5,864 |
[
"chakra-core",
"ChakraCore"
] | When we use --asmDumpMode or --dump:assembly, dumps of multiple functions are mixed (only tested in Linux), making it hard to read. | BUG: dumps of multiple functions are mixed in --asmDumpMode or --dump:assembly | https://api.github.com/repos/chakra-core/ChakraCore/issues/5863/comments | 3 | 2018-12-07T04:29:34Z | 2018-12-07T11:56:38Z | https://github.com/chakra-core/ChakraCore/issues/5863 | 388,501,692 | 5,863 |
[
"chakra-core",
"ChakraCore"
] | Per https://tc39.github.io/ecma262/#sec-getiterator GetIterator should cache the next() method for the iterator in an internal slot so `get` is not used on it for each iteration.
There are a few test262 cases that this issue causes to fail, e.g. https://github.com/tc39/test262/blob/master/test/language/statements/fo... | BUG: GetIterator should cache next method | https://api.github.com/repos/chakra-core/ChakraCore/issues/5860/comments | 1 | 2018-12-05T23:45:25Z | 2020-12-12T15:21:35Z | https://github.com/chakra-core/ChakraCore/issues/5860 | 387,995,133 | 5,860 |
[
"chakra-core",
"ChakraCore"
] | Apologies for the bare-faced question here.
Over at [Apache CouchDB](https://github.com/apache/couchdb), we're prototyping replacements for our aging and rickety SpiderMonkey 1.8.5 JS engine. Based on the good work done by the Microsoft team on ChakraCore, and knowing it's embedded in products like CosmosDB, we felt... | [Question] Future of ChakraCore? | https://api.github.com/repos/chakra-core/ChakraCore/issues/5857/comments | 7 | 2018-12-05T16:51:41Z | 2019-02-11T22:47:13Z | https://github.com/chakra-core/ChakraCore/issues/5857 | 387,849,418 | 5,857 |
[
"chakra-core",
"ChakraCore"
] | In Microsoft Edge (as of Edge 42.17134.1.0), if attempting to add the same Symbol as a key multiple times to an ES6 Map (via `set`), and IF AND ONLY IF that Symbol was obtained from its usage as one of a Object's keys (via `Object.getOwnPropertySymbols`), there is about a 70% chance that the Map will allow the second u... | Duplicate Symbol Keys in ES6 Map Possible (Sometimes, Randomly) if the Symbol was Obtained From Object.getOwnPropertySymbols | https://api.github.com/repos/chakra-core/ChakraCore/issues/5852/comments | 8 | 2018-11-28T23:50:22Z | 2018-12-02T19:38:02Z | https://github.com/chakra-core/ChakraCore/issues/5852 | 385,507,020 | 5,852 |
[
"chakra-core",
"ChakraCore"
] | Customer using Azure blob store storage complained about csv file upload/download in edge.
Repro:
Upload a csv file to blob store.
Download the file.
Other browsers correctly downloads csv file.
Edge adds .xls extension and unable to open the file.
Found the issue mentioned public forum as well - https://answ... | Edge download .csv file as .xls (adds xls extension) | https://api.github.com/repos/chakra-core/ChakraCore/issues/5850/comments | 2 | 2018-11-28T00:50:32Z | 2018-11-30T00:27:32Z | https://github.com/chakra-core/ChakraCore/issues/5850 | 385,052,267 | 5,850 |
[
"chakra-core",
"ChakraCore"
] | Calling .slice() (or .substring()) on a string created by date.prototype.toLocaleString() returns unexpected results in Edge.
Repro:
```javascript
var date = new Date(2018, 11, 20)
var str = date.toLocaleString("en-GB")
console.log(str);
console.log(str.slice(0, 10));
var str2 = '20/12/2018, 00:00:00'
con... | date.prototype.toLocaleString() return value contains U+200E chars with each date part | https://api.github.com/repos/chakra-core/ChakraCore/issues/5847/comments | 6 | 2018-11-26T14:40:02Z | 2018-12-02T20:44:00Z | https://github.com/chakra-core/ChakraCore/issues/5847 | 384,360,105 | 5,847 |
[
"chakra-core",
"ChakraCore"
] | It would be a good idea to add pr welcoming badge within the `README` file which is a common practice nowadays.
Thoughts 🤔 | Add PR welcoming badge | https://api.github.com/repos/chakra-core/ChakraCore/issues/5846/comments | 4 | 2018-11-25T15:32:05Z | 2018-12-12T00:21:37Z | https://github.com/chakra-core/ChakraCore/issues/5846 | 384,089,693 | 5,846 |
[
"chakra-core",
"ChakraCore"
] | ```js
new Intl.NumberFormat('fr-CA', { style: 'currency', currency: 'CAD', useGrouping: true, minimumIntegerDigits: 1, minimumFractionDigits: 0, maximumFractionDigits: 0})
```
Result in IE (11):

Resu... | Edge show fraction digits even if i don't want it | https://api.github.com/repos/chakra-core/ChakraCore/issues/5845/comments | 5 | 2018-11-23T21:52:43Z | 2019-02-04T13:01:47Z | https://github.com/chakra-core/ChakraCore/issues/5845 | 383,932,096 | 5,845 |
[
"chakra-core",
"ChakraCore"
] | ## Expected Behavior
```
new Intl.NumberFormat('en-GB', {
style: 'currency',
currency: 'EUR',
currencyDisplay: 'code',
minimumFractionDigits: 3,
maximumFractionDigits: 3,
}).format(0.001)
```
Result in Edge 17 (and other browsers): "EUR 0.001"
## Current Behavior
Result in Edge 18 / Insid... | Intl.NumberFormat breaks with currency and more than 2 fraction digits | https://api.github.com/repos/chakra-core/ChakraCore/issues/5842/comments | 6 | 2018-11-22T15:44:30Z | 2019-01-03T19:24:25Z | https://github.com/chakra-core/ChakraCore/issues/5842 | 383,587,002 | 5,842 |
[
"chakra-core",
"ChakraCore"
] | See also #5798
In Microsoft Edge, executing
```js
try {
1 = 2;
}
catch (e) {
alert("Runtime!");
}
```
will cause `"Runtime!"` to be alerted, while the expected behavior should be that an *early* error is thrown, which cannot be caught, and nothing could therefore be alerted.
In
```js
try {
... | Assignment to non-reference literals does not raise early errors | https://api.github.com/repos/chakra-core/ChakraCore/issues/5841/comments | 0 | 2018-11-21T03:33:28Z | 2018-11-21T11:00:40Z | https://github.com/chakra-core/ChakraCore/issues/5841 | 382,941,126 | 5,841 |
[
"chakra-core",
"ChakraCore"
] | I would like to propose a set of changes to update WASM SIMD to the current state of the proposal:
- [x] Re-enable and clean up tests (#5839)
- [x] Scrub references to `build` instructions and `m128` WASM type (#5903)
- [x] Update opcodes to the latest revision of the spec | Update WASM SIMD implementation | https://api.github.com/repos/chakra-core/ChakraCore/issues/5838/comments | 1 | 2018-11-20T18:34:03Z | 2019-02-20T22:54:17Z | https://github.com/chakra-core/ChakraCore/issues/5838 | 382,795,961 | 5,838 |
[
"chakra-core",
"ChakraCore"
] | Hi,
One thinks that OS manufacturers should work on a browser shell standard common to all operating systems, because after all, all browsers do the same thing according to W3C standards.
That way, particular brands of browsers like Edge, Safari, Chrome, etc. would all derive from a common standard browser shell ... | Cross OS standard browser shell | https://api.github.com/repos/chakra-core/ChakraCore/issues/5836/comments | 1 | 2018-11-18T10:56:41Z | 2018-11-20T00:58:46Z | https://github.com/chakra-core/ChakraCore/issues/5836 | 381,949,293 | 5,836 |
[
"chakra-core",
"ChakraCore"
] | Due to the way we store a PropertyRecord in the [[description]] slot for Javascript symbols, we aren't able to assign [[description]] to `undefined`. This has a subtle effect but is observable:
```js
let empty = Symbol('');
let undef = Symbol();
console.log(
{[empty](){}}[empty].name === '[]', // true
{[und... | Symbol[[description]] cannot be undefined | https://api.github.com/repos/chakra-core/ChakraCore/issues/5833/comments | 0 | 2018-11-17T02:44:02Z | 2018-11-17T02:44:16Z | https://github.com/chakra-core/ChakraCore/issues/5833 | 381,820,365 | 5,833 |
[
"chakra-core",
"ChakraCore"
] | This [proposal](https://github.com/tc39/proposal-Symbol-description) is at stage 3. It's implemented in V8, SpiderMonkey and JSC and is shipped in stable versions of Chrome, Firefox and Safari
https://github.com/tc39/proposal-Symbol-description/issues/7 | Implement Symbol.description | https://api.github.com/repos/chakra-core/ChakraCore/issues/5825/comments | 0 | 2018-11-13T13:40:52Z | 2018-11-17T06:33:02Z | https://github.com/chakra-core/ChakraCore/issues/5825 | 380,230,981 | 5,825 |
[
"chakra-core",
"ChakraCore"
] | Hi, we are trying to reduce the memory reservation for the `_X64WriteBarrierCardTableManager::_cardTable`.
(for windows x64 with address space of 128TB it is reserving 32GB).
The default page size is 4KB and we are trying to make it 64 times bigger, i.e. 256KB.
We changed the following constants:
- [RecyclerWriteBa... | Reducing the _X64WriteBarrierCardTableManager::_cardTable memory reservation | https://api.github.com/repos/chakra-core/ChakraCore/issues/5821/comments | 5 | 2018-11-08T14:08:59Z | 2018-12-12T00:48:17Z | https://github.com/chakra-core/ChakraCore/issues/5821 | 378,746,968 | 5,821 |
[
"chakra-core",
"ChakraCore"
] | Hi
Edge version: 42.17134.1.0
Edge HTML: 17.17134
In Edge a newly installed Service Worker is being automatically activated on refresh (ie equivalent to always calling `skipWaiting`).
The following bit of code should alert whenever `serviceworker.js` is modified and the browser is refreshed:
```js
navigator... | Service Worker Automatically Skips Waiting | https://api.github.com/repos/chakra-core/ChakraCore/issues/5815/comments | 2 | 2018-11-05T07:31:29Z | 2018-11-13T09:11:15Z | https://github.com/chakra-core/ChakraCore/issues/5815 | 377,280,112 | 5,815 |
[
"chakra-core",
"ChakraCore"
] | Chakra failed with lots of errors when build with permissive- by msvc on Windows, I use latest source version ce09d0e on master branch. Could you please help take a look at this? Noted that this issue only found when compiles with unreleased vctoolset, that next release of MSVC will have this behavior.
**You can rep... | Chakra failed when build with permissive- by msvc on Windows | https://api.github.com/repos/chakra-core/ChakraCore/issues/5813/comments | 4 | 2018-11-02T06:21:43Z | 2019-11-26T08:18:45Z | https://github.com/chakra-core/ChakraCore/issues/5813 | 376,684,002 | 5,813 |
[
"chakra-core",
"ChakraCore"
] | Hi,
My boss wants to know how many shell only functions in CharaCore. It's quite difficult to know all
built-in functions and distinguish them which are shell only function. What could I do to find the shell only functions?
Thanks~ | Does ChakraCore contains shell only functions? | https://api.github.com/repos/chakra-core/ChakraCore/issues/5811/comments | 6 | 2018-11-01T09:42:20Z | 2018-11-20T01:01:59Z | https://github.com/chakra-core/ChakraCore/issues/5811 | 376,320,567 | 5,811 |
[
"chakra-core",
"ChakraCore"
] | In Microsoft Edge 42.17134.1.0 on Windows 10, opening developer tools and running `Number.MIN_VALUE.toString(2)` causes the browser tab to crash and reload. Looks like the same area as #509?
The precise value of `Number.MIN_VALUE` is 2<sup>-1074</sup>, so I believe the correct return value is the 1076-character stri... | Crashes on Number.MIN_VALUE.toString(2) | https://api.github.com/repos/chakra-core/ChakraCore/issues/5809/comments | 2 | 2018-10-31T00:42:32Z | 2018-10-31T22:55:45Z | https://github.com/chakra-core/ChakraCore/issues/5809 | 375,752,186 | 5,809 |
[
"chakra-core",
"ChakraCore"
] | Executing a failing script and getting error details with JsGetAndClearExceptionWithMetadata seems to trigger an assert condition in some cases, apparently when some Unicode characters are used.
Sample script:
```
function main() {
var x = '€' + test();
}
main();
```
Test program (slightly modified version ... | "Line ending logic out of sync" assert when calling JsGetAndClearExceptionWithMetadata | https://api.github.com/repos/chakra-core/ChakraCore/issues/5805/comments | 2 | 2018-10-30T00:29:59Z | 2019-04-09T22:28:34Z | https://github.com/chakra-core/ChakraCore/issues/5805 | 375,270,849 | 5,805 |
[
"chakra-core",
"ChakraCore"
] | I'm running with ChakraCore v1.10.2 on Linux. I'm using libChakraCore as a static library and calling into the library from a Rust library that is a wrapper on libChakraCore.
I'm running into a problem where occasionally some of my Rust tests get a SIGABRT. I get the following stack trace within the JSRT library:
`... | SIGABRT in JsCreateContext on Linux | https://api.github.com/repos/chakra-core/ChakraCore/issues/5804/comments | 20 | 2018-10-29T17:58:56Z | 2018-11-21T00:40:55Z | https://github.com/chakra-core/ChakraCore/issues/5804 | 375,144,486 | 5,804 |
[
"chakra-core",
"ChakraCore"
] | Test: https://github.com/tc39/test262/blob/master/test/language/expressions/dynamic-import/syntax/invalid/invalid-asssignmenttargettype-reference-error-9-lhs-assignment-operator-assignment-expression.js
```js
import('') += 1;
```
Is producing a SyntaxError; however, like:
```js
(() => 1) += 1;
```
It _... | BUG: ImportCall is an invalid AssignmentTargetType, should produce an Early ReferenceError | https://api.github.com/repos/chakra-core/ChakraCore/issues/5798/comments | 5 | 2018-10-25T21:03:28Z | 2020-03-25T22:50:25Z | https://github.com/chakra-core/ChakraCore/issues/5798 | 374,131,899 | 5,798 |
[
"chakra-core",
"ChakraCore"
] | Test: https://github.com/tc39/test262/blob/master/test/language/expressions/dynamic-import/syntax/invalid/top-level-no-new-call-expression.js
TL;DR:
```js
new import('');
```
Is not allowed, per: https://tc39.github.io/proposal-dynamic-import/#sec-left-hand-side-expressions
| BUG: ImportCall is a CallExpression, it can't be preceded by the new keyword | https://api.github.com/repos/chakra-core/ChakraCore/issues/5797/comments | 1 | 2018-10-25T20:55:48Z | 2018-11-01T01:05:42Z | https://github.com/chakra-core/ChakraCore/issues/5797 | 374,129,165 | 5,797 |
[
"chakra-core",
"ChakraCore"
] | Test: https://github.com/tc39/test262/blob/master/test/language/expressions/dynamic-import/assignment-expression/unary-expr.js
Result:
> Couldn't load file 'true'
> Couldn't load file 'undefined'
> Couldn't load file 'object'
> Couldn't load file 'NaN'
> Couldn't load file '-1'
Expected: every import call... | BUG: Dynamic import should only return a rejected promise if it fails loading a module | https://api.github.com/repos/chakra-core/ChakraCore/issues/5796/comments | 7 | 2018-10-25T20:28:31Z | 2018-11-01T01:05:42Z | https://github.com/chakra-core/ChakraCore/issues/5796 | 374,119,014 | 5,796 |
[
"chakra-core",
"ChakraCore"
] | Test: https://github.com/tc39/test262/blob/master/test/language/expressions/dynamic-import/always-create-new-promise.js
Result:
> the returned promises are not the same, regardless the reference and specifier pair Expected SameValue(«[object Promise]», «[object Promise]») to be false | BUG: Dynamic import should return different promise objects, even if the specifier is the same. | https://api.github.com/repos/chakra-core/ChakraCore/issues/5795/comments | 3 | 2018-10-25T18:24:32Z | 2018-11-01T01:05:42Z | https://github.com/chakra-core/ChakraCore/issues/5795 | 374,072,761 | 5,795 |
[
"chakra-core",
"ChakraCore"
] | Currently it is not supported in ChakraCore. Per discussion with ChakraCore team, a new API is needed and a sample showing how to use it will be very helpful | Need to enable Out of Proc JIT support in ChakraCore. | https://api.github.com/repos/chakra-core/ChakraCore/issues/5793/comments | 0 | 2018-10-24T18:23:13Z | 2018-11-20T23:27:39Z | https://github.com/chakra-core/ChakraCore/issues/5793 | 373,614,963 | 5,793 |
[
"chakra-core",
"ChakraCore"
] | CFG is enabled for JIT code for Chakra used for Edge context. The same should be done for ChakraCore so app hosting ChakraCore can receive the same protection as Edge. | enable CFG in the JIT'd code for ChakraCore | https://api.github.com/repos/chakra-core/ChakraCore/issues/5790/comments | 2 | 2018-10-22T21:03:33Z | 2019-03-08T23:08:27Z | https://github.com/chakra-core/ChakraCore/issues/5790 | 372,699,343 | 5,790 |
[
"chakra-core",
"ChakraCore"
] | ```js
Date.parse("2018-10-21Z"); // lacks time, it should be 2018-10-21T00:00Z
```
Expected: `NaN`
Actual: `1540080000000`
```js
Date.parse("2018-1-7T00:00Z"); // no padded zero, should be 2018-01-07T00:00Z
```
Expected: `NaN`
Actual: `1515283200000` | Date.parse accepts illegal ISO8601 format | https://api.github.com/repos/chakra-core/ChakraCore/issues/5789/comments | 1 | 2018-10-21T12:05:33Z | 2018-11-02T16:43:44Z | https://github.com/chakra-core/ChakraCore/issues/5789 | 372,307,805 | 5,789 |
[
"chakra-core",
"ChakraCore"
] | The following code will infinitely loop and alert "Child foo" in MS Edge. All other browsers seem to handle this correctly.
```js
class Base {
foo() {
alert('base foo');
}
}
class Child extends Base {
foo() {
const parent = () => super.foo;
alert('Child foo');
parent().call(this);
... | Arrow functions fail to properly capture references to super | https://api.github.com/repos/chakra-core/ChakraCore/issues/5784/comments | 2 | 2018-10-15T18:58:50Z | 2019-07-23T00:17:22Z | https://github.com/chakra-core/ChakraCore/issues/5784 | 370,299,757 | 5,784 |
[
"chakra-core",
"ChakraCore"
] | I have the exact same issue as this one: https://github.com/Microsoft/ChakraCore/issues/4532
Which looks like it was closed without resolution.
In my case, we are using the c# library chakracore.net: https://github.com/JohnMasen/ChakraCore.NET
And the issue happens under stress testing. It happens when a js fun... | nullptr in VALIDATE_INCOMING_REFERENCE causes a crash | https://api.github.com/repos/chakra-core/ChakraCore/issues/5782/comments | 1 | 2018-10-15T16:44:25Z | 2020-03-26T22:29:15Z | https://github.com/chakra-core/ChakraCore/issues/5782 | 370,249,453 | 5,782 |
[
"chakra-core",
"ChakraCore"
] | We have .net core application running on cent os7,
If we want to use ChakraCore with multithread (on linux) Our application had crashing issues,
After that we used Semaphore to call Chakra methods and allowed only one thread concurrently,
Now we are having this error occasionally :
======= Memory map: ========
... | *** stack smashing detected *** | https://api.github.com/repos/chakra-core/ChakraCore/issues/5781/comments | 0 | 2018-10-15T08:45:59Z | 2018-10-15T08:46:12Z | https://github.com/chakra-core/ChakraCore/issues/5781 | 370,058,512 | 5,781 |
[
"chakra-core",
"ChakraCore"
] | Another bug I found whilst working on #5759 though I do not currently have a fix planned for this.
Per
https://tc39.github.io/ecma262/#sec-module-semantics-static-semantics-early-errors
It is a Syntax Error if any element of the ExportedBindings of
ModuleItemList does not also occur in either the VarDeclaredNames... | BUG: Module exporting undeclared name should be a syntax error | https://api.github.com/repos/chakra-core/ChakraCore/issues/5778/comments | 8 | 2018-10-13T20:00:30Z | 2018-11-22T04:02:39Z | https://github.com/chakra-core/ChakraCore/issues/5778 | 369,835,978 | 5,778 |
[
"chakra-core",
"ChakraCore"
] | I found this whilst working on #5759 and plan to fix it alongside implement #5759 (as fixing this is necessary to pass one of relevant test262 tests for that feature)
Per: https://tc39.github.io/ecma262/#sec-module-semantics-static-semantics-early-errors
It is a Syntax Error if the ExportedNames of ModuleItemList c... | BUG: Module with duplicate export name should always be a syntax error | https://api.github.com/repos/chakra-core/ChakraCore/issues/5777/comments | 0 | 2018-10-13T16:17:29Z | 2018-10-31T02:18:49Z | https://github.com/chakra-core/ChakraCore/issues/5777 | 369,816,887 | 5,777 |
[
"chakra-core",
"ChakraCore"
] | Hi ,
I've made some performance measurements, because we have very big spikes sometimes when GC kick in and I found something weird. When DoCollect is called with CollectOverride_ForceInThread reflect in some very long waits. I am wondering, if this is expected or I do something wrong. Also is there any way to redu... | GC concurrent collection performance | https://api.github.com/repos/chakra-core/ChakraCore/issues/5774/comments | 2 | 2018-10-11T12:07:50Z | 2018-11-20T01:07:19Z | https://github.com/chakra-core/ChakraCore/issues/5774 | 369,089,850 | 5,774 |
[
"chakra-core",
"ChakraCore"
] | Git Head: aa9823c336281421a1adbe9e6ce3e73cee7dcaf6
To reproduce: `ch so.js`
Crashing payload:
```js
for(v in 0){if((0)){([]);0[""]=function(){e=function(){[""]([])()=[]}}[""]=function(){}[""]=function(){((0))};if(0){[]((function(){if((0 instanceof 0)){}}))}else if(0){if([])if(0){if(y=""){(0());if("")o=functio... | Stack overflow in Scanner<UTF8EncodingPolicyBase<false> >::IchMinTok() | https://api.github.com/repos/chakra-core/ChakraCore/issues/5773/comments | 2 | 2018-10-10T06:48:36Z | 2018-12-12T00:45:49Z | https://github.com/chakra-core/ChakraCore/issues/5773 | 368,516,724 | 5,773 |
[
"chakra-core",
"ChakraCore"
] | Now that export-ns-from [has TC39 consensus](https://github.com/tc39/ecma262/pull/1174#issuecomment-425120082) the TC39 is looking for engines to implement.
*Related: [V8 issue](https://bugs.chromium.org/p/v8/issues/detail?id=8101) and [SpiderMonkey issue](https://bugzilla.mozilla.org/show_bug.cgi?id=1496852)* | Implement export-ns-from syntax. | https://api.github.com/repos/chakra-core/ChakraCore/issues/5759/comments | 7 | 2018-10-05T21:18:57Z | 2018-10-31T02:18:49Z | https://github.com/chakra-core/ChakraCore/issues/5759 | 367,371,999 | 5,759 |
[
"chakra-core",
"ChakraCore"
] | How can I indentify an NaN value with the JSRT APIs?
JsGetValueType returns JsNumber (which seems to be consistent with the expected behavior for "typeof NaN"), and JsNumberToInt returns 0. So, I'm having trouble distinguishing between NaN and a valid number. | How to identify NaN? | https://api.github.com/repos/chakra-core/ChakraCore/issues/5756/comments | 4 | 2018-10-05T14:44:08Z | 2018-10-09T23:24:07Z | https://github.com/chakra-core/ChakraCore/issues/5756 | 367,242,362 | 5,756 |
[
"chakra-core",
"ChakraCore"
] | See https://github.com/tc39/ecma262/pull/1243.
This specification change achieved consensus at the September 2018 TC39 meeting. Chakra is the only engine that does not implement the modified property order.
```sh
$ eshost -e 'x = new String(); x[2**32-2] = 1; x[2**32-1] = 1; x[2**53-1] = 1; x[2**53] = 1; Reflect... | Fix OwnPropertyKeys order for String objects | https://api.github.com/repos/chakra-core/ChakraCore/issues/5738/comments | 0 | 2018-10-02T18:22:42Z | 2018-12-10T21:59:45Z | https://github.com/chakra-core/ChakraCore/issues/5738 | 366,021,681 | 5,738 |
[
"chakra-core",
"ChakraCore"
] | As @Penguinwizzard mentioned [here](https://github.com/Microsoft/ChakraCore/pull/5456#discussion_r220382324),
> This feels like there's a few situations in which a smart compiler would be able to make it always return true - e.g. with a static build and ltcg, I think it may be legal to optimize the "GetTypeId() == m... | review type checks that should be tautologically true | https://api.github.com/repos/chakra-core/ChakraCore/issues/5737/comments | 0 | 2018-10-01T22:45:25Z | 2019-06-07T18:31:20Z | https://github.com/chakra-core/ChakraCore/issues/5737 | 365,672,393 | 5,737 |
[
"chakra-core",
"ChakraCore"
] | This proposal is at stage 3 and seeking implementations: https://github.com/tc39/proposal-well-formed-stringify | Implement well-formed JSON.stringify proposal | https://api.github.com/repos/chakra-core/ChakraCore/issues/5735/comments | 0 | 2018-09-29T15:02:49Z | 2019-07-22T21:29:35Z | https://github.com/chakra-core/ChakraCore/issues/5735 | 365,139,614 | 5,735 |
[
"chakra-core",
"ChakraCore"
] | Program below executes outer WASM loop only once. However, removing one of the parameters to the function makes the issue go away.
```
$ cat bug.wast
(module
(import "dummy" "memory" (memory 1))
(func
(export "bug")
(param $src1 i32)
(param $src2 i32) ;; <== Comment one of "src... | WASM nested loop | https://api.github.com/repos/chakra-core/ChakraCore/issues/5730/comments | 6 | 2018-09-28T17:25:36Z | 2018-10-30T17:37:04Z | https://github.com/chakra-core/ChakraCore/issues/5730 | 364,975,992 | 5,730 |
[
"chakra-core",
"ChakraCore"
] | Here is the error I encountered when I was trying to build release 1.5 on Linux:
/scratch/.../.../.../ChakraCore-1.5.0/lib/Backend/IRBuilderAsmJs.cpp:1158:14: error: comparison of two values with different enumeration types in switch statement ('Js::AsmJsRetType::Which' and 'Js::AsmJsVarType::Which') [-Werror,-Wenum... | error on building on release 1.5 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5729/comments | 1 | 2018-09-26T02:48:39Z | 2018-10-09T00:04:34Z | https://github.com/chakra-core/ChakraCore/issues/5729 | 363,837,531 | 5,729 |
[
"chakra-core",
"ChakraCore"
] | ```js
function getCallsite(c) { return c; }
function getFooCallsite() { return getCallsite`foo`; }
print(eval('getCallsite`foo`') === eval('getCallsite`foo`')); // returns: true, expected: false
```
```
## Source
function getCallsite(c) { return c; }
function getFooCallsite() { return getCallsite`foo`; }
pr... | StringTemplate Caching in eval is incorrect. | https://api.github.com/repos/chakra-core/ChakraCore/issues/5728/comments | 0 | 2018-09-25T22:40:56Z | 2019-07-23T00:20:50Z | https://github.com/chakra-core/ChakraCore/issues/5728 | 363,793,165 | 5,728 |
[
"chakra-core",
"ChakraCore"
] | TextEncoder and TextDecoder have been missing from IE/Edge forever.
This is a document of the api...
https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder
Here is your status compared to other's status.
https://caniuse.com/#search=uint8array
I did just notice that there's a 'in development' note on 'c... | Support TextEncoder&TextDecoder | https://api.github.com/repos/chakra-core/ChakraCore/issues/5726/comments | 5 | 2018-09-24T18:46:09Z | 2018-11-20T01:09:45Z | https://github.com/chakra-core/ChakraCore/issues/5726 | 363,273,463 | 5,726 |
[
"chakra-core",
"ChakraCore"
] | This seems a little ridiculous, but I am encountering a sudden crash in a very simple usage of the JSRT.
This is my complete usage:
```
constexpr auto kScript = R"(
var module = {}
module.foo = function() {
var junk = Math.cos(0.5) * 0;
}
module;
)";
int main() {
JsRuntimeHandle runtime;
JsCreat... | BUG: Math.cos and Math.sin function cause crash | https://api.github.com/repos/chakra-core/ChakraCore/issues/5725/comments | 10 | 2018-09-24T18:22:29Z | 2018-09-28T21:16:49Z | https://github.com/chakra-core/ChakraCore/issues/5725 | 363,264,758 | 5,725 |
[
"chakra-core",
"ChakraCore"
] | **Note I am intending to fix this bug as part of the pull request I'm working on to implement a stable array sort.**
Opening this issue as a reminder/record and also in case my upcoming pull request can't be accepted for some reason.
With the current Array.prototype.sort method in ChakraCore if an array-like obje... | BUG: Array prototype values copied to non-array when using sort | https://api.github.com/repos/chakra-core/ChakraCore/issues/5719/comments | 0 | 2018-09-21T23:49:51Z | 2018-11-01T19:05:48Z | https://github.com/chakra-core/ChakraCore/issues/5719 | 362,805,644 | 5,719 |
[
"chakra-core",
"ChakraCore"
] | I'm wondering if there's a JSRT API function for creating a [Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy) object from native code?
I could create the target and handler objects from JSRT APIs, but I don't see a way to do the equivalent of "new Proxy(target, handler)"... | JSRT API for creating a Proxy? | https://api.github.com/repos/chakra-core/ChakraCore/issues/5718/comments | 2 | 2018-09-21T14:39:59Z | 2018-10-09T23:23:55Z | https://github.com/chakra-core/ChakraCore/issues/5718 | 362,645,214 | 5,718 |
[
"chakra-core",
"ChakraCore"
] | Hey, is there an easy way to expose GC from withing a script in ch?
I'd like to run a js script that contains a statement - 'gc();'
and that this statement will run a GC cycle. | Exposing GarbageCollection (GC) in ch binary | https://api.github.com/repos/chakra-core/ChakraCore/issues/5715/comments | 4 | 2018-09-20T19:26:18Z | 2018-09-20T20:21:30Z | https://github.com/chakra-core/ChakraCore/issues/5715 | 362,330,871 | 5,715 |
[
"chakra-core",
"ChakraCore"
] | Hey folks,
Recently I've been trying to build ChakraCore for some dynamic analysis experiments and I have been running into build issues. I've installed all of the dependencies, but running ./build.sh gives me a linking error, specifically:
> Run Build Command:"/usr/bin/ninja" "cmTC_2d072"
>
> [1/2] Building... | Build issues with Ubuntu 16.04 | https://api.github.com/repos/chakra-core/ChakraCore/issues/5705/comments | 11 | 2018-09-14T20:13:19Z | 2018-09-18T18:40:15Z | https://github.com/chakra-core/ChakraCore/issues/5705 | 360,439,595 | 5,705 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.