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 inconsistency when we try to set a getter-only property of an object.
OS: Ubuntu 16.04 x86
Chakra: 1.9
Step to reproduce:
```
try{
var a = {get "0"() {return 1;}, length: 1};
[].fill.call(a, 2);
throw new Error("should not reach this point")
}
catch(error){
if (!... | Chakra should throw TypeError when try to set property of an object which has only a getter | https://api.github.com/repos/chakra-core/ChakraCore/issues/5033/comments | 7 | 2018-04-24T00:08:18Z | 2024-05-10T16:19:34Z | https://github.com/chakra-core/ChakraCore/issues/5033 | 317,024,838 | 5,033 |
[
"chakra-core",
"ChakraCore"
] | Should be something embedders can disable without rebuilding. | Add FailFast that triggers when commit reaches "unreasonably large" value like 3GB | https://api.github.com/repos/chakra-core/ChakraCore/issues/5031/comments | 9 | 2018-04-23T21:52:33Z | 2018-05-11T19:18:31Z | https://github.com/chakra-core/ChakraCore/issues/5031 | 316,996,960 | 5,031 |
[
"chakra-core",
"ChakraCore"
] | Using a shorthand method name in an object in a constructor with a super does not work in `Microsoft Edge 41.16299.371.0`, `Microsoft EdgeHTML 16.16299`. It results in a `Invalid use of the 'super' keyword` error.
Does not work (with shorthand method name):
```js
class A extends Object {
constructor() {
... | Using shorthand method name in constructor with super | https://api.github.com/repos/chakra-core/ChakraCore/issues/5030/comments | 4 | 2018-04-23T08:56:18Z | 2018-05-04T22:19:54Z | https://github.com/chakra-core/ChakraCore/issues/5030 | 316,720,378 | 5,030 |
[
"chakra-core",
"ChakraCore"
] | We'd like to catch allocations that are too large, and 2GB is not aggressive enough. Please experiment with something much smaller. | Reduce recycler egregious allocation size limit from 2GB to something smaller | https://api.github.com/repos/chakra-core/ChakraCore/issues/5025/comments | 1 | 2018-04-20T22:45:39Z | 2018-07-26T16:59:40Z | https://github.com/chakra-core/ChakraCore/issues/5025 | 316,432,299 | 5,025 |
[
"chakra-core",
"ChakraCore"
] | Microbenchmark:
```js
"use strict";
const start = Date.now();
let length = 0;
for (var i = 0; i < 1e7; i++) {
length += "abCDef".toLowerCase().length;
}
print(`length: ${length}, time: ${Date.now() - start}`);
```
On my dev machine, jshost.exe with ICU takes about 2200ms to finish that test, while... | String.prototype.toLowerCase and toUpperCase are nearly 2x slower when using ICU | https://api.github.com/repos/chakra-core/ChakraCore/issues/5020/comments | 0 | 2018-04-19T19:13:12Z | 2018-04-20T17:06:17Z | https://github.com/chakra-core/ChakraCore/issues/5020 | 316,004,747 | 5,020 |
[
"chakra-core",
"ChakraCore"
] | Hi folks,
I've noticed that `JsSetCurrentContext` seems to leak small amounts of memory; see the screenshot below for a backtrace from Instruments on macOS. We're using ChakraCore in a server process, and during stress testing yesterday I noticed that we were leaking memory. Instruments shows that `JsSetCurrentCon... | Memory leak in JsSetCurrentContext | https://api.github.com/repos/chakra-core/ChakraCore/issues/5017/comments | 12 | 2018-04-19T18:25:52Z | 2019-06-07T18:52:55Z | https://github.com/chakra-core/ChakraCore/issues/5017 | 315,989,490 | 5,017 |
[
"chakra-core",
"ChakraCore"
] | Found during CI of mono WebAssembly.
This is on 64bits linux and ChakraCore 1.8.3.
Build log: https://jenkins.mono-project.com/job/test-mono-pull-request-wasm/7/parsed_console/log.html
Error:
```
WASM: TestToList 66/1183
WASM: TestToListOrdered 66/1184
WASM: UnorderedTakeTestCase 66/1185
WASM: WhereTestCase... | crash running System.Core under mono+wasm | https://api.github.com/repos/chakra-core/ChakraCore/issues/5015/comments | 5 | 2018-04-19T14:42:02Z | 2018-04-21T01:25:13Z | https://github.com/chakra-core/ChakraCore/issues/5015 | 315,908,711 | 5,015 |
[
"chakra-core",
"ChakraCore"
] | Hi all,
I'm looking for a bit more clarity on using the JSRT Promise API.
I've read the Promise overview in the embedded JSRT overview (https://github.com/Microsoft/ChakraCore/wiki/JavaScript-Runtime-%28JSRT%29-Overview#promises)
and the PR involving JsCreatePromise (https://github.com/Microsoft/ChakraCore/pull/... | Native background processing + ChakraCore Promise API | https://api.github.com/repos/chakra-core/ChakraCore/issues/5013/comments | 1 | 2018-04-19T02:02:26Z | 2018-04-19T18:01:06Z | https://github.com/chakra-core/ChakraCore/issues/5013 | 315,701,247 | 5,013 |
[
"chakra-core",
"ChakraCore"
] | Rather minor issue but annoying for xplat contributors (like me)
runtests.py doesn't honour the flag "exclude_ch" this flag is currently used only once:
https://github.com/Microsoft/ChakraCore/blob/1df947920775b7a91a1eb3ca35f83ae8992a778d/test/es5/rlexe.xml#L197
This specific test will reliably fail when run of... | runtests.py isn't aware of "exclude_ch" flag | https://api.github.com/repos/chakra-core/ChakraCore/issues/4999/comments | 0 | 2018-04-17T16:44:25Z | 2018-04-20T19:49:48Z | https://github.com/chakra-core/ChakraCore/issues/4999 | 315,143,874 | 4,999 |
[
"chakra-core",
"ChakraCore"
] | Arrow functions argument deconstruction seems to exhibit a bug with deconstructing arguments with default values when the first argument isn't deconstructed. It works so long as the first argument is deconstructed with a default value, else all subsequent deconstructions will not allow setting a default value to the ar... | Argument deconstruction and default assignment broken for functions with more than one argument | https://api.github.com/repos/chakra-core/ChakraCore/issues/4998/comments | 3 | 2018-04-17T09:55:17Z | 2018-04-17T15:34:50Z | https://github.com/chakra-core/ChakraCore/issues/4998 | 314,987,572 | 4,998 |
[
"chakra-core",
"ChakraCore"
] | While investigating another issue I came across the following situation:
```javascript
function foo() {
function bar() {
// Deferred function
}
return bar;
}
// Create two deferred functions
var func1 = foo();
var func2 = foo();
// Set the prototype of `func2` to `func1`
Objec... | Infinite loop in get property for shared deferred types | https://api.github.com/repos/chakra-core/ChakraCore/issues/4997/comments | 4 | 2018-04-17T04:47:40Z | 2018-04-18T05:49:05Z | https://github.com/chakra-core/ChakraCore/issues/4997 | 314,903,825 | 4,997 |
[
"chakra-core",
"ChakraCore"
] | ChakraCore MSVC debug build (x64) currently fails with the following errors/warnings:
```
Severity Code Description Project File Line Suppression State
Error C2065 'ENABLE_VIRTUAL_TERMINAL_PROCESSING': undeclared identifier wabt d:\src\chakracore\lib\wabt\src\color.cc 57
Warning MIDL1007 switch specified more than... | Cannot build ChakraCore in debug mode in MSVC | https://api.github.com/repos/chakra-core/ChakraCore/issues/4991/comments | 4 | 2018-04-15T14:44:37Z | 2018-04-18T02:09:47Z | https://github.com/chakra-core/ChakraCore/issues/4991 | 314,421,648 | 4,991 |
[
"chakra-core",
"ChakraCore"
] | ...... | bound proxy - Regression since 1.7 | https://api.github.com/repos/chakra-core/ChakraCore/issues/4989/comments | 3 | 2018-04-13T23:00:49Z | 2018-04-17T22:25:46Z | https://github.com/chakra-core/ChakraCore/issues/4989 | 314,273,117 | 4,989 |
[
"chakra-core",
"ChakraCore"
] | Hello everyone,
this is a case of "inconsistent treatment/check of pre-conditions" with long numbers on String.repeat function.
Chakra version: 1.9.0.0
OS: Ubuntu 16.04 x64
Steps to reproduce:
1. Run this code
`print( "foo".repeat(657604378) === "foofoofoo" );`
Expected output:
An exception with an invali... | core dumps on String.repeat function | https://api.github.com/repos/chakra-core/ChakraCore/issues/4979/comments | 5 | 2018-04-12T17:36:04Z | 2018-08-07T11:49:21Z | https://github.com/chakra-core/ChakraCore/issues/4979 | 313,822,356 | 4,979 |
[
"chakra-core",
"ChakraCore"
] | Hello everyone,
I found a bug that could be one case of "inconsistent treatment/check of pre-conditions" with long negative number.
Chakra version: 1.9.0.0
OS: Ubuntu 16.04 x64
Steps to reproduce:
1. Run this code
```
var buffer = new ArrayBuffer(64);
var view = new DataView(buffer);
view.setInt8(0,0x80);... | Inconsistent treatment with long negative number | https://api.github.com/repos/chakra-core/ChakraCore/issues/4978/comments | 1 | 2018-04-12T17:20:56Z | 2018-08-07T11:49:10Z | https://github.com/chakra-core/ChakraCore/issues/4978 | 313,817,631 | 4,978 |
[
"chakra-core",
"ChakraCore"
] | When a legacy, empty, constructor does not explicitly return `this`, usually considered a redundant operation pretty much nobody wrote in ES3 to ES5.1 times, the `super()` call in MS Edge breaks like a charm, considering `undefined` a valid return value for a `super()` call, instead of the current context.
You can [... | super() call breaks when extending legacy classes | https://api.github.com/repos/chakra-core/ChakraCore/issues/4970/comments | 2 | 2018-04-11T16:06:06Z | 2018-04-11T16:46:12Z | https://github.com/chakra-core/ChakraCore/issues/4970 | 313,390,392 | 4,970 |
[
"chakra-core",
"ChakraCore"
] | When running a script that has a line like `throw 'some error';` no additional information seems to be returned in `JavaScriptScriptException`. Its `Error.ValueType` is string, so it's unclear where additional information (stack, line, column) can be extracted from.
Is there a way to find this additional information... | Getting error information from throw 'some error' | https://api.github.com/repos/chakra-core/ChakraCore/issues/4967/comments | 6 | 2018-04-11T00:13:35Z | 2018-10-30T00:44:49Z | https://github.com/chakra-core/ChakraCore/issues/4967 | 313,131,174 | 4,967 |
[
"chakra-core",
"ChakraCore"
] | It seems that clang treat all enum variable as unsigned, so compare unsigned to 0 should always be >=
```
[ 0%] Building CXX object pal/src/CMakeFiles/Chakra.Pal.Singular.dir/shmemory/shmemory.cpp.o
/home/xm1994/ChakraCore/pal/src/shmemory/shmemory.cpp:904:16: error: comparison of unsigned enum expression < 0 is... | Compile failed with build.sh and clang 6.0 | https://api.github.com/repos/chakra-core/ChakraCore/issues/4961/comments | 5 | 2018-04-10T09:42:27Z | 2018-04-19T04:59:08Z | https://github.com/chakra-core/ChakraCore/issues/4961 | 312,847,315 | 4,961 |
[
"chakra-core",
"ChakraCore"
] | Hi,
I am hosting a multi-context, single runtime ChakraCore in my C++ application. I provide a "setInterval" method just as in a browser. In my C++ code I hold the reference to the javascript callback combined with the calling context,. I have a single thread which checks whether an interval elapses. When it does, I... | Hosting: How to prevent Sporadic Read Access Violation | https://api.github.com/repos/chakra-core/ChakraCore/issues/4960/comments | 2 | 2018-04-10T09:09:50Z | 2018-04-12T08:01:34Z | https://github.com/chakra-core/ChakraCore/issues/4960 | 312,835,619 | 4,960 |
[
"chakra-core",
"ChakraCore"
] | This is a better way to achieve what #4954 intends to do. | Fold ArgIn0 and LdThis into a single bytecode | https://api.github.com/repos/chakra-core/ChakraCore/issues/4955/comments | 0 | 2018-04-09T18:11:54Z | 2019-06-07T19:00:07Z | https://github.com/chakra-core/ChakraCore/issues/4955 | 312,632,253 | 4,955 |
[
"chakra-core",
"ChakraCore"
] | ChakraCore version: 1.10.0.0-beta
ChakraCore mode: Debug
OS: Ubuntu 16.04.1 LTS, x86_64
```
$ git log | head
commit 9e617e7b52cb474fc8812f9ac3d2c2291ed78410
Merge: dcecda5 7f1ab68
Author: Kyle Farnung <kfarnung@microsoft.com>
Date: Sun Apr 8 19:57:11 2018 -0700
[1.9>master] [MERGE #4952 @kfarnung] Set ... | ChakraCore crashes with assertion failure in InlineCache.inl | https://api.github.com/repos/chakra-core/ChakraCore/issues/4953/comments | 4 | 2018-04-09T15:43:54Z | 2018-05-01T22:41:15Z | https://github.com/chakra-core/ChakraCore/issues/4953 | 312,583,501 | 4,953 |
[
"chakra-core",
"ChakraCore"
] | Hello everyone,
I'm testing some JS engines and I found this inconsistency when getting the name property without function name defined.
Chakra version: 1.9.0.0
OS: Ubuntu 16.04
Steps to reproduce
1. Run this code:
```
let foo = function() {};
let bar = function baz() {};
print(foo.name);
print(bar.name);... | Get name property with empty function name | https://api.github.com/repos/chakra-core/ChakraCore/issues/4951/comments | 5 | 2018-04-09T00:20:14Z | 2020-03-25T17:12:30Z | https://github.com/chakra-core/ChakraCore/issues/4951 | 312,356,259 | 4,951 |
[
"chakra-core",
"ChakraCore"
] | Error Details:
Activity ID69a92aeb-0f68-4906-c5db-c965e1fd6f16
Request IDa4b98965-1797-5319-d3ed-1701c8ac76cc
Correlation IDcb7af31b-5bb7-f696-d17b-c45ba618eeac
Status code500
TimeSun Apr 08 2018 20:04:35 GMT+0530 (India Standard Time)
Version13.0.4898.201
Cluster URIhttps://wabi-us-north-central-redirect.analys... | Issue in loading data | https://api.github.com/repos/chakra-core/ChakraCore/issues/4950/comments | 2 | 2018-04-08T14:49:44Z | 2018-04-11T23:11:55Z | https://github.com/chakra-core/ChakraCore/issues/4950 | 312,311,836 | 4,950 |
[
"chakra-core",
"ChakraCore"
] | I'm having a bizarre issue where `JsDiagGetStackTrace()` returns an empty trace even when there's something on the stack. This only seems to happen on Linux and what's very strange is that it appears to depend on optimization settings; I can't reproduce it in an unoptimized build at all (this being strange because Cha... | JsDiagGetStackTrace returns empty array when stack is not empty | https://api.github.com/repos/chakra-core/ChakraCore/issues/4944/comments | 6 | 2018-04-06T14:59:23Z | 2018-06-27T03:49:06Z | https://github.com/chakra-core/ChakraCore/issues/4944 | 312,008,859 | 4,944 |
[
"chakra-core",
"ChakraCore"
] | The string "fatal" in these symbols triggers !analyze to skip these frames when looking for blame frames. We should choose new names that do not include "fatal" to play nice with !analyze. | Rename MarkStack_OOM_fatal_error and OutOfMemory_fatal_error | https://api.github.com/repos/chakra-core/ChakraCore/issues/4927/comments | 3 | 2018-04-03T15:35:22Z | 2018-04-23T20:47:08Z | https://github.com/chakra-core/ChakraCore/issues/4927 | 310,888,558 | 4,927 |
[
"chakra-core",
"ChakraCore"
] | The simplest of microbenchmarks for proof:
```js
const start = Date.now();
let result = 0;
for (var i = 0; i < 1e5; ++i) {
result -= "a".localeCompare("A");
}
const end = Date.now();
print(`Elapsed: ${end - start}, result: ${result}`);
```
This takes ~22ms in WinGlob and ~100ms in ICU on my machine ... | Intl-ICU: String.prototype.localeCompare(other) is 4x slower than with WinGlob | https://api.github.com/repos/chakra-core/ChakraCore/issues/4921/comments | 2 | 2018-04-02T21:11:03Z | 2018-04-04T17:13:30Z | https://github.com/chakra-core/ChakraCore/issues/4921 | 310,612,930 | 4,921 |
[
"chakra-core",
"ChakraCore"
] |
Example:
Open this in Edge, you will see an error in console
Fiddle: https://jsfiddle.net/c8rfL49t/4/
`
function getHelloFn() {
const helloFn = ((cacheAccessor2, { name = "foo" }) => {
});
return helloFn;
}
`
Version: Microsoft Edge 41.16299.248.0
Same works fine in other browsers (Chrome... | Error SCRIPT1003: Expected ':' This is when object deconstruction is used with default values as a function parameter | https://api.github.com/repos/chakra-core/ChakraCore/issues/4919/comments | 4 | 2018-04-02T17:15:10Z | 2018-05-18T18:09:49Z | https://github.com/chakra-core/ChakraCore/issues/4919 | 310,544,491 | 4,919 |
[
"chakra-core",
"ChakraCore"
] | The following test case throws `TypeError: 'newTarget' is not a constructor`.
```javascript
body() {
let constructionCount = 0;
function a(arg1, arg2) {
this[arg1] = arg2;
}
const b = new Proxy(a, {
construct: function (x,... | exception when attempting to construct bound proxy | https://api.github.com/repos/chakra-core/ChakraCore/issues/4918/comments | 2 | 2018-04-02T16:52:48Z | 2018-05-16T18:18:01Z | https://github.com/chakra-core/ChakraCore/issues/4918 | 310,538,267 | 4,918 |
[
"chakra-core",
"ChakraCore"
] | Hi,
I hope this is the right place to ask this question, I am trying to implement Array/Map like object, but I can't find how to set Indexed/Named Property getter /setter callback or something similar to that. JsDefineProperty doesn't look very useful in my case.
For example if I have:
var obj = new MyCppObject()... | Indexed/Named property API | https://api.github.com/repos/chakra-core/ChakraCore/issues/4904/comments | 3 | 2018-03-29T16:09:52Z | 2018-05-31T19:48:19Z | https://github.com/chakra-core/ChakraCore/issues/4904 | 309,815,494 | 4,904 |
[
"chakra-core",
"ChakraCore"
] | My Edge easily getting stuck when open several pages with a high CPU consuming. i can still select different page but no page can respond my operation anymore.
Edge might back online with a loooooong time wait.
<img width="1015" alt="pic" src="https://user-images.githubusercontent.com/12831220/38092922-1f5f4186-339... | Edge getting stuck now and then. | https://api.github.com/repos/chakra-core/ChakraCore/issues/4903/comments | 2 | 2018-03-29T14:03:20Z | 2018-04-01T02:43:25Z | https://github.com/chakra-core/ChakraCore/issues/4903 | 309,767,482 | 4,903 |
[
"chakra-core",
"ChakraCore"
] | Chakra failed with error C3861 when build with permissive- 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 the steps belo... | Chakra failed to build with MSVC + permissive- on windows | https://api.github.com/repos/chakra-core/ChakraCore/issues/4902/comments | 2 | 2018-03-29T10:26:54Z | 2018-08-24T09:22:19Z | https://github.com/chakra-core/ChakraCore/issues/4902 | 309,701,795 | 4,902 |
[
"chakra-core",
"ChakraCore"
] | I'm running ChakraCore in an ASP.NET core app, using the JavascriptEngineSwitcher.(https://github.com/Taritsyn/JavaScriptEngineSwitcher).
I have managed to reproduce the error on my local machine running in a Linux Docker container.
The error crashes the process with the following output:
```
Process is termi... | Process is terminating due to StackOverflowException. | https://api.github.com/repos/chakra-core/ChakraCore/issues/4893/comments | 3 | 2018-03-28T19:55:37Z | 2018-05-07T23:56:22Z | https://github.com/chakra-core/ChakraCore/issues/4893 | 309,508,561 | 4,893 |
[
"chakra-core",
"ChakraCore"
] | Currently, formatting to parts with these calendars has a few issues
1) The "year" field is returned as "wu-xu", which is different from Firefox ~60, which returned 35. This may or may not actually be an issue
2) The first part returned is { type: "unknown", value: "2018" } because the ICU type returned in the field ... | Update Intl.DateTimeFormat to use relatedYear | https://api.github.com/repos/chakra-core/ChakraCore/issues/4885/comments | 7 | 2018-03-27T23:46:36Z | 2019-06-07T18:37:08Z | https://github.com/chakra-core/ChakraCore/issues/4885 | 309,172,358 | 4,885 |
[
"chakra-core",
"ChakraCore"
] | Trying to access `https://aka.ms/chakracore/install` gives an error:
```
<?xml version="1.0" encoding="utf-8"?><Error><Code>AuthenticationFailed</Code><Message>Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:...
Time:...</... | ChakraCore binary install script is inaccessible | https://api.github.com/repos/chakra-core/ChakraCore/issues/4883/comments | 7 | 2018-03-27T20:44:39Z | 2018-03-28T00:53:34Z | https://github.com/chakra-core/ChakraCore/issues/4883 | 309,126,855 | 4,883 |
[
"chakra-core",
"ChakraCore"
] | Hi,
I hope this is the right place to ask this question, but anyways: I created a lot of contexts via the JSRT API and I am wondering how the memory and resources allocated for that context gets cleaned up. The JSRT API doesn't have anything like clear context. Is the context garbage collected?
Thanks for the ans... | Clearing a context via JSRT API | https://api.github.com/repos/chakra-core/ChakraCore/issues/4875/comments | 3 | 2018-03-26T12:32:07Z | 2018-04-03T17:09:54Z | https://github.com/chakra-core/ChakraCore/issues/4875 | 308,552,444 | 4,875 |
[
"chakra-core",
"ChakraCore"
] | I found this commit, where some JIT mitigations were added for Spectre:
https://github.com/Microsoft/ChakraCore/commit/08b82b8d33e9b36c0d6628b856f280234c87ba13
I'm interested in understanding, practically, what these changes protect against and don't protect against. Is there any writeup or description anywhere exp... | What mitigations have been added for Spectre/Meltdown | https://api.github.com/repos/chakra-core/ChakraCore/issues/4859/comments | 9 | 2018-03-22T11:56:22Z | 2018-05-31T19:48:13Z | https://github.com/chakra-core/ChakraCore/issues/4859 | 307,612,810 | 4,859 |
[
"chakra-core",
"ChakraCore"
] | Chakra failed with error error C4596: '{ctor}': illegal qualified name in member declaration when build with permissive- 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 h... | Chakra failed with error C4596 when build with permissive- + MSVC on windows. | https://api.github.com/repos/chakra-core/ChakraCore/issues/4849/comments | 3 | 2018-03-21T09:42:25Z | 2018-07-18T23:44:09Z | https://github.com/chakra-core/ChakraCore/issues/4849 | 307,174,369 | 4,849 |
[
"chakra-core",
"ChakraCore"
] | Chakra failed with error error C2760: syntax error: unexpected token 'char', expected 'expression' and error C7510: 'Tick': use of dependent type name must be prefixed with 'typename' when build with permissive- on Windows, I use latest source on master branch. Could you please help take a look at this? Noted that this... | Chakra failed when build with permissive- + MSVC on windows. | https://api.github.com/repos/chakra-core/ChakraCore/issues/4848/comments | 2 | 2018-03-21T09:38:47Z | 2019-11-26T08:19:24Z | https://github.com/chakra-core/ChakraCore/issues/4848 | 307,173,309 | 4,848 |
[
"chakra-core",
"ChakraCore"
] | These tests are never run because they require an explicit, opt-in build configuration. | Move PlatformAgnostic::UnicodeText::LogicalStringCompare tests to native tests | https://api.github.com/repos/chakra-core/ChakraCore/issues/4844/comments | 7 | 2018-03-19T19:07:22Z | 2018-05-07T22:39:04Z | https://github.com/chakra-core/ChakraCore/issues/4844 | 306,594,222 | 4,844 |
[
"chakra-core",
"ChakraCore"
] | These functions will fail if strings have embedded null characters. | Convert PlatformAgnostic::UnicodeText::LogicalStringCompare to take explicit buffer lengths | https://api.github.com/repos/chakra-core/ChakraCore/issues/4843/comments | 0 | 2018-03-19T19:05:43Z | 2018-07-19T20:30:41Z | https://github.com/chakra-core/ChakraCore/issues/4843 | 306,593,639 | 4,843 |
[
"chakra-core",
"ChakraCore"
] | Including but not limited to
CompareStringW => CompareStringEx
GetDateFormatW => GetDateFormatEx
GetLocaleInfoW => GetLocaleInfoEx
GetTimeFormat => GetTimeFormatEx
GetUserDefaultLCID => GetUserDefaultLocaleName
LCMapStringW => LCMapStringEx
| Investigate usage of legacy Win32 functions, move to PlatformAgnostic as necessary | https://api.github.com/repos/chakra-core/ChakraCore/issues/4842/comments | 0 | 2018-03-19T19:02:44Z | 2018-05-07T22:30:41Z | https://github.com/chakra-core/ChakraCore/issues/4842 | 306,592,394 | 4,842 |
[
"chakra-core",
"ChakraCore"
] | Convert JavascriptString::EntryLocaleCompare to use PlatformAgnostic::UnicodeText::LogicalCompareString when Intl is not enabled | https://api.github.com/repos/chakra-core/ChakraCore/issues/4841/comments | 0 | 2018-03-19T18:59:54Z | 2018-07-19T20:30:41Z | https://github.com/chakra-core/ChakraCore/issues/4841 | 306,591,397 | 4,841 | |
[
"chakra-core",
"ChakraCore"
] | Currently, Array.prototype.toLocaleString() uses ", " as the separator in every locale on xplat. This should probably be factored into a new PlatformAgnostic::Arrays module similar to PlatformAgnostic::Numbers. | Implement JavascriptArray::GetLocaleSeparator for Linux/macOS | https://api.github.com/repos/chakra-core/ChakraCore/issues/4840/comments | 2 | 2018-03-19T18:50:49Z | 2018-06-28T15:41:15Z | https://github.com/chakra-core/ChakraCore/issues/4840 | 306,587,978 | 4,840 |
[
"chakra-core",
"ChakraCore"
] | Hello,
This is more question rather than issue. If I call JsCreateExternalObject twice, pass same pointer to data argument and set same prototype, JsEqual and operator == at JS runtime for created objects will always return false. I know, you may say "what do you expect, these are physically different objects!" Yes... | Compare objects created using JsCreateExternalObject at JS runtime. | https://api.github.com/repos/chakra-core/ChakraCore/issues/4839/comments | 4 | 2018-03-18T12:10:07Z | 2018-05-31T19:46:38Z | https://github.com/chakra-core/ChakraCore/issues/4839 | 306,234,780 | 4,839 |
[
"chakra-core",
"ChakraCore"
] | We make heavy use of properties identified by `Symbol`, but on Edge it appears such properties are unable to invoke a property getter on `super`.
```
const prop = Symbol('prop');
class A {
// A property identified by a Symbol.
get [prop]() {
return this;
}
}
class B extends A {
get [prop]() ... | Property getters identified by Symbol can't invoke super | https://api.github.com/repos/chakra-core/ChakraCore/issues/4835/comments | 6 | 2018-03-16T18:15:41Z | 2018-10-17T18:07:36Z | https://github.com/chakra-core/ChakraCore/issues/4835 | 306,029,255 | 4,835 |
[
"chakra-core",
"ChakraCore"
] | Running the following in ch will print `false` rather than `true` as expected:
```js
function testreturner(){
return function test(){};
}
var t = testreturner();
Object.defineProperty(t, "a", {value: 1});
var t2 = testreturner();
var o = {};
Object.setPrototypeOf(t2, o);
Object.defineProperty(t2, "b... | Undeferring a deferred function type handler can change its prototype | https://api.github.com/repos/chakra-core/ChakraCore/issues/4829/comments | 2 | 2018-03-15T18:39:26Z | 2018-03-23T23:29:03Z | https://github.com/chakra-core/ChakraCore/issues/4829 | 305,673,700 | 4,829 |
[
"chakra-core",
"ChakraCore"
] | The JSRT method `JsSerialize` accepts either `ExternalArrayBuffer`s or `JavascriptString`s, which can be encoded in utf8 or utf16. If it is given a `JavascriptString`, then it will incorrectly use the string length (that is, number of characters) as the number of bytes, leading to issues. It also looks like it tries to... | JsSerialize miscalculates script size if passed a JavascriptString | https://api.github.com/repos/chakra-core/ChakraCore/issues/4824/comments | 0 | 2018-03-14T22:17:21Z | 2018-03-29T16:00:15Z | https://github.com/chakra-core/ChakraCore/issues/4824 | 305,348,920 | 4,824 |
[
"chakra-core",
"ChakraCore"
] | Hi, I'm occasionally seeing segfaults when running our unit tests which embed ChakraCore. I don't have a Chakra build with debug symbols in it, unfortunately, but managed to catch it in LLDB:
```
Process 92371 stopped
* thread #3, stop reason = EXC_BAD_ACCESS (code=2, address=0x80280c068)
frame #0: 0x0000000... | Segfault in RecyclerWriteBarrierManager | https://api.github.com/repos/chakra-core/ChakraCore/issues/4822/comments | 21 | 2018-03-14T20:38:06Z | 2019-05-31T18:36:36Z | https://github.com/chakra-core/ChakraCore/issues/4822 | 305,319,575 | 4,822 |
[
"chakra-core",
"ChakraCore"
] | Hello,
I would like to kindly request for adding support for handling scripts which use [commonJS modules](http://wiki.commonjs.org/wiki/Modules/1.1.1).
I like the current module API with the asynchronous callback when the module is ready, it would be great if this will be extended with commonJS syntax.
Some backg... | Request for adding support for commonJS' module.exports | https://api.github.com/repos/chakra-core/ChakraCore/issues/4811/comments | 11 | 2018-03-13T14:54:54Z | 2018-03-15T15:34:58Z | https://github.com/chakra-core/ChakraCore/issues/4811 | 304,799,107 | 4,811 |
[
"chakra-core",
"ChakraCore"
] | I have a Javascript function that I want to complete synchronously, from a Javascript perspective. However, I would like to bind that Javascript function to a native function where I want to do some I/O asynchronously. While waiting on the I/O, I want to unload/disassociate the Context and Runtime from the current thre... | Implementing a synchronous Javascript operation asynchronously | https://api.github.com/repos/chakra-core/ChakraCore/issues/4801/comments | 2 | 2018-03-09T18:12:44Z | 2018-05-31T19:46:20Z | https://github.com/chakra-core/ChakraCore/issues/4801 | 303,931,883 | 4,801 |
[
"chakra-core",
"ChakraCore"
] | This was added with Intl 2018 and should ship alongside the rest of the ICU implementation of Intl. | Implement Intl versions of String.prototype.toLocale{Upper|Lower}Case | https://api.github.com/repos/chakra-core/ChakraCore/issues/4800/comments | 1 | 2018-03-09T01:22:53Z | 2018-03-28T05:59:56Z | https://github.com/chakra-core/ChakraCore/issues/4800 | 303,691,623 | 4,800 |
[
"chakra-core",
"ChakraCore"
] | This was standardized with Intl 2018 and should launch alongside the rest of the ICU implementation of Intl. | Implement Intl.PluralRules | https://api.github.com/repos/chakra-core/ChakraCore/issues/4799/comments | 2 | 2018-03-09T01:21:36Z | 2018-05-08T16:51:26Z | https://github.com/chakra-core/ChakraCore/issues/4799 | 303,691,417 | 4,799 |
[
"chakra-core",
"ChakraCore"
] | Most of our failfasts are there to predict against unknown states, however Intl is not particularly vulnerable code -- if we are in a state we don't expect, its likely due to bad assumptions about the system configuration of the locales and formats that we weren't expecting. As a result, it may not be worth it to crash... | Intl: Convert AssertOrFailFast to AssertOrThrow where applicable | https://api.github.com/repos/chakra-core/ChakraCore/issues/4798/comments | 4 | 2018-03-09T01:18:58Z | 2018-08-17T17:33:44Z | https://github.com/chakra-core/ChakraCore/issues/4798 | 303,691,009 | 4,798 |
[
"chakra-core",
"ChakraCore"
] | First of all, if I'm reporting this issue at the wrong location, feel free to tell me where I should do it instead, I'll be happy to move it there and close this one.
Versions:
```
Microsoft Edge 38.14393.2068.0
Microsoft EdgeHTML 14.14393
```
**Note** At home I have `EdgeHTML 15.xxx` and it was not working... | Function reference to console functions make Edge to rendering the page at all | https://api.github.com/repos/chakra-core/ChakraCore/issues/4795/comments | 2 | 2018-03-08T21:45:03Z | 2018-03-08T22:36:51Z | https://github.com/chakra-core/ChakraCore/issues/4795 | 303,643,436 | 4,795 |
[
"chakra-core",
"ChakraCore"
] | **Suggestion**
Implement Array.prototype.sort as an additional JsBuiltin within JsBuiltins.js - OR at the minimum the sort it uses when it is called with a comparison function.
Motivation is performance and compatibility (the current implementation sometimes errors out with "Out of stack space" when sorting large ... | Suggestion: implement array.prototype.sort in javascript | https://api.github.com/repos/chakra-core/ChakraCore/issues/4793/comments | 7 | 2018-03-08T19:21:25Z | 2018-03-13T22:00:54Z | https://github.com/chakra-core/ChakraCore/issues/4793 | 303,599,576 | 4,793 |
[
"chakra-core",
"ChakraCore"
] | The problem is on lines 523-524:
```
BUILD_RELATIVE_DIRECTORY=$(python -c "import os.path;print \
os.path.relpath('${CHAKRACORE_DIR}', '$BUILD_DIRECTORY')")
```
This fails for me because `python` invokes python3, where `print foo` is no longer legal syntax. If I manually change the invocation to `python2.... | build.sh breaks when python 3 is the default interpreter | https://api.github.com/repos/chakra-core/ChakraCore/issues/4791/comments | 4 | 2018-03-08T00:49:43Z | 2018-03-08T22:37:39Z | https://github.com/chakra-core/ChakraCore/issues/4791 | 303,315,178 | 4,791 |
[
"chakra-core",
"ChakraCore"
] | #4763 has tightened type checking for ParseNode's which exposed two cases in PrintPnodeWIndent when ParseNodeCall was interpreted as ParseNodeBin (and previously succeeded due to partial match in class layout).
Should use the proper casting methods from ParseNode for knopCall and knopNew. | -trace:parse fails on knopCall and knopNew | https://api.github.com/repos/chakra-core/ChakraCore/issues/4788/comments | 0 | 2018-03-07T21:53:21Z | 2018-03-08T15:37:50Z | https://github.com/chakra-core/ChakraCore/issues/4788 | 303,273,666 | 4,788 |
[
"chakra-core",
"ChakraCore"
] | This code fails with the error `Invalid calling object`:
```js
[1,2].forEach(console.log);
```
This fixes the issue:
```js
[1,2].forEach((x) => console.log(x));
```
Please note this only happens **if the devtools are closed**.
Related: https://github.com/fable-compiler/Fable/issues/1357#issuecomment-... | console.log passed as function value fails | https://api.github.com/repos/chakra-core/ChakraCore/issues/4787/comments | 3 | 2018-03-07T20:45:46Z | 2018-03-07T23:24:36Z | https://github.com/chakra-core/ChakraCore/issues/4787 | 303,252,850 | 4,787 |
[
"chakra-core",
"ChakraCore"
] | I know that ChakraCore can be built for Linux, but I wondering what the experience running on Linux will be like.
Are there known limitations with running on Linux, compared to Windows?
Does the Linux build undergo the same testing as Windows?
Are there known projects out there running ChakraCore on Linux? | Question about Linux support | https://api.github.com/repos/chakra-core/ChakraCore/issues/4784/comments | 2 | 2018-03-06T11:09:59Z | 2018-03-22T01:04:47Z | https://github.com/chakra-core/ChakraCore/issues/4784 | 302,658,435 | 4,784 |
[
"chakra-core",
"ChakraCore"
] | Right now, there are two PlatformAgnostic folders -- one in lib\Common and one in lib\Runtime. These should be merged, ridded of Js:: namespace dependencies, and have a pluggable architecture similar to the Utf8Codex,
Sub-items of annoyance:
- [ ] lib\Common\PlatformAgnostic files aren't editable from within VS... | Refactor PlatformAgnostic interface into top-level module with no internal dependencies | https://api.github.com/repos/chakra-core/ChakraCore/issues/4782/comments | 0 | 2018-03-05T23:17:15Z | 2018-03-05T23:17:15Z | https://github.com/chakra-core/ChakraCore/issues/4782 | 302,502,395 | 4,782 |
[
"chakra-core",
"ChakraCore"
] | TypedArrays are Integer-Indexed Exotic Objects
Integer-Indexed Exotic Objects override GetOwnProperty to **configurable:false** for numeric Indexes
[[Delete]] of configurable:false property should return false
delete Operator should throw TypeError in 'use strict' mode if [[Delete]] returns false
=>
'use strict'... | delete of indexed property of TypedArray doesn't throw in strict mode | https://api.github.com/repos/chakra-core/ChakraCore/issues/4781/comments | 1 | 2018-03-05T22:55:56Z | 2018-03-07T20:07:44Z | https://github.com/chakra-core/ChakraCore/issues/4781 | 302,497,181 | 4,781 |
[
"chakra-core",
"ChakraCore"
] |
Line # | Process | Provider Name | Task Name | Opcode Name | Id | RecyclerID (Field 1) | Time (s) | ThreadId | Event Name | Cpu | UsedBytes (Field 2) | ReservedBytes (Field 3) | Count
-- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | -- | --
146 | | | Memprotect_GC_Heap_Size | win:Info | 241 | 0x00000... | Memprotect_GC_Heap_Size sometimes shows nonsensical values | https://api.github.com/repos/chakra-core/ChakraCore/issues/4779/comments | 0 | 2018-03-05T19:06:25Z | 2019-06-07T19:01:01Z | https://github.com/chakra-core/ChakraCore/issues/4779 | 302,422,608 | 4,779 |
[
"chakra-core",
"ChakraCore"
] | Hi All,
We have created an WPF C# Application Which embeds ChakraCore. We wanted to debug javascript files that are loaded in chakra core engine.
Please help me. Feel free to ask any required information.
Thanks,
Pallam Madhukar
| How can I debug JS code running in an WPF app which embeds ChakraCore? | https://api.github.com/repos/chakra-core/ChakraCore/issues/4778/comments | 1 | 2018-03-05T09:22:38Z | 2018-03-22T01:06:08Z | https://github.com/chakra-core/ChakraCore/issues/4778 | 302,223,962 | 4,778 |
[
"chakra-core",
"ChakraCore"
] | Hi folks,
Have you considered using ccache to speed up repeat builds on linux and mac machines? It caches built object files, allowing them to be reused if the underlying source hasn't changed. For us, this speeds our CI builds dramatically - we're building ChakraCore as a static library, and adopting ccache has t... | Use ccache (optionally) in CMake builds | https://api.github.com/repos/chakra-core/ChakraCore/issues/4775/comments | 12 | 2018-03-03T00:25:26Z | 2018-03-15T17:14:13Z | https://github.com/chakra-core/ChakraCore/issues/4775 | 301,947,046 | 4,775 |
[
"chakra-core",
"ChakraCore"
] | I have a pretty complex regex with ranges which hangs chakra String.replace.
See https://github.com/Microsoft/ChakraCore/pull/4773
| String.replace exponential backtracking behavior on certain regular expressions | https://api.github.com/repos/chakra-core/ChakraCore/issues/4774/comments | 10 | 2018-03-02T21:17:11Z | 2019-06-07T19:06:59Z | https://github.com/chakra-core/ChakraCore/issues/4774 | 301,907,820 | 4,774 |
[
"chakra-core",
"ChakraCore"
] | I'm investigating a multi-tenant use of ChakraCore where there would be many instances of the same process running, and the incremental memory usage of each additional process is important.
In doing some memory profiling of a simple hello-world-type program embedding ChakraCore, I'm seeing a private memory size (as ... | Question about reducing private memory size | https://api.github.com/repos/chakra-core/ChakraCore/issues/4772/comments | 6 | 2018-03-02T19:21:26Z | 2018-03-13T16:59:08Z | https://github.com/chakra-core/ChakraCore/issues/4772 | 301,876,119 | 4,772 |
[
"chakra-core",
"ChakraCore"
] | See discussion in: https://github.com/Microsoft/ChakraCore/pull/4765#discussion_r171715468 | Disabled tests in test/Lib/rlexe.xml referencing Product Studio Bug 190575 | https://api.github.com/repos/chakra-core/ChakraCore/issues/4770/comments | 0 | 2018-03-02T01:34:42Z | 2018-03-02T01:34:42Z | https://github.com/chakra-core/ChakraCore/issues/4770 | 301,622,453 | 4,770 |
[
"chakra-core",
"ChakraCore"
] | One is ch's Helpers::LoadScriptFromFile, but there are a handful of others that might be issues. | ASAN: WASM tests cause a handful of leaks | https://api.github.com/repos/chakra-core/ChakraCore/issues/4760/comments | 3 | 2018-02-28T21:17:48Z | 2019-06-07T19:08:03Z | https://github.com/chakra-core/ChakraCore/issues/4760 | 301,186,671 | 4,760 |
[
"chakra-core",
"ChakraCore"
] | ASAN: -GenerateLibraryByteCodeHeader config flag causes leaks in HostConfigFlags::Parse | https://api.github.com/repos/chakra-core/ChakraCore/issues/4759/comments | 1 | 2018-02-28T21:13:10Z | 2018-05-07T23:24:00Z | https://github.com/chakra-core/ChakraCore/issues/4759 | 301,185,218 | 4,759 | |
[
"chakra-core",
"ChakraCore"
] | ASAN: AutoString in ch causes leaks in 262/262test.js | https://api.github.com/repos/chakra-core/ChakraCore/issues/4758/comments | 3 | 2018-02-28T21:10:30Z | 2018-03-01T02:50:09Z | https://github.com/chakra-core/ChakraCore/issues/4758 | 301,184,359 | 4,758 | |
[
"chakra-core",
"ChakraCore"
] | See discussion of #4756
| Normalize usage of WScript.Platform.* and exclude_ tags | https://api.github.com/repos/chakra-core/ChakraCore/issues/4757/comments | 0 | 2018-02-28T20:22:34Z | 2018-03-13T17:01:22Z | https://github.com/chakra-core/ChakraCore/issues/4757 | 301,169,478 | 4,757 |
[
"chakra-core",
"ChakraCore"
] | Compile Chakra.ICU.Data with RC.exe to simplify the build system and support ARM | https://api.github.com/repos/chakra-core/ChakraCore/issues/4755/comments | 0 | 2018-02-28T17:36:35Z | 2019-06-07T18:37:12Z | https://github.com/chakra-core/ChakraCore/issues/4755 | 301,115,969 | 4,755 | |
[
"chakra-core",
"ChakraCore"
] | I think it is possible to remove the return value from `Lower*::LowerWasmArrayBoundsCheck`.
We are basically adding all the checks above instr and the returned label is not needed and confusing. | Wasm: LowerWasmArrayBoundsCheck return value | https://api.github.com/repos/chakra-core/ChakraCore/issues/4751/comments | 0 | 2018-02-28T01:11:48Z | 2019-06-07T19:08:07Z | https://github.com/chakra-core/ChakraCore/issues/4751 | 300,853,961 | 4,751 |
[
"chakra-core",
"ChakraCore"
] | ChakraICU option does not compile on x86 | https://api.github.com/repos/chakra-core/ChakraCore/issues/4746/comments | 0 | 2018-02-27T19:57:02Z | 2018-03-13T17:02:35Z | https://github.com/chakra-core/ChakraCore/issues/4746 | 300,771,274 | 4,746 | |
[
"chakra-core",
"ChakraCore"
] | [WebAssembly original tracking table](https://github.com/WebAssembly/design/blob/master/FutureFeatures.md)
| Feature | Spec issue | Status | Spec Phase | Chakra Phase | Chakra Issue |
|--------------------------------------------------|------------|--------... | WebAssembly Language Features Tracking | https://api.github.com/repos/chakra-core/ChakraCore/issues/4745/comments | 1 | 2018-02-27T19:20:27Z | 2018-05-29T22:12:35Z | https://github.com/chakra-core/ChakraCore/issues/4745 | 300,759,190 | 4,745 |
[
"chakra-core",
"ChakraCore"
] | Slightly odd issue I stumbled to when profiling some code recently - seemingly:
```js
someVar = 1;
//or
let someVar = 1;
```
Is a source of significant slowdown in CC.
Assuming the above is in a hot path replacing the 1 with a different number or with a variable already set to 1 causes significant speed up - e... | Use of 1 numeric literal is slow | https://api.github.com/repos/chakra-core/ChakraCore/issues/4744/comments | 4 | 2018-02-26T20:17:14Z | 2018-03-29T18:35:23Z | https://github.com/chakra-core/ChakraCore/issues/4744 | 300,380,940 | 4,744 |
[
"chakra-core",
"ChakraCore"
] | This code fails with
> SCRIPT1028: Expected identifier, string or number
in line 21:15 of
```html
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<script>
function test1() {
var async = 1;
console.log(async);
}
function test2() {
var object = {p: 42, async: true};
var {p, async}... | Error when using name "async" in destructuring assignment | https://api.github.com/repos/chakra-core/ChakraCore/issues/4741/comments | 4 | 2018-02-26T19:17:22Z | 2018-02-26T21:46:49Z | https://github.com/chakra-core/ChakraCore/issues/4741 | 300,361,743 | 4,741 |
[
"chakra-core",
"ChakraCore"
] | Currently for any embedder to implement ESModules with CC they have to create a map (key = normalised specifier, value = module record) of module records which they have to hold.
**Whenever a module is requested the host must always perform the following steps:**
1. Normalise the specifier
2. Check if a module rec... | Suggestion: Internalise Module record map | https://api.github.com/repos/chakra-core/ChakraCore/issues/4740/comments | 14 | 2018-02-24T19:19:14Z | 2018-02-28T22:14:24Z | https://github.com/chakra-core/ChakraCore/issues/4740 | 299,965,357 | 4,740 |
[
"chakra-core",
"ChakraCore"
] | If you go to the releases page https://github.com/Microsoft/ChakraCore/releases and attempt to download you will get an error
```xml
<Error>
<Code>AuthenticationFailed</Code>
<Message>
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signatu... | Releases CDN exhibiting authn errors | https://api.github.com/repos/chakra-core/ChakraCore/issues/4738/comments | 3 | 2018-02-23T22:31:21Z | 2018-02-24T08:15:34Z | https://github.com/chakra-core/ChakraCore/issues/4738 | 299,871,085 | 4,738 |
[
"chakra-core",
"ChakraCore"
] | If we are going to support this configuration, well, we should actually support it. This includes both marking existing tests that fail without ICU/WinGlob as exclude as well as adding the CI definition.
Right now, theres a tag exclude_noicu, that should be sufficient for marking the current failures (All of the Int... | Add CI for `build.sh --no-icu` | https://api.github.com/repos/chakra-core/ChakraCore/issues/4734/comments | 0 | 2018-02-23T17:44:05Z | 2018-02-26T23:58:20Z | https://github.com/chakra-core/ChakraCore/issues/4734 | 299,794,039 | 4,734 |
[
"chakra-core",
"ChakraCore"
] | repro steps:
1.run script from https://github.com/JohnMasen/ChakraCore.NET/blob/master/source/RunScript/Scripts/Debugging/app.js
make sure line 14 [`eval("let cc=10;");`] is uncommented.
2.set breakpoint at line 9 (it actually effects on whole root stack)
3.call JsDiagGetStackProperties when breakpoint hit
expecte... | eval() function will cause "arguments" property missing in JsDiagGetStackProperties result | https://api.github.com/repos/chakra-core/ChakraCore/issues/4733/comments | 3 | 2018-02-23T13:04:03Z | 2019-06-07T18:43:40Z | https://github.com/chakra-core/ChakraCore/issues/4733 | 299,705,026 | 4,733 |
[
"chakra-core",
"ChakraCore"
] | ```js
var a = function() {}
var p = new Proxy(a, {})
Function.prototype.toString.call(p)
// TypeError: Function.prototype.toString: 'this' is not a Function object
typeof p // "function"
Object.prototype.toString.call(p) // [object Function]
```
With at least Safari passing a proxied function to `Function... | Proxied functions aren't considered functions by Function.prototype.toString.call | https://api.github.com/repos/chakra-core/ChakraCore/issues/4730/comments | 8 | 2018-02-22T19:41:16Z | 2018-06-19T18:37:11Z | https://github.com/chakra-core/ChakraCore/issues/4730 | 299,481,886 | 4,730 |
[
"chakra-core",
"ChakraCore"
] | Using NodeChakra
```js
const EventEmitter = new Proxy(require("events"), {})
class B extends EventEmitter {
constructor() {
super();
console.log(this.a, this)
}
a() {
return "a"
}
}
new B // logs `undefined` for `this.a` and the `this` of `EventEmitter` instead of `B`.
``` | Inheriting from proxied class causes `this` mixup | https://api.github.com/repos/chakra-core/ChakraCore/issues/4729/comments | 3 | 2018-02-22T18:55:43Z | 2018-04-12T21:37:17Z | https://github.com/chakra-core/ChakraCore/issues/4729 | 299,467,818 | 4,729 |
[
"chakra-core",
"ChakraCore"
] | ```js
p = new Proxy(function(){}, {})
Object.prototype.toString.call(p)
// => [object Object] but should be [object Function]
```
Firefox and Chrome have `[object Function]` while Safari has `[object Object]`.
Related to: https://bugs.chromium.org/p/v8/issues/detail?id=7485 | Proxied function reports wrong Object.prototype.toString.call result | https://api.github.com/repos/chakra-core/ChakraCore/issues/4728/comments | 2 | 2018-02-22T07:42:57Z | 2018-06-19T18:37:11Z | https://github.com/chakra-core/ChakraCore/issues/4728 | 299,250,146 | 4,728 |
[
"chakra-core",
"ChakraCore"
] | Per spec if the target of a Proxy object is not constructible then the Proxy object should not have a construct method i.e. should not be constructible even if supplied with a construct method.
See Note 1 here: [#sec-proxy-object-internal-methods-and-internal-slots-construct-argumentslist-newtarget](https://tc39.git... | Proxy Object can be constructible when its target was not | https://api.github.com/repos/chakra-core/ChakraCore/issues/4724/comments | 0 | 2018-02-22T01:00:00Z | 2018-02-22T23:02:30Z | https://github.com/chakra-core/ChakraCore/issues/4724 | 299,185,818 | 4,724 |
[
"chakra-core",
"ChakraCore"
] | Today, ``UnifiedRegex::Parser::CompileProgram`` asserts or fails fast upon encountering a regex with more than 2^15 - 1 (give or take) capturing groups. However, various places in the regex system use an int rather than a uint16 or size_t to represent the number of capturing groups, such as ``UnifiedRegex::RegexPatter... | Improve API, UX around capturing groups in RegexParser | https://api.github.com/repos/chakra-core/ChakraCore/issues/4722/comments | 2 | 2018-02-22T00:23:59Z | 2018-02-23T03:29:05Z | https://github.com/chakra-core/ChakraCore/issues/4722 | 299,179,187 | 4,722 |
[
"chakra-core",
"ChakraCore"
] | I looked but couldn't find this documented anywhere.
In https://github.com/Microsoft/ChakraCore/blob/master/lib/Common/ConfigFlagsList.h there are lots of config flags with default values set.
Is there any API or convenient method an embedder can use to adjust these when creating a runtime?
There doesn't seem... | Question: How do you use config flags? | https://api.github.com/repos/chakra-core/ChakraCore/issues/4718/comments | 5 | 2018-02-21T21:52:29Z | 2018-02-23T01:02:32Z | https://github.com/chakra-core/ChakraCore/issues/4718 | 299,142,400 | 4,718 |
[
"chakra-core",
"ChakraCore"
] | Throws from a non-ICU call where the caller uses the ICU C API can cause the appropriate u*_close function to not be called. #4703 introduces a new RAII wrapper to help address that. | Audit code that uses ICU for memory leaks, use new RAII classes introduced by #4703 | https://api.github.com/repos/chakra-core/ChakraCore/issues/4714/comments | 0 | 2018-02-21T01:25:11Z | 2018-03-01T21:07:21Z | https://github.com/chakra-core/ChakraCore/issues/4714 | 298,810,193 | 4,714 |
[
"chakra-core",
"ChakraCore"
] | gfffgfgfgf | https://api.github.com/repos/chakra-core/ChakraCore/issues/4708/comments | 0 | 2018-02-20T06:30:51Z | 2018-02-20T07:06:06Z | https://github.com/chakra-core/ChakraCore/issues/4708 | 298,485,335 | 4,708 | |
[
"chakra-core",
"ChakraCore"
] | I was wondering how you are able to clean up objects created on the heap and used via `JsCreateExternalObject`.
I tried using the FinalizerCallback (in my previous issue #4679) but whenever i have that referenced in my `JsCreateExternalObject` call (and not even do anything) I get all sorts of crashes and corruptio... | How do objects created using JsCreateExternalObject get cleared up | https://api.github.com/repos/chakra-core/ChakraCore/issues/4706/comments | 12 | 2018-02-19T22:44:55Z | 2018-02-21T16:49:58Z | https://github.com/chakra-core/ChakraCore/issues/4706 | 298,420,443 | 4,706 |
[
"chakra-core",
"ChakraCore"
] | Update build instructions to account for new ICU integration | https://api.github.com/repos/chakra-core/ChakraCore/issues/4705/comments | 0 | 2018-02-19T07:16:16Z | 2018-03-06T00:25:25Z | https://github.com/chakra-core/ChakraCore/issues/4705 | 298,180,136 | 4,705 | |
[
"chakra-core",
"ChakraCore"
] | Hi, I am doing some migration from V8 to ChakraCore. Some of JS code requires to be able to read file synchronously from its relative location (like `require` in CommonJS), so I have to figure out which script called the native function.
After some hacking, I noticed it is related to `JsSourceContext` but it is intr... | How to get current script context | https://api.github.com/repos/chakra-core/ChakraCore/issues/4702/comments | 2 | 2018-02-19T03:57:43Z | 2018-02-22T03:51:41Z | https://github.com/chakra-core/ChakraCore/issues/4702 | 298,155,293 | 4,702 |
[
"chakra-core",
"ChakraCore"
] | After #4688 was merged `--no-icu` will no longer work on Ubuntu, I receive the following output:
```
fatcerberus@pigcult-vm:~/src/ChakraCore$ ./build.sh -j=8 --no-icu
```
```
Searching for Clang...
Clang++ found at /usr/bin/clang++
Build path: /home/fatcerberus/src/ChakraCore/out/Release
-- /home/fatcerberu... | `--no-icu` broken on Ubuntu after #4688 | https://api.github.com/repos/chakra-core/ChakraCore/issues/4701/comments | 5 | 2018-02-19T01:38:24Z | 2018-02-23T01:08:36Z | https://github.com/chakra-core/ChakraCore/issues/4701 | 298,140,451 | 4,701 |
[
"chakra-core",
"ChakraCore"
] | Hi.
Once the JsDiagStartDebugging call is done with a certain callback, and a call to [JSRun](https://github.com/Microsoft/ChakraCore/wiki/JsRun) is in the process of the provided code, the provided callback is called with the event JsDiagDebugEventSourceCompile.
That's ok.
But the code provided to JSRun is alway... | How to use ChakraCore Debug API | https://api.github.com/repos/chakra-core/ChakraCore/issues/4699/comments | 18 | 2018-02-18T21:23:03Z | 2021-01-25T22:01:47Z | https://github.com/chakra-core/ChakraCore/issues/4699 | 298,119,477 | 4,699 |
[
"chakra-core",
"ChakraCore"
] | If ICU can't be found as the user-provided path, the build fails on Linux and falls back to --no-icu on macOS. We should probably choose 1 and stick with it. | ICU configuration is inconsistent across Linux and macOS | https://api.github.com/repos/chakra-core/ChakraCore/issues/4695/comments | 3 | 2018-02-17T00:27:49Z | 2019-06-07T18:37:20Z | https://github.com/chakra-core/ChakraCore/issues/4695 | 297,959,758 | 4,695 |
[
"chakra-core",
"ChakraCore"
] | Found this while investigating #3096. As a result of that bug, we don't have any tests for timeZone or timeZoneName in ChakraCore, and so we never noticed that the implementation is broken with ICU. | Intl.DateTimeFormat with timeZone and timeZoneName options crashes | https://api.github.com/repos/chakra-core/ChakraCore/issues/4694/comments | 0 | 2018-02-17T00:24:33Z | 2018-02-21T17:54:24Z | https://github.com/chakra-core/ChakraCore/issues/4694 | 297,959,372 | 4,694 |
[
"chakra-core",
"ChakraCore"
] | From https://github.com/Microsoft/ChakraCore/issues/3575
> I think a lot of integrators would like to get the default "built-ins" before the script mess with it on the global.
| Add JSRT API to get default built-ins regardless of changes a script makes. | https://api.github.com/repos/chakra-core/ChakraCore/issues/4690/comments | 16 | 2018-02-16T03:28:33Z | 2018-02-23T20:04:42Z | https://github.com/chakra-core/ChakraCore/issues/4690 | 297,672,552 | 4,690 |
[
"chakra-core",
"ChakraCore"
] | test description
test edit please ignore -PWiz
| Test issue | https://api.github.com/repos/chakra-core/ChakraCore/issues/4689/comments | 0 | 2018-02-16T01:36:04Z | 2018-02-16T01:40:57Z | https://github.com/chakra-core/ChakraCore/issues/4689 | 297,656,438 | 4,689 |
[
"chakra-core",
"ChakraCore"
] | I couldn't find anywhere that this was a known issue, but regex look ahead/behind is not supported. But it is in Chrome which caused me some headaches :-)
This gives an 'Unexpected quantifier' error (taken from a [SO answer](https://stackoverflow.com/a/15099212/1478) to find single digits):
`var reSingleDigits = /(... | RegEx Look Ahead/Behind Not Supported | https://api.github.com/repos/chakra-core/ChakraCore/issues/4687/comments | 4 | 2018-02-15T11:12:54Z | 2018-02-17T01:21:50Z | https://github.com/chakra-core/ChakraCore/issues/4687 | 297,408,477 | 4,687 |
[
"chakra-core",
"ChakraCore"
] | I am trying to store some binary data for other callers of the function but i cant see how this can be done. I have tried CreateExternalObject and Get/SetExternalData but i just get exceptions. I am using the Hosting code, but it just calls into native calls.
What I am trying to emulate is a set of image manipulatio... | How Can I Store Some C# Object Data on a Function Instance | https://api.github.com/repos/chakra-core/ChakraCore/issues/4679/comments | 11 | 2018-02-14T16:57:50Z | 2018-02-16T17:42:59Z | https://github.com/chakra-core/ChakraCore/issues/4679 | 297,170,894 | 4,679 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.