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" ]
Hi everyone, I found an inconsistence on Error() with more than one argument. According to [ES6 Error constructor](https://tc39.github.io/ecma262/#sec-error-message) the Error is called with only one argument (message). The other engines returns the first argument, chakra returns the second argument. Steps to ...
Error constructor with more than one argument
https://api.github.com/repos/chakra-core/ChakraCore/issues/5443/comments
4
2018-07-10T15:40:43Z
2021-03-13T03:18:14Z
https://github.com/chakra-core/ChakraCore/issues/5443
339,899,457
5,443
[ "chakra-core", "ChakraCore" ]
OS: Ubuntu 16.04 x86 chakra: 1.11.0.0-beta Hi everyone, I found an inconsistence on Date() with a negative value. I was looking on ES6 specification about this issue but I didn't found an answer, maybe the correct way is convert the -0 to +0 as V8 and SpiderMonkey do. Steps to reproduce: ``` d = new Date(...
Date constructor with negative value argument
https://api.github.com/repos/chakra-core/ChakraCore/issues/5442/comments
7
2018-07-10T15:36:04Z
2022-10-03T19:09:44Z
https://github.com/chakra-core/ChakraCore/issues/5442
339,897,548
5,442
[ "chakra-core", "ChakraCore" ]
BigInt support is currently at Stage 3: https://github.com/tc39/proposal-bigint Node is starting to take a dependency on it: https://github.com/nodejs/node/pulls?q=is:pr+bigint There's currently an N-API change in PR: https://github.com/nodejs/node/pull/21226
Implement BigInt
https://api.github.com/repos/chakra-core/ChakraCore/issues/5440/comments
1
2018-07-10T00:39:53Z
2019-06-25T09:24:54Z
https://github.com/chakra-core/ChakraCore/issues/5440
339,653,601
5,440
[ "chakra-core", "ChakraCore" ]
I am currently developing an Angular application fetching data from an GraphQL server. When the GraphQL server throws an error and does not return data, the console in Edge would show a simple "Error on "fetch"" message whereas a browser like Firefox would show the correct error returned from the GraphQL server. As bot...
Fetch errors not displayed correctly
https://api.github.com/repos/chakra-core/ChakraCore/issues/5434/comments
4
2018-07-08T21:02:19Z
2018-11-30T00:30:13Z
https://github.com/chakra-core/ChakraCore/issues/5434
339,257,493
5,434
[ "chakra-core", "ChakraCore" ]
I recently wrote a prime number generator which I noticed ran significantly slower on Chakra than on other engines: ```js "use strict"; const numberOfPrimes = 1000000; const primes = new Uint32Array(10000001); const products = new Uint32Array(10000001); primes[0] = 2; primes[1] = 3; primes[2] = 5; primes...
Performance: Modulus operator is slow
https://api.github.com/repos/chakra-core/ChakraCore/issues/5432/comments
0
2018-07-07T10:18:49Z
2018-07-12T07:38:53Z
https://github.com/chakra-core/ChakraCore/issues/5432
339,134,976
5,432
[ "chakra-core", "ChakraCore" ]
Hi, I just found that error occurs when compiling latest version ChakraCore with code page 936 (which is default code page on Windows Chinese-Simplified version). VS print this. ``` Severity Code Description Project File Line Suppression State Warning C4819 The file contains a character that cannot be represent...
Compile failed with code page 936.
https://api.github.com/repos/chakra-core/ChakraCore/issues/5428/comments
1
2018-07-06T04:47:02Z
2018-07-16T18:56:07Z
https://github.com/chakra-core/ChakraCore/issues/5428
338,803,789
5,428
[ "chakra-core", "ChakraCore" ]
It seems to me that, under Linux/macOS, dynamically built `ch` binary will only looks for the dynamic library (`libChakraCore.so`/`libChakraCore.dylib`) under the same directory as the binary itself. However, Linux/macOS usually put binaries and libraries under different directories (`bin` and `lib`). If that's ...
Confirm how dynamically built `ch` binary looks for the library
https://api.github.com/repos/chakra-core/ChakraCore/issues/5425/comments
5
2018-07-04T18:02:36Z
2021-01-30T17:21:48Z
https://github.com/chakra-core/ChakraCore/issues/5425
338,349,304
5,425
[ "chakra-core", "ChakraCore" ]
Issue I noticed whilst working on #5405 async/generator functions report that their length properties are configurable but attempting to delete them or redefine with Object.defineProperty silently fails. I intend to submit a PR to fix this after #5405 is merged - issue created as a reminder/in case #5405 can't be me...
Async/Generator function lengths can't be configured
https://api.github.com/repos/chakra-core/ChakraCore/issues/5419/comments
2
2018-07-03T23:07:26Z
2018-08-27T20:48:31Z
https://github.com/chakra-core/ChakraCore/issues/5419
338,081,266
5,419
[ "chakra-core", "ChakraCore" ]
ChakraCore will output target backend assembly representation using "-dump:backend" option, but these dumped instruction are represented as kind of ChakraCore's code form. for example, these look like. s394(r7)[LikelyCanBeTaggedValue_Int].var = MOV s102(r6)[LikelyCanBeTaggedValue_Int].var s395(r11).i64 = MOV s394(...
View of the generated assembly code
https://api.github.com/repos/chakra-core/ChakraCore/issues/5393/comments
6
2018-06-29T00:18:33Z
2018-10-09T23:22:59Z
https://github.com/chakra-core/ChakraCore/issues/5393
336,822,045
5,393
[ "chakra-core", "ChakraCore" ]
Hi everyone, there is an inconsistence on Chakra when I call this Proxy using Symbol.search. The `-ES6Experimental` flag is activated. Chakra: ch version 1.11.0.0-beta OS: Ubuntu 16.04 x64 Steps to reproduce: ``` function test() { var get = []; var p = new Proxy( { exec: function () { return ...
RegExp should call property "lastIndex" using Symbol.search
https://api.github.com/repos/chakra-core/ChakraCore/issues/5388/comments
3
2018-06-28T19:47:29Z
2020-03-25T08:54:24Z
https://github.com/chakra-core/ChakraCore/issues/5388
336,755,756
5,388
[ "chakra-core", "ChakraCore" ]
```js (function() { print('Array fill with increment of 2') var start = new Date(); let maxSize = 2**25; let arr = new Array(maxSize); for (i = 0; i < maxSize; i += 2) { arr[i] = i; } print('time spent : ' + ((new Date()) - start)); })(); (function() { print('Array fill with incre...
Perf : filling the array is taking time
https://api.github.com/repos/chakra-core/ChakraCore/issues/5386/comments
5
2018-06-28T18:35:39Z
2018-06-29T18:26:14Z
https://github.com/chakra-core/ChakraCore/issues/5386
336,733,403
5,386
[ "chakra-core", "ChakraCore" ]
If the object has 128 keys that include dashes, then the non-enumerable property will be enumerable (also writable, configurable). Tested on Edge 42.17134.1.0 ```javascript const test = (length = 128) => { let data = {}; for (let i = 0; i < length; i++) { data[i + '-'] = true; } ...
Non-enumerable property is enumerable under certain conditions
https://api.github.com/repos/chakra-core/ChakraCore/issues/5382/comments
6
2018-06-28T17:34:20Z
2018-06-28T18:17:33Z
https://github.com/chakra-core/ChakraCore/issues/5382
336,713,849
5,382
[ "chakra-core", "ChakraCore" ]
Hello, The following code behaves strangely (inconsistent with other engines). ``` a=[3.3,2.2,1]; a.sort(function () { return -1;}); ``` In Edge, output is ```[1, 2.2, 3.3]``` However, output should be: ```[3.3, 2.2, 1]``` BT group 2018.6.28
Inconsistent output compared with other JS engines when using sort()
https://api.github.com/repos/chakra-core/ChakraCore/issues/5381/comments
6
2018-06-28T03:43:10Z
2018-06-28T17:14:34Z
https://github.com/chakra-core/ChakraCore/issues/5381
336,462,287
5,381
[ "chakra-core", "ChakraCore" ]
Hello, The following code behaves strangely (inconsistent with other engines). ``` try { f0(); function g(f0){ f0(); }; }catch(g...
Inconsistent output compared with other JS engines when declare a function in try...catch
https://api.github.com/repos/chakra-core/ChakraCore/issues/5379/comments
1
2018-06-27T13:32:55Z
2018-06-27T23:06:24Z
https://github.com/chakra-core/ChakraCore/issues/5379
336,232,105
5,379
[ "chakra-core", "ChakraCore" ]
Hello, The following code behaves strangely (inconsistent with other engines). ``` v1 = new (Float64Array)(); v2 = { valueOf : function () { v3.y = "bar"; return 42; } }; v3 = v1; v3[0] = v2; print(JSON.stringify(v1)); ``` In Edge, output is ```{"y":"bar"}``` However, in V8 and Firef...
Inconsistent output compared with other JS engines
https://api.github.com/repos/chakra-core/ChakraCore/issues/5378/comments
1
2018-06-27T12:41:23Z
2018-06-27T15:46:04Z
https://github.com/chakra-core/ChakraCore/issues/5378
336,212,487
5,378
[ "chakra-core", "ChakraCore" ]
Follow-up from https://github.com/Microsoft/ChakraCore/pull/5307
Add Jenkins configuration for RS4 with Intl-ICU
https://api.github.com/repos/chakra-core/ChakraCore/issues/5373/comments
0
2018-06-26T22:45:58Z
2020-03-31T15:15:33Z
https://github.com/chakra-core/ChakraCore/issues/5373
336,017,885
5,373
[ "chakra-core", "ChakraCore" ]
For reference, see - Throw in async function after await is not caught by debugger #4630 - Debugger: Add support for breaking in debugger on unhandled promise rejection #5370 - fixing issue where "uncaught" exceptions in promises wouldn't notify debugger #5328 Currently, when we resolve a promise with a t...
Debugger: Support detecting pending promise reactions for "break on uhandled exceptions"
https://api.github.com/repos/chakra-core/ChakraCore/issues/5371/comments
0
2018-06-26T19:20:34Z
2018-06-26T23:19:59Z
https://github.com/chakra-core/ChakraCore/issues/5371
335,957,391
5,371
[ "chakra-core", "ChakraCore" ]
When we have a promise rejection and we don't have any reject handlers hooked up, we should break in the debugger if 2nd-chance exceptions are enabled. Alternatively, we should provide a 2nd option which is to "break on unhandled rejections". May potentially need to do some coordination w/ dev tools team to ensure...
Debugger: Add support for breaking in debugger on unhandled promise rejection
https://api.github.com/repos/chakra-core/ChakraCore/issues/5370/comments
0
2018-06-26T19:15:06Z
2018-06-26T23:19:54Z
https://github.com/chakra-core/ChakraCore/issues/5370
335,955,722
5,370
[ "chakra-core", "ChakraCore" ]
While working on Atomics tests for Test262, I observed that any test which checked that the return value of `Atomics.wake(...)` was some non-zero value, the test would fail. I've tracked the cause: https://github.com/Microsoft/ChakraCore/blob/c0723f4985c468937c6ac12260bdbe5da6d25539/lib/Runtime/Library/SharedArrayB...
Atomics.wake(...) always returns 0 on non-win32 platforms
https://api.github.com/repos/chakra-core/ChakraCore/issues/5368/comments
1
2018-06-26T17:34:00Z
2018-06-28T05:42:51Z
https://github.com/chakra-core/ChakraCore/issues/5368
335,922,575
5,368
[ "chakra-core", "ChakraCore" ]
Hello, The following code behaves strangely (inconsistent with other engines). ``` class cc extends ( x = function () { console.log("Hi"); }) { }; ``` In Edge, cc is defined normally and x is defined too. However, in V8 and Firefox, a ReferenceError is reported: `ReferenceError: assignment to undeclared...
No error for assignment to undefined inside extends expression
https://api.github.com/repos/chakra-core/ChakraCore/issues/5367/comments
1
2018-06-26T15:04:42Z
2020-03-25T16:56:43Z
https://github.com/chakra-core/ChakraCore/issues/5367
335,864,202
5,367
[ "chakra-core", "ChakraCore" ]
See https://github.com/Microsoft/ChakraCore/wiki/Build-Status-%28release-1.8%29 ``` 13:55:03 /Users/dotnet-bot/j/w/Microsoft_ChakraCore/release_1.8/static_osx_osx_debug/lib/Runtime/PlatformAgnostic/Platform/Linux/UnicodeText.ICU.cpp:38:22: error: unknown type name 'Normalizer2'; did you mea...
OS X builds failing in release/1.8
https://api.github.com/repos/chakra-core/ChakraCore/issues/5365/comments
3
2018-06-26T01:05:21Z
2018-06-26T17:36:32Z
https://github.com/chakra-core/ChakraCore/issues/5365
335,620,649
5,365
[ "chakra-core", "ChakraCore" ]
Hello, The following code behaves incorrectly (inconsistent with the standard and other engines). ch version 1.8.5.0 ``` var nonArray=({ length:4, 0:42, ...
string representation of floats larger than 2^53 differs from other engines
https://api.github.com/repos/chakra-core/ChakraCore/issues/5363/comments
2
2018-06-25T08:48:01Z
2018-06-26T01:13:29Z
https://github.com/chakra-core/ChakraCore/issues/5363
335,313,695
5,363
[ "chakra-core", "ChakraCore" ]
Hello, The following code behaves incorrectly (inconsistent with the standard and other engines). ch version 1.8.5.0 ``` function testToUint32InSplit(){ var re; function toDictMode(){ ...
Inconsistent output compared with other JS engines
https://api.github.com/repos/chakra-core/ChakraCore/issues/5362/comments
1
2018-06-25T08:18:18Z
2018-06-26T01:17:47Z
https://github.com/chakra-core/ChakraCore/issues/5362
335,304,014
5,362
[ "chakra-core", "ChakraCore" ]
Hello, The following code behaves incorrectly (inconsistent with the standard and other engines). ch version 1.8.5.0 ``` (("").match(/(A{9999999999}B|C*)*D/)); print("BT_FLAG"); ``` Output is: SyntaxError: Syntax error in regular expression at code (55577775.js:1:26) However, other engines output: BT_...
Inconsistent output compared with other JS engines: syntax error on large integer literal in regexp
https://api.github.com/repos/chakra-core/ChakraCore/issues/5361/comments
2
2018-06-25T07:38:13Z
2018-06-26T01:17:22Z
https://github.com/chakra-core/ChakraCore/issues/5361
335,292,303
5,361
[ "chakra-core", "ChakraCore" ]
Hello, The following code behaves incorrectly (inconsistent with the standard and other engines). ch version 1.8.5.0 ``` arr0 = [ 1, 2, 3 ]; arr1 = [ 4, 5, 6 ]; handler1 = { get: function (oTar...
Inconsistent output compared with V8 and SpiderMonkey
https://api.github.com/repos/chakra-core/ChakraCore/issues/5360/comments
1
2018-06-25T06:49:06Z
2018-06-26T01:18:03Z
https://github.com/chakra-core/ChakraCore/issues/5360
335,279,304
5,360
[ "chakra-core", "ChakraCore" ]
Not sure if this is an Edge or F12 issue, but in any case I'm having a hard time porting a web app that uses web crypto to Edge. Below please find a similar simpler use case that also does not resolve. Sample code: borrowed: from here: https://github.com/diafygi/webcrypto-examples#aes-ctr---generatekey ```javascript...
webcrypto generateKey promise does not resolve.
https://api.github.com/repos/chakra-core/ChakraCore/issues/5359/comments
1
2018-06-23T04:42:37Z
2018-06-23T07:49:48Z
https://github.com/chakra-core/ChakraCore/issues/5359
335,068,151
5,359
[ "chakra-core", "ChakraCore" ]
Hey, I wrote a sample [app ](https://github.com/SiamAbdullah/sampleChakraCoreApp) where I serialized JavaScript into byte array and executed serialized script in different runtime. The app is getting crashed after a period of time. It is throwing AccessViolationException. **Unhandled Exception: System.AccessViola...
app crash while executing same Serialized Scirpt multiple times. Exception : System.AccessViolationException:
https://api.github.com/repos/chakra-core/ChakraCore/issues/5355/comments
6
2018-06-23T01:07:18Z
2018-06-26T01:02:04Z
https://github.com/chakra-core/ChakraCore/issues/5355
335,054,944
5,355
[ "chakra-core", "ChakraCore" ]
We have some code that calls JsCreateExternalObject (through the .NET wrapper) to get a reference to external C# objects. It works fine most of the time, but it looks like one time it returned ArgumentNotObject. Is there any valid scenario where this error would be returned from this method? I looked at the [impleme...
JsCreateExternalObject returns ArgumentNotObject
https://api.github.com/repos/chakra-core/ChakraCore/issues/5353/comments
9
2018-06-22T21:28:21Z
2018-06-27T03:50:13Z
https://github.com/chakra-core/ChakraCore/issues/5353
335,024,403
5,353
[ "chakra-core", "ChakraCore" ]
At the May 2018 TC39 meeting, consensus was reached to rename Atomics.wake to Atomics.notify (while the API is temporarily disabled). The spec change can be found here: https://github.com/tc39/ecma262/pull/1220
Rename Atomics.wake to Atomics.notify per ES standard change
https://api.github.com/repos/chakra-core/ChakraCore/issues/5349/comments
1
2018-06-22T16:29:09Z
2018-06-26T19:16:45Z
https://github.com/chakra-core/ChakraCore/issues/5349
334,942,460
5,349
[ "chakra-core", "ChakraCore" ]
For the following test case: ```js function getF() { return f; } { if (getF() === f) { print('Global var set before evaluating function declaration'); } function f() { return "bar"; } } ``` I see: ``` #### ch Global var set before evaluating function declaration #### sm #### v8 ...
Global var set before evaluating function declaration in non-strict block
https://api.github.com/repos/chakra-core/ChakraCore/issues/5340/comments
8
2018-06-20T23:15:46Z
2018-06-27T23:08:11Z
https://github.com/chakra-core/ChakraCore/issues/5340
334,281,826
5,340
[ "chakra-core", "ChakraCore" ]
After some fuzz testing, I found crashing test case. Git HEAD: 0fe9eb90a69fa4d148013241276d1824676f628e OS: Ubuntu 18.04 x64 Compiler: clang / clang++ 6.0.0, installed from repo Crashing test case: `function o(){}async function af0(a){await 0;return await arguments/**/}async function a(){0()}af0();function f(...
Invalid write in ThreadContext::SetNoJsReentrancy()
https://api.github.com/repos/chakra-core/ChakraCore/issues/5338/comments
3
2018-06-20T12:56:09Z
2018-07-18T18:29:49Z
https://github.com/chakra-core/ChakraCore/issues/5338
334,064,352
5,338
[ "chakra-core", "ChakraCore" ]
I have the chakracore hosted in a windows application. I 'm running a JS script with defined a function r(v). The script throws the error: 'object expected' when the r() function is called. So it seems that r() is a predefined chakra function. Am I correct ? How can I fix the problem ?
Problem with r(v) function
https://api.github.com/repos/chakra-core/ChakraCore/issues/5333/comments
3
2018-06-19T21:11:00Z
2018-06-22T17:08:41Z
https://github.com/chakra-core/ChakraCore/issues/5333
333,840,469
5,333
[ "chakra-core", "ChakraCore" ]
https://github.com/Microsoft/ChakraCore/blob/99f04016d044360b637a654a274c167d026cb020/lib/Common/Core/FaultInjection.cpp#L153
RtlVirtualUnwind last parameter is optional and not needed here.
https://api.github.com/repos/chakra-core/ChakraCore/issues/5314/comments
0
2018-06-14T07:37:26Z
2018-10-09T20:47:18Z
https://github.com/chakra-core/ChakraCore/issues/5314
332,284,769
5,314
[ "chakra-core", "ChakraCore" ]
This code will log `1, 2, 3` on chakra. On v8, it will log `2, 3, 1`. Believe that the difference here is Chakra is not creating a new promise for the await. Spec section on [await](https://tc39.github.io/ecma262/#await) claims that we should be creating two new promises when we await, but we're only creating one. ...
Review Implementation of Async/Await
https://api.github.com/repos/chakra-core/ChakraCore/issues/5293/comments
14
2018-06-11T20:21:20Z
2019-11-24T18:38:22Z
https://github.com/chakra-core/ChakraCore/issues/5293
331,335,540
5,293
[ "chakra-core", "ChakraCore" ]
Let's imagine that I'm building a game and I want to handle a specific part of the game using code processed by ChakraCore. How would I invoke JS and take all of it's advantages and also build bindings so this JS code could access other bindings to other functionality of the game framework? Is it possible or I'm talkin...
Is it possible to embed ChakraCore in a game framework?
https://api.github.com/repos/chakra-core/ChakraCore/issues/5289/comments
2
2018-06-11T04:39:12Z
2018-06-22T00:27:59Z
https://github.com/chakra-core/ChakraCore/issues/5289
331,043,385
5,289
[ "chakra-core", "ChakraCore" ]
```js function a() {} const p1 = new Proxy(a, {}) console.log(typeof p1) // "function" const p2 = new Proxy(p1, {}) console.log(typeof p2) // "object" but should be "function" ```
A function wrapped in 2 or more proxies is seen as `typeof` a `object`.
https://api.github.com/repos/chakra-core/ChakraCore/issues/5282/comments
2
2018-06-07T20:38:48Z
2018-06-19T18:37:11Z
https://github.com/chakra-core/ChakraCore/issues/5282
330,427,046
5,282
[ "chakra-core", "ChakraCore" ]
TL;DR: `eshost` needs a way to invoke `ch` with a flag that instructs `ch` to treat the `<source file>` as module code. e.g. `ch -module source.js` All other ECMAScript hosts presently expose a flag that enables this "mode": | Engine | Host | Existing Mechanism | | ---- | ---- | ---------------------| | Chak...
Test262/eshost runtime feature request: -module flag for ch
https://api.github.com/repos/chakra-core/ChakraCore/issues/5274/comments
10
2018-06-06T15:00:36Z
2018-06-26T15:45:17Z
https://github.com/chakra-core/ChakraCore/issues/5274
329,907,369
5,274
[ "chakra-core", "ChakraCore" ]
Hello! I've been trying my own hand at implementing `$262.agent.monotonicNow()` (as a function exposed on `WScript` when `-Test262` is used), which is necessary for testing Atomic operations that involve wait/wake with specified timeouts. I was attempting to use `std::chrono::steady_clock` with the appropriate inclu...
Test262 Agent feature request: $262.agent.monotonicNow()
https://api.github.com/repos/chakra-core/ChakraCore/issues/5271/comments
3
2018-06-05T20:03:17Z
2021-04-30T15:11:34Z
https://github.com/chakra-core/ChakraCore/issues/5271
329,604,645
5,271
[ "chakra-core", "ChakraCore" ]
While writing Test262 tests for dynamic import, I discovered the following incompatibility: ```js import() ``` Should produce a SyntaxError, given the grammar: `import (` _AssignmentExpression_ `)` Does not expand to `import()`
Dynamic Imports: import() must produce a SyntaxError
https://api.github.com/repos/chakra-core/ChakraCore/issues/5270/comments
6
2018-06-05T17:33:40Z
2018-06-06T18:35:16Z
https://github.com/chakra-core/ChakraCore/issues/5270
329,555,444
5,270
[ "chakra-core", "ChakraCore" ]
`navigator.plugins` object behaves in an odd way in certain edge cases. I suppose the specification relevant for the `navigator.plugins` object is https://heycam.github.io/webidl/#es-legacy-platform-objects, and https://html.spec.whatwg.org/multipage/#pluginarray . Since these do not specify whether the object shou...
navigator.plugins object's named property become non-enumerable on certain circumstances
https://api.github.com/repos/chakra-core/ChakraCore/issues/5263/comments
7
2018-06-04T09:34:25Z
2018-11-30T00:30:41Z
https://github.com/chakra-core/ChakraCore/issues/5263
328,978,900
5,263
[ "chakra-core", "ChakraCore" ]
Don't know whether this is known or not but I figured I'd bring it up in case this was a bug or oversight: I've found that when inspecting values using the debugger API (for example, a result of JsDiagEvaluate), for at least `NaN` and +/- `Infinity`, these values are provided directly as the "value" property of the ser...
Debug protocol is not 100% JSON compliant
https://api.github.com/repos/chakra-core/ChakraCore/issues/5262/comments
8
2018-06-03T17:27:53Z
2018-06-07T00:53:38Z
https://github.com/chakra-core/ChakraCore/issues/5262
328,846,223
5,262
[ "chakra-core", "ChakraCore" ]
In react native apps there are usually 1-3K elements stored in the [instanceCache](https://github.com/facebook/react-native/blob/master/Libraries/Renderer/oss/ReactNativeRenderer-prod.js#L988) array. Pattern: declared as an object/dictionary, used as an array, frequent add/delete operations, indexes grow continuously (...
High heap fragmentation caused by sparse arrays
https://api.github.com/repos/chakra-core/ChakraCore/issues/5261/comments
1
2018-06-02T02:38:23Z
2018-06-14T01:03:07Z
https://github.com/chakra-core/ChakraCore/issues/5261
328,705,754
5,261
[ "chakra-core", "ChakraCore" ]
Hey, I wrote a simple ChakraCore [app](https://github.com/SiamAbdullah/sampleChakraCoreApp.git) where I executed a method over 100K times and I observed JSRuntimeMemoryUsage increase over period of execution. public static void Main(string[] arguments) { using (var runtime = JavaSc...
Increase JSRuntimeMemoryUsage for a static script
https://api.github.com/repos/chakra-core/ChakraCore/issues/5259/comments
3
2018-06-01T23:40:22Z
2018-06-04T22:53:37Z
https://github.com/chakra-core/ChakraCore/issues/5259
328,690,048
5,259
[ "chakra-core", "ChakraCore" ]
I'm trying to make ChakraCore running on arm64 properly. Although it seems to ChakraCore doesn't support arm64 officially (at least can't build for arm64 using build script), but the codes for arm64 is almost ready in code base except for unixasmmacrosarm64.inc is used by others but doesn't exist in the project. Wha...
Source code is missing for arm64 build
https://api.github.com/repos/chakra-core/ChakraCore/issues/5243/comments
8
2018-05-29T18:11:45Z
2018-05-31T19:51:25Z
https://github.com/chakra-core/ChakraCore/issues/5243
327,431,008
5,243
[ "chakra-core", "ChakraCore" ]
Is there any plans to implement code cache which is used by V8 (https://v8project.blogspot.in/2015/07/code-caching.html)?
Code cache
https://api.github.com/repos/chakra-core/ChakraCore/issues/5241/comments
3
2018-05-29T03:31:55Z
2018-05-31T19:50:36Z
https://github.com/chakra-core/ChakraCore/issues/5241
327,159,539
5,241
[ "chakra-core", "ChakraCore" ]
Note, I have a working implementation/proof of concept of this proposal that passes all existing module tests. See this commit for CC changes https://github.com/rhuanjl/ChakraCore/commit/db4daf7b1e21c952c6bd256291f987f0fd428069 and See this commit for adding it to ch https://github.com/rhuanjl/ChakraCore/commit/cb316...
Proposal: implement seperate/additional module API for node-chakracore
https://api.github.com/repos/chakra-core/ChakraCore/issues/5240/comments
6
2018-05-27T23:35:23Z
2020-12-12T15:31:22Z
https://github.com/chakra-core/ChakraCore/issues/5240
326,861,133
5,240
[ "chakra-core", "ChakraCore" ]
Hi team, Quick question, I've spent many hours trying to compile the shared library with AddressSanitizer, however I'm not having luck. Am running on Ubuntu 16.04.4 x64 with clang 7 using the following command: ```./build.sh --cxx=/usr/bin/clang++ --cc=/usr/bin/clang --sanitize=address``` Once the compilation ...
Cannot instrument libChakraCore.so with AddressSanitizer
https://api.github.com/repos/chakra-core/ChakraCore/issues/5239/comments
4
2018-05-27T10:46:21Z
2018-05-31T19:50:05Z
https://github.com/chakra-core/ChakraCore/issues/5239
326,805,719
5,239
[ "chakra-core", "ChakraCore" ]
For comparison of esmodule behavior to any other environment imports should really be relative to the current module. (e.g. to investigate #5171 I had to use @fatcerberus miniSphere as my test harness to be able to try and load the ESM version of moment.js as it assumed relative imports so could not test in ch) Curr...
Module imports in ch should be relative to the current module
https://api.github.com/repos/chakra-core/ChakraCore/issues/5237/comments
2
2018-05-26T15:34:52Z
2018-11-01T01:05:42Z
https://github.com/chakra-core/ChakraCore/issues/5237
326,746,685
5,237
[ "chakra-core", "ChakraCore" ]
Raising this as a separate issue from #5171 though it's related. #5171 was specifically talking about a regression - the only change having been module load order. But this is the reason why the load order mattered in that case - in CC module function exports are not treated as hoistable exports. (In fact I don't th...
Module function exports not hoisted
https://api.github.com/repos/chakra-core/ChakraCore/issues/5236/comments
5
2018-05-26T10:05:56Z
2019-07-03T22:05:57Z
https://github.com/chakra-core/ChakraCore/issues/5236
326,726,607
5,236
[ "chakra-core", "ChakraCore" ]
Minimum repro: ```javascript class A {} const p = new Proxy(A, {}); Reflect.construct(p, [], A); ``` My VSO branch user/sethb/bound-class-2 has a bunch of new test cases based on suggestions in #5218. I think all of the failures boil down to this same problem. Reflect.construct passes new.target as an extra a...
Exception when constructing proxied class
https://api.github.com/repos/chakra-core/ChakraCore/issues/5225/comments
2
2018-05-24T16:18:20Z
2018-07-26T23:15:49Z
https://github.com/chakra-core/ChakraCore/issues/5225
326,195,099
5,225
[ "chakra-core", "ChakraCore" ]
[This proposal](https://github.com/tc39/proposal-optional-catch-binding) is now in stage 4, and is being used in node.js core.
optional catch binding
https://api.github.com/repos/chakra-core/ChakraCore/issues/5210/comments
0
2018-05-22T18:58:37Z
2018-10-31T23:12:01Z
https://github.com/chakra-core/ChakraCore/issues/5210
325,422,414
5,210
[ "chakra-core", "ChakraCore" ]
Hi everyone, it was observed that Chakra throws a SyntaxError when we use the `for...in` statement with `yield` inside a generator function. OS: Ubuntu 16.04 x64 Chakra Version: 1.10.0.0-beta Step to reproduce: ``` function* g1() { for (var x = yield in {}) ; } var it = g1(); ``` Actual result: ``...
Chakra throws a SyntaxError on for...in statement
https://api.github.com/repos/chakra-core/ChakraCore/issues/5203/comments
4
2018-05-21T12:55:07Z
2018-08-07T11:49:48Z
https://github.com/chakra-core/ChakraCore/issues/5203
324,905,958
5,203
[ "chakra-core", "ChakraCore" ]
Template literal caching was changed in https://github.com/tc39/ecma262/pull/890 to cache per source location, rather than by literal string contents. V8, SpiderMonkey and JSC all seem to implement the new semantics. This behavior is very important to template tag functions that caching work based on templates. ...
Cache template literals per site, not by contents
https://api.github.com/repos/chakra-core/ChakraCore/issues/5201/comments
2
2018-05-20T00:29:47Z
2018-09-26T00:01:23Z
https://github.com/chakra-core/ChakraCore/issues/5201
324,671,805
5,201
[ "chakra-core", "ChakraCore" ]
Clone the latest ChakraCore and build, ``` Error C2220 warning treated as error - no 'object' file generated Chakra.Runtime.Library c:\users\test\desktop\chakracore\lib\runtime\library\jsbuiltin\jsbuiltin.js.bc.32b.h 1 ``` But the https://github.com/Microsoft/ChakraCore/releases/tag/v1.8.4 build properly without a...
Build Error on Microsoft Visual Studio Community 2017
https://api.github.com/repos/chakra-core/ChakraCore/issues/5200/comments
1
2018-05-19T14:38:46Z
2018-05-23T08:06:39Z
https://github.com/chakra-core/ChakraCore/issues/5200
324,634,418
5,200
[ "chakra-core", "ChakraCore" ]
Encouraged by [a comment in ByteSwap.h][b], I am trying to understand what it would take to build ChakraCore on FreeBSD. I understand that this might not be a priority, but I will appreciate any pointers or suggestions. [b]: https://github.com/Microsoft/ChakraCore/blame/master/lib/Common/Common/ByteSwap.h#L72
FreeBSD port
https://api.github.com/repos/chakra-core/ChakraCore/issues/5199/comments
10
2018-05-19T04:57:24Z
2018-11-29T01:53:58Z
https://github.com/chakra-core/ChakraCore/issues/5199
324,601,361
5,199
[ "chakra-core", "ChakraCore" ]
This is most obvious in repl type environments, but you can also see it with eval: ```js console.log(eval("var [x] = [1]")); ``` In v8 and spidermonkey this results in undefined, while in chakracore it prints the value of the right hand side.
Declarations involving destructuring return the wrong value
https://api.github.com/repos/chakra-core/ChakraCore/issues/5196/comments
3
2018-05-18T21:49:32Z
2018-07-02T22:44:25Z
https://github.com/chakra-core/ChakraCore/issues/5196
324,561,962
5,196
[ "chakra-core", "ChakraCore" ]
It appears that we have some rare cases when allocation/free reporting to the allocation manager is not balanced. That causes spurious failures in integration tests. It does not look like a recent regression. We only started seeing this because we have enabled allocation manager in more scenarios. At this point ...
Temporary disable asserts in AllocationPolicyManager
https://api.github.com/repos/chakra-core/ChakraCore/issues/5191/comments
2
2018-05-18T17:23:17Z
2018-05-31T17:38:39Z
https://github.com/chakra-core/ChakraCore/issues/5191
324,490,908
5,191
[ "chakra-core", "ChakraCore" ]
Hi, all again :) I have a problem with the garbage collection. I need to create and destroy a lot of contexts which use one runtime and after that, I want to uninitialize my system where I am trying to invoke JsDisposeRuntime, but it seems that on "ClearObjectBeforeCollectCallbacks" there are still data, but a...
JsCollectGarbage doesn't do a garbage
https://api.github.com/repos/chakra-core/ChakraCore/issues/5190/comments
4
2018-05-18T15:35:13Z
2018-05-23T14:48:16Z
https://github.com/chakra-core/ChakraCore/issues/5190
324,457,885
5,190
[ "chakra-core", "ChakraCore" ]
Chakra failed with error C2760 when build with permissive- by msvc on Windows, I use latest source 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 repro this issue as th...
Chakra failed with error C2760 when build with permissive- by msvc on Windows
https://api.github.com/repos/chakra-core/ChakraCore/issues/5189/comments
1
2018-05-18T08:46:34Z
2018-07-18T23:43:59Z
https://github.com/chakra-core/ChakraCore/issues/5189
324,322,382
5,189
[ "chakra-core", "ChakraCore" ]
OS: Ubuntu 16.04 x86 Chakra: 1.10.0.0-beta Step to reproduce: ``` // RegExp.prototype with overridden exec: Testing ES6 21.2.5.11: 19.b. Let z be ? RegExpExec(splitter, S). let accesses = []; let origDescriptor = Object.getOwnPropertyDescriptor(RegExp.prototype, "exec"); let origExec = origDescriptor.value; ...
Chakra cannot override RegExp.prototype.exec property
https://api.github.com/repos/chakra-core/ChakraCore/issues/5187/comments
5
2018-05-17T20:25:11Z
2020-03-25T08:54:46Z
https://github.com/chakra-core/ChakraCore/issues/5187
324,172,894
5,187
[ "chakra-core", "ChakraCore" ]
Hi everyone, Chakra throws a SyntaxError when I instantiate a RegExp class with a pattern that have a long number quantifier prefix, the same occurs with the regular expression literal. OS: Ubuntu 16.04 x86 Chakra: 1.10.0.0-beta Step to reproduce: ``` let p1 = new RegExp('^[a-z]{2,2147483648}$'); print(p1.te...
Chakra throws SyntaxError if RegExp pattern has a quantifier prefix with a long number
https://api.github.com/repos/chakra-core/ChakraCore/issues/5182/comments
3
2018-05-17T17:49:31Z
2018-08-07T11:49:38Z
https://github.com/chakra-core/ChakraCore/issues/5182
324,123,205
5,182
[ "chakra-core", "ChakraCore" ]
Hi all :) Is it possible to make a native function call from one context where the native function makes a call which switches the context and the runtime? In this example, every context has a different runtime and everything happens on the same thread.
Switching a context from different runtime while running a script
https://api.github.com/repos/chakra-core/ChakraCore/issues/5179/comments
3
2018-05-17T15:50:39Z
2018-05-18T06:46:25Z
https://github.com/chakra-core/ChakraCore/issues/5179
324,083,331
5,179
[ "chakra-core", "ChakraCore" ]
It's common in JavaScript to find method call chains like the one below, particularly when using query libraries like Lazy.js or jQuery: ```js doSomething() .doA() .doB() .doC(); ``` If one accidentally adds an extra semicolon in the middle of such a chain--a mistake I myself make way too often--li...
Uninformative error message for extra semicolon in method chain
https://api.github.com/repos/chakra-core/ChakraCore/issues/5178/comments
9
2018-05-17T05:56:56Z
2018-10-09T22:53:19Z
https://github.com/chakra-core/ChakraCore/issues/5178
323,881,884
5,178
[ "chakra-core", "ChakraCore" ]
Hello. I have recently updated from Edge 16 to Edge 17 and now I began to experience issue with imports from momentjs. You can reproduce this issue easily. Assuming you have installed momentjs from npm, create two files: **index.html** ``` <!DOCTYPE html> <html lang="en"> <head> </head> <body> <script src=...
Imported function is undefined
https://api.github.com/repos/chakra-core/ChakraCore/issues/5171/comments
18
2018-05-16T11:10:50Z
2018-06-07T00:09:18Z
https://github.com/chakra-core/ChakraCore/issues/5171
323,574,549
5,171
[ "chakra-core", "ChakraCore" ]
Hi all, I have a problem when I am trying to switch a context. I have two contexts in a single runtime and everything is happening on the same thread, but when I am trying to change the current context the operation failed. I am using "JsSetCurrentContext" It seems that there is a running script in the active context ...
Problem while switching contexts
https://api.github.com/repos/chakra-core/ChakraCore/issues/5160/comments
10
2018-05-15T11:51:45Z
2018-05-18T06:45:27Z
https://github.com/chakra-core/ChakraCore/issues/5160
323,183,904
5,160
[ "chakra-core", "ChakraCore" ]
Can ChakraCore on MacOS be built for arm-Windows platform using Visual Studio Community 2017? e.g. arm Chromebook I import the Build\Chakra.Core.sln into VS 2017 on MacOS, and seems cannot build, occur "This project type is not supported by Visual Studio Community 2017 for Mac". Thanks.
Can ChakraCore on MacOS be built for arm-Windows platform with VS 2017?
https://api.github.com/repos/chakra-core/ChakraCore/issues/5159/comments
3
2018-05-15T04:12:49Z
2018-05-31T19:49:41Z
https://github.com/chakra-core/ChakraCore/issues/5159
323,060,427
5,159
[ "chakra-core", "ChakraCore" ]
https://github.com/Microsoft/ChakraCore/pull/5133 added support for skipping nested deferred functions when undeferring but disables the optimization for functions nested inside parent functions with default arguments due to complications with function ordering for such parent functions. It should be possible to get...
Support skip nested deferred for functions defined in parameter scope
https://api.github.com/repos/chakra-core/ChakraCore/issues/5156/comments
0
2018-05-15T00:56:41Z
2019-07-17T04:11:04Z
https://github.com/chakra-core/ChakraCore/issues/5156
323,030,178
5,156
[ "chakra-core", "ChakraCore" ]
Also identify whether the number of closed script engine is high and if the number of pinned object is high and use different fail fast functions as well.
Use different fail fast when hitting 3gb limit to improve watson bucketing
https://api.github.com/repos/chakra-core/ChakraCore/issues/5155/comments
0
2018-05-14T23:33:52Z
2018-06-13T05:19:18Z
https://github.com/chakra-core/ChakraCore/issues/5155
323,017,028
5,155
[ "chakra-core", "ChakraCore" ]
The following test should pass. ```javascript function f() { this.b = this.a } f.prototype.a = 1; const bound = f.bind({}); function g() { } g.prototype.a = 2; const obj = Reflect.construct(bound, [], g); assert.areEqual(2, obj.a, "prototype should end up correct"); assert.areEqual(2, obj.b, "prototype shoul...
newTarget ignored when constructing bound function
https://api.github.com/repos/chakra-core/ChakraCore/issues/5151/comments
0
2018-05-14T16:33:56Z
2018-05-16T18:18:01Z
https://github.com/chakra-core/ChakraCore/issues/5151
322,892,067
5,151
[ "chakra-core", "ChakraCore" ]
With the source here: #### a.js ```js import { B } from './b.js'; export class A {} console.log("A", A) console.log("B", B); console.log("c", c); ``` #### b.js ```js import { A } from './a.js'; export class B {} export let c = 1 ``` I would expect that loading a.js would throw an error when attem...
exported class declarations are treated as hoistable declarations
https://api.github.com/repos/chakra-core/ChakraCore/issues/5145/comments
2
2018-05-12T17:55:52Z
2018-05-13T16:02:44Z
https://github.com/chakra-core/ChakraCore/issues/5145
322,530,538
5,145
[ "chakra-core", "ChakraCore" ]
Align with agreed upon limits https://github.com/WebAssembly/spec/issues/607
WASM - Limits
https://api.github.com/repos/chakra-core/ChakraCore/issues/5141/comments
0
2018-05-12T00:38:00Z
2018-12-15T19:04:34Z
https://github.com/chakra-core/ChakraCore/issues/5141
322,468,334
5,141
[ "chakra-core", "ChakraCore" ]
After disabling runtime execution the script completes successfully with no error, although I expect ScriptTerminated to be returned. This seems to be happening only when the script has no other commands to execute after runtime execution is disabled. For example, when I try this script, the error is printed as expecte...
ScriptTerminated error not returned
https://api.github.com/repos/chakra-core/ChakraCore/issues/5134/comments
10
2018-05-11T01:56:20Z
2018-05-12T03:08:05Z
https://github.com/chakra-core/ChakraCore/issues/5134
322,141,866
5,134
[ "chakra-core", "ChakraCore" ]
Hi everyone, I found an inconsistency when try to evaluate a "for" statement without the body statement. OS: Ubuntu 16.04 x64 Chakra: 1.10.0.0-beta Step to reproduce: ``` first = "for (i = 0; i < 3; i++);" print (eval ( first ) ) second = "for (i = 0; i < 3; i++)" print (eval ( second ) ) ``` Actual re...
Chakra should throw an exception when evaluate an invalid "for" statement
https://api.github.com/repos/chakra-core/ChakraCore/issues/5128/comments
4
2018-05-10T15:10:28Z
2022-10-15T11:21:54Z
https://github.com/chakra-core/ChakraCore/issues/5128
321,967,709
5,128
[ "chakra-core", "ChakraCore" ]
We have the following setup: (the objects are created but 'instanceof' does not work) ``` JsValueRef CHAKRA_CALLBACK CommentConstructor( JsValueRef callee, bool isConstructCall, JsValueRef* arguments, unsigned short argumentCount, void* callbackState) { JsValueRef jsObject; // Cr...
Problem with a custom object and 'instanceof'.
https://api.github.com/repos/chakra-core/ChakraCore/issues/5127/comments
6
2018-05-10T12:49:59Z
2018-05-14T21:13:55Z
https://github.com/chakra-core/ChakraCore/issues/5127
321,919,749
5,127
[ "chakra-core", "ChakraCore" ]
According to [ecma typeof operator](https://tc39.github.io/ecma262/#sec-typeof-operator) we are never supposed to swallow exceptions. Instead we should check if the reference exists, if not return `"undefined"` otherwise let all other exceptions flow. ```js var a = { get x() { throw new Error("Some error")...
typeof swallows too much exceptions
https://api.github.com/repos/chakra-core/ChakraCore/issues/5117/comments
3
2018-05-08T18:39:12Z
2019-06-07T18:45:01Z
https://github.com/chakra-core/ChakraCore/issues/5117
321,300,302
5,117
[ "chakra-core", "ChakraCore" ]
Evaluating ```js (function(){"use strict";aa=233})() ``` in Edge causes a global variable `aa` to be created, instead of an error being thrown. User agent: ``` Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/17.17134 ```
Functions evaluated in strict mode in console does not prevent implicit variables from being created in Edge
https://api.github.com/repos/chakra-core/ChakraCore/issues/5115/comments
24
2018-05-08T05:45:40Z
2019-06-07T19:04:05Z
https://github.com/chakra-core/ChakraCore/issues/5115
321,049,847
5,115
[ "chakra-core", "ChakraCore" ]
From the issues found in https://github.com/Microsoft/ChakraCore/pull/5099 `AllocationPolicy` seems fairly confusing to use. Especially when external allocations are involved. - it is not very clear what `AllocationPolicy` applies to. - Is it process-wide, per script host or per-thread? This need to be made more ...
AllocationPolicy should be made more straightforward to use
https://api.github.com/repos/chakra-core/ChakraCore/issues/5114/comments
1
2018-05-08T05:34:17Z
2019-06-07T18:26:47Z
https://github.com/chakra-core/ChakraCore/issues/5114
321,048,056
5,114
[ "chakra-core", "ChakraCore" ]
Chakra failed with error C4596 when build with permissive- by msvc on Windows, I use latest source on master branch. Could you please help take a look at this? this issue involved by commit https://github.com/Microsoft/ChakraCore/commit/ff4d7e93aea9b8d2d5c6d1ff020def2a0055ee16 We reported multi similar issues last ...
Chakra failed with error C4596 when build with permissive- + MSVC on windows.
https://api.github.com/repos/chakra-core/ChakraCore/issues/5112/comments
3
2018-05-08T02:13:18Z
2018-08-27T16:03:43Z
https://github.com/chakra-core/ChakraCore/issues/5112
321,018,696
5,112
[ "chakra-core", "ChakraCore" ]
Other browsers, like. Chrome, contains heuristics to reduce playback delay/latency when encountering fragmented MP4 files with unknown duration. This is typically encountered in live video streaming. Opening a such video will cause `"Video rendering in low delay mode."` to be displayed in the `chrome://media-internals/...
Low delay playback of fragmented MP4
https://api.github.com/repos/chakra-core/ChakraCore/issues/5107/comments
2
2018-05-07T09:14:17Z
2018-05-07T16:13:59Z
https://github.com/chakra-core/ChakraCore/issues/5107
320,731,784
5,107
[ "chakra-core", "ChakraCore" ]
(Originally reported through VS forum, told to report here instead.) If I have the following JavaScript Vue.js code in a UWP app: ``` EventBus.$on("erase-history", (event) => { await clearCacheAsync().then(() => console.log("Cleared Cache"), (e) => console.error(`Error Clearing Cache ${e}`)); }...
Unhelpful Error Message - Should be missing 'async' keyword instead of Expected ';'
https://api.github.com/repos/chakra-core/ChakraCore/issues/5103/comments
8
2018-05-04T23:41:12Z
2024-04-16T18:44:13Z
https://github.com/chakra-core/ChakraCore/issues/5103
320,459,164
5,103
[ "chakra-core", "ChakraCore" ]
Noticed this while investigating nightly failures. Should be a simple fix.
Intl-ICU: "a".localeCompare(null) throws TypeError
https://api.github.com/repos/chakra-core/ChakraCore/issues/5097/comments
0
2018-05-04T16:51:45Z
2018-05-09T18:04:15Z
https://github.com/chakra-core/ChakraCore/issues/5097
320,347,260
5,097
[ "chakra-core", "ChakraCore" ]
Hi Team, `https://github.com/Microsoft/ChakraCore/blob/master/pal/inc/pal.h#L4821` Does not check for buffer overflows when copying to destination [MS-banned] (CWE-120). Consider using snprintf, strcpy_s, or strlcpy (warning: strncpy easily misused). Request team to please have a look. Cheers!
No checks for overflow's
https://api.github.com/repos/chakra-core/ChakraCore/issues/5092/comments
2
2018-05-03T17:16:28Z
2018-05-08T00:15:45Z
https://github.com/chakra-core/ChakraCore/issues/5092
320,007,982
5,092
[ "chakra-core", "ChakraCore" ]
Hi Team, This issue was observed while analysis of source code : `https://github.com/Microsoft/ChakraCore/blob/master/pal/src/thread/process.cpp#L743` Statically-sized arrays can be improperly restricted, leading to potential overflows or other issues (CWE-119!/CWE-120). Perform bounds checking, use functions ...
Static sized arrays may lead to overflows
https://api.github.com/repos/chakra-core/ChakraCore/issues/5090/comments
4
2018-05-03T15:56:06Z
2018-05-03T17:12:23Z
https://github.com/chakra-core/ChakraCore/issues/5090
319,980,982
5,090
[ "chakra-core", "ChakraCore" ]
I made a [sample page](https://turbographics2000.github.io/screencapture_test/) of Edge's Screen Capture API and tried it, but in my environment a MediaStreamError (abort) error occurs. It is said that it worked in friends' environment when friends tried it. How can I solve this problem? https://youtu.be/2-1l7QfPkX...
Edge Screen Capture API. I got MediaStreamError(abortError)
https://api.github.com/repos/chakra-core/ChakraCore/issues/5089/comments
1
2018-05-03T04:41:31Z
2018-05-03T06:23:37Z
https://github.com/chakra-core/ChakraCore/issues/5089
319,786,522
5,089
[ "chakra-core", "ChakraCore" ]
Hello, according ES6 specification (https://github.com/tc39/ecma262/pull/833), the engine should throw a TypeError if ownKeys have duplicate entries. OS = Ubuntu 17.10 x64 ChakraCore: 1.10.0.0-beta Steps to reproduce: var proxy = new Proxy({}, { ownKeys: function (t) { return ["A", "A"]; }...
Chakra should throw TypeError if [[OwnPropertyKeys]] returns duplicate entries
https://api.github.com/repos/chakra-core/ChakraCore/issues/5087/comments
9
2018-05-02T22:18:36Z
2020-04-08T22:09:52Z
https://github.com/chakra-core/ChakraCore/issues/5087
319,731,541
5,087
[ "chakra-core", "ChakraCore" ]
As the title says. The following snippet should throw a `TypeError`, and it does so in most JS engines but not in Chakra/Edge. ```js (() => { 'use strict'; (new Proxy({ }, { set() { } })).foo = 1; })(); ``` I noticed this behavior in previous versions already, but could reproduce it in current `Microsoft Edge 4...
No TypeError thrown in strict mode when Proxy set trap returns falsy
https://api.github.com/repos/chakra-core/ChakraCore/issues/5084/comments
4
2018-05-02T19:24:37Z
2018-07-17T19:16:35Z
https://github.com/chakra-core/ChakraCore/issues/5084
319,680,949
5,084
[ "chakra-core", "ChakraCore" ]
I'm trying to replicate implementation-specific behaviour in ChakraCore to mirror behaviour found in v8. In v8, a Promise that `.reject()`s, wherein the rejection lacks a handler, will cause an exception. ChakraCore has a `JsHostPromiseRejectionTrackerCallback` hook to define host behaviour in this situation. Th...
Raising an exception when promise rejection is unhandled
https://api.github.com/repos/chakra-core/ChakraCore/issues/5079/comments
2
2018-05-01T22:38:55Z
2018-05-31T19:49:21Z
https://github.com/chakra-core/ChakraCore/issues/5079
319,351,503
5,079
[ "chakra-core", "ChakraCore" ]
It looks like we don't handle global simd correctly. It is unclear if global simd are allowed, but regardless we are missing explicit checks of the globals we support and this can lead to all sort of badness. Either properly support global simd or make sure we have a compile error if the user tries to use global with...
WASM: Global SIMD incorrectly handled
https://api.github.com/repos/chakra-core/ChakraCore/issues/5078/comments
5
2018-05-01T20:59:21Z
2018-08-10T00:37:10Z
https://github.com/chakra-core/ChakraCore/issues/5078
319,326,159
5,078
[ "chakra-core", "ChakraCore" ]
Hi, there is an inconsistency when a variable is declared twice as "var" and "let" inside the "with" scope. Chakra should not accept the redeclaration and indicate an error. OS: Ubuntu 17.10 Chakra: 1.10.0.0-beta Step to reproduce: ``` with({}) { var a; let a; } ``` Actual result: Pass withou...
Chakra should throw SyntaxError when a variable is already declared inside the "with" scope
https://api.github.com/repos/chakra-core/ChakraCore/issues/5076/comments
11
2018-05-01T02:53:34Z
2019-06-07T18:44:05Z
https://github.com/chakra-core/ChakraCore/issues/5076
319,101,133
5,076
[ "chakra-core", "ChakraCore" ]
The following should be an error and it is an error in v8 and sm ```js if (true) { let fo5_l = 123; if (true) { // conflict with `let` declaration in outer block scope - should fail. try { eval("var fo5_l = 456") } catch (e) { print(e); } } } ``` We do handle this correctly ...
var declaration in eval should conflict with outer block-scoped let declaration
https://api.github.com/repos/chakra-core/ChakraCore/issues/5070/comments
1
2018-04-30T17:08:32Z
2019-06-07T18:44:00Z
https://github.com/chakra-core/ChakraCore/issues/5070
318,964,294
5,070
[ "chakra-core", "ChakraCore" ]
Is it possible to make a global object with a custom prototype? If so, how?
Global object with a custom prototype
https://api.github.com/repos/chakra-core/ChakraCore/issues/5068/comments
5
2018-04-30T15:37:22Z
2018-05-31T19:49:05Z
https://github.com/chakra-core/ChakraCore/issues/5068
318,934,982
5,068
[ "chakra-core", "ChakraCore" ]
Hi, there's an inconsistence when we try to access an property inside the "with" scope. OS: Ubuntu 16.04 x64 Chakra: 1.10.0.0-beta Step to reproduce: ``` var o = { f: "foo" }; with (o) { var desc = Object.getOwnPropertyDescriptor(this, "f"); function f() { return "bar"; } if (!(desc.value =...
Inconsistency when try to access an property inside the "with" scope
https://api.github.com/repos/chakra-core/ChakraCore/issues/5067/comments
20
2018-04-30T12:13:01Z
2019-06-07T18:43:56Z
https://github.com/chakra-core/ChakraCore/issues/5067
318,869,474
5,067
[ "chakra-core", "ChakraCore" ]
Just installed Ubuntu 18.04 on a virtual machine and tried to build ChakraCore on it, got the following errors that caused the build to fail: ``` ./build.sh -j=6 --embed-icu ``` ``` /home/fatcerberus/src/ChakraCore/lib/Runtime/PlatformAgnostic/Platform/Common/UnicodeText.ICU.cpp:26:38: error: comparison of two...
Clang6: Build fails on Ubuntu 18.04 LTS
https://api.github.com/repos/chakra-core/ChakraCore/issues/5066/comments
6
2018-04-30T04:56:45Z
2018-05-01T16:50:06Z
https://github.com/chakra-core/ChakraCore/issues/5066
318,785,885
5,066
[ "chakra-core", "ChakraCore" ]
Hi everyone, when we try to get the prototype of an TypeError with Reflect.getPrototypeOf(TypeError) or Object.getPrototypeOf(TypeError) is expected that these functions should return the Error function. OS: Ubuntu 16.04 x86 Chakra: 1.9 Step to reproduce: ``` var protoOfError = Reflect.getPrototypeOf(TypeEr...
Reflect.getPrototypeOf(TypeError) should return the Error prototype
https://api.github.com/repos/chakra-core/ChakraCore/issues/5065/comments
9
2018-04-30T01:05:56Z
2018-09-11T15:49:39Z
https://github.com/chakra-core/ChakraCore/issues/5065
318,766,480
5,065
[ "chakra-core", "ChakraCore" ]
The macro `MAKE_MASK` uses a construct that clang 5.0.2 fails with `-werror`, which ChakraCore uses. The expansion on line 299, along with the error, reads: ``` /vagrant/ubuntu-build/chakracore-src/lib/Common/DataStructures/FixedBitVector.h:299:76: error: self-comparison always evaluates to true [-Werror,-Wtautolo...
Linux build fails in FixedBitVector due to -wtautological-compare
https://api.github.com/repos/chakra-core/ChakraCore/issues/5062/comments
4
2018-04-27T22:27:17Z
2018-05-01T17:21:13Z
https://github.com/chakra-core/ChakraCore/issues/5062
318,567,346
5,062
[ "chakra-core", "ChakraCore" ]
I'm seeing the same issue as #4320 again. Using the latest VS 15.7 preview, and referencing via the ChakraCore NuGet package in a C++ Console app, I get the below error (on the parameter `_In_ const uint16_t *content` in the declaration for `JsCreateStringUtf16`). ``` Severity Code Description Project File Line Su...
uint16_t undefined with 1.8.3
https://api.github.com/repos/chakra-core/ChakraCore/issues/5059/comments
1
2018-04-27T20:33:51Z
2018-04-30T18:25:16Z
https://github.com/chakra-core/ChakraCore/issues/5059
318,541,282
5,059
[ "chakra-core", "ChakraCore" ]
## Environment - WIndows 10 Enterprise / 1709 / 16299.371 - Microsoft Edge 41.16299.371.0 / Microsoft EdgeHTML 16.16299 - IE 11.371.16299.0 / 11.0.6(KB4092946) ## Symptom Both MS Edge and IE11 have problem with `Date.prototype.toLocaleString()`. "月" character is missing when `month` is specified as `short` and...
Date.prototype.toLocaleString() - "月" character is missing when "month" is specified as "short" and "year" is not specified.
https://api.github.com/repos/chakra-core/ChakraCore/issues/5048/comments
8
2018-04-26T03:12:20Z
2018-05-01T23:37:05Z
https://github.com/chakra-core/ChakraCore/issues/5048
317,862,307
5,048
[ "chakra-core", "ChakraCore" ]
There appears to be an error in strict mode detecting that a getter only property is read-only when that property is numerically indexed instead of having a name. I would expect both of the below tests (1 and 2) to throw errors in strict mode, but with current CC master (and latests release) only the 2nd one does. ...
Bug:Strict mode write to indexed getter only prop should throw TypeError
https://api.github.com/repos/chakra-core/ChakraCore/issues/5046/comments
4
2018-04-25T22:45:28Z
2019-06-07T18:43:50Z
https://github.com/chakra-core/ChakraCore/issues/5046
317,819,533
5,046
[ "chakra-core", "ChakraCore" ]
Hi everyone, I found this inconsistency when I try to use unary plus with invalid hexadecimal value. OS: ubuntu 16.04 x86 chakra: 1.9 Steps to reproduce: ``` var a = +"\x00"; if (a===0) { throw new Error("expected NaN but found 0"); } ``` Actual results: Error: expected NaN but found 0 Expected r...
Unary plus with invalid hexadecimal value
https://api.github.com/repos/chakra-core/ChakraCore/issues/5038/comments
2
2018-04-25T04:05:12Z
2018-08-07T11:49:29Z
https://github.com/chakra-core/ChakraCore/issues/5038
317,472,025
5,038
[ "chakra-core", "ChakraCore" ]
I modified some code to be able to compile and execute ChaKraCore in AArch64 Linux. Currently, I run the following simple code in interpreter mode, but occur argument passing error when calling into function test(num) function test(num) { return num; } var sum = 1; for (var step = 0; step < 500000; ...
Occur argument passing error in interpreter mode in AArch64 Linux
https://api.github.com/repos/chakra-core/ChakraCore/issues/5037/comments
2
2018-04-24T19:28:20Z
2018-05-31T19:48:55Z
https://github.com/chakra-core/ChakraCore/issues/5037
317,363,444
5,037