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.
For my project I'm in the need of an access to the data from the JS world side.
As of today, I think I know how to access to a "basic type" (such string, number or boolean; for example to read a value: a call to [JsCreatePropertyId](https://github.com/Microsoft/ChakraCore/wiki/JsCreatePropertyId), a call to [JsGetProperty](https://github.com/Microsoft/ChakraCore/wiki/JsGetProperty), then a call to either [JsNumberToDouble](https://github.com/Microsoft/ChakraCore/wiki/JsNumberToDouble), [JsCopyString](https://github.com/Microsoft/ChakraCore/wiki/JsCopyString), [JsBooleanToBool](https://github.com/Microsoft/ChakraCore/wiki/JsBooleanToBool)).
### the problem
But I want to access object and array, and I didn't found how to do it.
I saw in your [data for test](https://github.com/Microsoft/ChakraCore/tree/master/test) there is an object, called WScript, that could help me to understand, but I didn't find its definition
Have you any example to how to read/write such complex type ? Do I need to consider object and array as local context and do in the same way that the global object ?
|
how to access Object or Array (JS's ChakraCore side) from native code
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4678/comments
| 4 |
2018-02-14T15:09:50Z
|
2018-02-14T18:16:41Z
|
https://github.com/chakra-core/ChakraCore/issues/4678
| 297,130,160 | 4,678 |
[
"chakra-core",
"ChakraCore"
] |
When building a binary linked against the libwunwind, and when there is an exception inside ChakraCore, there is a segfault.
### the problem
When using valgrind, I get:
````
==6096== Syscall param msync(start) points to uninitialised byte(s)
==6096== at 0x690355B: msync (msync.c:25)
==6096== by 0x4E3CFC3: ??? (in /usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1)
==6096== by 0x4E40D20: ??? (in /usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1)
==6096== by 0x4E4101E: ??? (in /usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1)
==6096== by 0x4E41568: ??? (in /usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1)
==6096== by 0x4E3DAC0: _ULx86_64_step (in /usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1)
==6096== by 0x4E3C6D8: _Unwind_RaiseException (in /usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1)
==6096== by 0x5AF5C26: __cxa_throw (in /home/XXX/.root/Applications/ChakraCore/out/Release/libChakraCore.so)
==6096== by 0x5812BB3: Js::JavascriptExceptionOperators::DoThrow(Js::JavascriptExceptionObject*, Js::ScriptContext*) (in /home/XXX/.root/Applications/ChakraCore/out/Release/libChakraCore.so)
==6096== by 0x581398F: Js::JavascriptExceptionOperators::ThrowExceptionObjectInternal(Js::JavascriptExceptionObject*, Js::ScriptContext*, bool, bool, void*, bool) (in /home/XXX/.root/Applications/ChakraCore/out/Release/libChakraCore.so)
==6096== by 0x58130BA: Js::JavascriptExceptionOperators::ThrowExceptionObject(Js::JavascriptExceptionObject*, Js::ScriptContext*, bool, void*, bool) (in /home/XXX/.root/Applications/ChakraCore/out/Release/libChakraCore.so)
==6096== by 0x5813074: Js::JavascriptExceptionOperators::Throw(void*, Js::ScriptContext*) (in /home/XXX/.root/Applications/ChakraCore/out/Release/libChakraCore.so)
==6096== Address 0x1ffefff000 is on thread 1's stack
==6096== in frame #6, created by _Unwind_RaiseException (???:)
==6096==
==6096== Invalid read of size 8
==6096== at 0x4E3CC14: _Ux86_64_setcontext (in /usr/lib/x86_64-linux-gnu/libunwind.so.8.0.1)
==6096== by 0x57A438E: Js::InterpreterStackFrame::InterpreterHelper(Js::ScriptFunction*, Js::ArgumentReader, void*, void*, Js::InterpreterStackFrame::AsmJsReturnStruct*) (in /home/XXX/.root/Applications/ChakraCore/out/Release/libChakraCore.so)
==6096== by 0x57A3FBD: Js::InterpreterStackFrame::InterpreterThunk(Js::JavascriptCallStackLayout*) (in /home/XXX/.root/Applications/ChakraCore/out/Release/libChakraCore.so)
==6096== by 0x4190FA1: ???
==6096== by 0x5A063FD: amd64_CallFunction (in /home/melidrissi/.root/Applications/ChakraCore/out/Release/libChakraCore.so)
==6096== by 0x58C599A: Js::JavascriptFunction::CallRootFunction(Js::Arguments, Js::ScriptContext*, bool) (in /home/XXX/.root/Applications/ChakraCore/out/Release/libChakraCore.so)
==6096== by 0x543936B: RunScriptCore(void*, unsigned char const*, unsigned long, LoadScriptFlag, unsigned long, char16_t const*, bool, _JsParseScriptAttributes, bool, void**) (in /home/XXX/.root/Applications/ChakraCore/out/Release/libChakraCore.so)
==6096== by 0x543CB3C: JsRun (in /home/XXX/.root/Applications/ChakraCore/out/Release/libChakraCore.so)
==6096== by 0x108CD2: main (toto.cpp:53)
==6096== Address 0x1ffeffed88 is on thread 1's stack
==6096== 2760 bytes below stack pointer
````
(full valgrind's log: [vagrind_log.txt](https://github.com/Microsoft/ChakraCore/files/1720533/vagrind_log.txt))
### an idea/clue
When I look for unwind symbol in ChakraCore :
````
readelf -sW libChakraCore.so | grep _Unwind
43: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_GetIPInfo@GCC_4.2.0 (10)
47: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_Resume_or_Rethrow@GCC_3.3 (11)
82: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_GetDataRelBase@GCC_3.0 (4)
104: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_GetRegionStart@GCC_3.0 (4)
134: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_SetGR@GCC_3.0 (4)
165: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_GetTextRelBase@GCC_3.0 (4)
219: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_Resume@GCC_3.0 (4)
301: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_DeleteException@GCC_3.0 (4)
354: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_RaiseException@GCC_3.0 (4)
430: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_GetLanguageSpecificData@GCC_3.0 (4)
445: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_SetIP@GCC_3.0 (4)
3261: 0000000000882b60 59 FUNC LOCAL DEFAULT 11 _ZL23__gxx_exception_cleanup19_Unwind_Reason_CodeP17_Unwind_Exception
3267: 0000000000883020 81 FUNC LOCAL DEFAULT 11 _ZL21base_of_encoded_valuehP15_Unwind_Context.part.3
3268: 0000000000883080 241 FUNC LOCAL DEFAULT 11 _ZL17parse_lsda_headerP15_Unwind_ContextPKhP16lsda_header_info
45291: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_GetIPInfo@@GCC_4.2.0
45295: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_Resume_or_Rethrow@@GCC_3.3
45330: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_GetDataRelBase@@GCC_3.0
45352: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_GetRegionStart@@GCC_3.0
45382: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_SetGR@@GCC_3.0
45413: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_GetTextRelBase@@GCC_3.0
45467: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_Resume@@GCC_3.0
45549: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_DeleteException@@GCC_3.0
45602: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_RaiseException@@GCC_3.0
45677: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_GetLanguageSpecificData@@GCC_3.0
45692: 0000000000000000 0 FUNC GLOBAL DEFAULT UND _Unwind_SetIP@@GCC_3.0
````
There are marked as Undefined, and I read [here on a similary ticket](https://github.com/android-ndk/ndk/issues/289) that it should not.
### question
Can you tell me what I'm doing wrong ? This topic is a bit technical for me.
### example code
starting with [official linux sample](https://github.com/Microsoft/Chakra-Samples/blob/master/ChakraCore%20Samples/Hello%20World/Linux_OSX_Shared/sample.cpp)
and replacing:
````cpp
const char* script = "(()=>{return \'Hello World!\';})()" ;
````
with
````cpp
const char* script = "b";
````
in order to generate an exception.
My binary is build:
````bash
gcc -g -I/home/XXX/.root/Applications/ChakraCore/lib/Jsrt/ -L/home/XXX/.root/Applications/ChakraCore/out/Release -lunwind -lunwind-x86_64 -lChakraCore -pthread -lm -ldl -licuuc toto.cpp
````
### hardware/software
I'm under linux, using ChakraCore (git log) : commit 3f76911 (HEAD -> master, origin/master, origin/HEAD)
- kernel : Linux 4.14.0-3-amd64 #1 SMP Debian 4.14.13-1 (2018-01-14) x86_64 GNU/Linux
- libc6: 2.26-4
|
segfault when linking to unwind library
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4675/comments
| 6 |
2018-02-13T16:00:34Z
|
2018-03-04T21:08:58Z
|
https://github.com/chakra-core/ChakraCore/issues/4675
| 296,790,125 | 4,675 |
[
"chakra-core",
"ChakraCore"
] |
Hi !
I'm going further (I'm near to have a bridge Qt-ChakraCore; I will soon add property management through [Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy)).
### the problem
For now I was doing some tests about memory management (I didn't quite get all about memory) and I saw that there is a slow and steady memory increase when I'm repeatedly calling [JsRun](https://github.com/Microsoft/ChakraCore/wiki/JsRun), asking it to run this instruction:
````js
Toto.toto(5);
````
having in my function nothing but this:
````cpp
bool ok;
//printf("====> argumentCount=%d\n", argumentCount);
return JS_INVALID_REFERENCE;
````
so having nothing.
I altered my previous code #4669, as you can see below.
As the increase is done slighty over the time I made a video as a proof: [memory_consumption.mp4.gz](https://github.com/Microsoft/ChakraCore/files/1719330/memory_consumption.mp4.gz)
I used valgrind for tracking the origin, and found that there "may be" some memory lost in several places (see the end of the log file: [valgrind_output.txt](https://github.com/Microsoft/ChakraCore/files/1719378/valgrind_output.txt))
And last but not least, I used in my test a call to the garbage collector, but it changed nothing.
### my question
Is there something that I missed about memory management ?
### hardware/software
- I'm under linux, using ChakraCore (git log) : commit 3f76911 (HEAD -> master, origin/master, origin/HEAD)
- kernel : Linux 4.14.0-3-amd64 #1 SMP Debian 4.14.13-1 (2018-01-14) x86_64 GNU/Linux
- libc6: 2.26-4
### code used for the test
```` cpp
#include "ChakraCore.h"
#include <stdlib.h>
#include <stdio.h>
#include <string>
#include <cstring>
#define MAX 255
class ErrorCode // Just a helper for error management; you can ignore this
{
JsErrorCode errCode;
public:
ErrorCode():errCode(JsNoError){}
ErrorCode(JsErrorCode errCode):errCode(errCode){}
#define EXCEPTION_MAX_LENGTH 255
ErrorCode& operator=(JsErrorCode errorCode)
{
this->errCode = errorCode;
if (errorCode == JsNoError)
return *this;
char buffer [EXCEPTION_MAX_LENGTH + 1];
size_t actualLength;
JsErrorCode error;
JsValueRef exception;
if ((error = JsGetAndClearException(&exception)) != JsNoError)
{
printf("Error on Error! Original error code=%d, new error code=%d\n", errorCode, error);
return *this;
}
JsPropertyIdRef messageName;
if ((error = JsCreatePropertyId("message", strlen("message"), &messageName)) != JsNoError)
{
printf("Error on Error! Original error code=%d, new error code=%d\n", errorCode, error);
return *this;
}
JsValueRef messageValue;
if ((error = JsGetProperty(exception, messageName, &messageValue)) != JsNoError)
{
printf("Error on Error! Original error code=%d, new error code=%d\n", errorCode, error);
return *this;
}
if ((error = JsCopyString(messageValue, buffer, EXCEPTION_MAX_LENGTH, &actualLength)) != JsNoError)
{
printf("Error on Error! Original error code=%d, new error code=%d\n", errorCode, error);
return *this;
}
buffer[actualLength] = 0;
printf("Error: %s\n", buffer);
exit(EXIT_FAILURE);
return *this;
}
};
JsErrorCode JsGetPropertyIdFromName(const char* string, size_t stringLen, JsPropertyIdRef *propertyId)
{
return JsCreatePropertyId(
string,
stringLen,
propertyId);
}
JsErrorCode registerFunction(JsValueRef hostObject, const char *callbackName, const size_t &length, JsNativeFunction callback, void *callbackState)
{
JsErrorCode error;
JsPropertyIdRef propertyId;
JsValueRef function;
if ((error = JsCreatePropertyId(callbackName, length,&propertyId)) != JsNoError) return error;
if ((error = JsCreateFunction(callback, callbackState, &function)) != JsNoError) return error;
if ((error = JsSetProperty(hostObject, propertyId, function, true)) != JsNoError) return error;
return JsNoError;
}
JsValueRef theCaller(JsValueRef callee, bool isConstructCall, JsValueRef *arguments, unsigned short argumentCount, void *callbackState)
{
bool ok;
//printf("====> argumentCount=%d\n", argumentCount);
return JS_INVALID_REFERENCE;
}
int main()
{
JsRuntimeHandle runtime;
JsValueRef globalObject;
JsContextRef context;
ErrorCode errCode = JsNoError;
errCode = JsCreateRuntime(JsRuntimeAttributeNone, nullptr, &runtime);
errCode = JsCreateContext(runtime, &context);
errCode = JsSetCurrentContext(context);
errCode = JsGetGlobalObject(&globalObject);
/*
Now I want to create my "very own object": Toto !
class Toto
{
public:
void toto();
};
*/
JsValueRef object;//The instance of an object Toto
JsPropertyIdRef objectPropertyId;
errCode = JsCreateObject(&object);
errCode = JsGetPropertyIdFromName("Toto", 4, &objectPropertyId);
errCode = JsSetProperty(globalObject, objectPropertyId, object, true);
errCode = registerFunction(object, "toto", 4, theCaller, nullptr);
//Now to the JS code
static unsigned currentSourceContext = 0;
JsValueRef result;
JsValueRef fname;
errCode = JsCreateString("", 0, &fname);
JsValueRef scriptSource;
char jscode[] = "Toto.toto(5);";
errCode = JsCreateString(jscode, strlen(jscode), &scriptSource);
int garbageTrigger = 0;
while(true)
{
errCode = JsRun(scriptSource, currentSourceContext++, fname, JsParseScriptAttributeNone, &result);
if (garbageTrigger > 1000000)
{
printf("Garbage Collector\n");
fflush(stdout);
errCode = JsCollectGarbage(runtime);
garbageTrigger = 0;
}
garbageTrigger++;
}
return 0;
}
````
|
memory leak unexplained
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4674/comments
| 6 |
2018-02-13T09:39:35Z
|
2018-02-17T11:23:18Z
|
https://github.com/chakra-core/ChakraCore/issues/4674
| 296,670,577 | 4,674 |
[
"chakra-core",
"ChakraCore"
] |
This has caused issues when compiling ChakraCore on certain non-English locales in the past.
See https://github.com/Microsoft/ChakraCore/pull/4668#discussion_r167734493
|
Add a check for non-ASCII characters/bytes in C++ source code
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4672/comments
| 2 |
2018-02-13T01:03:06Z
|
2018-02-13T01:09:15Z
|
https://github.com/chakra-core/ChakraCore/issues/4672
| 296,579,229 | 4,672 |
[
"chakra-core",
"ChakraCore"
] |
Hi.
#### First a bit of context, totally useless but maybe interesting for the reader.
I'm progressing slowly but surely (don't have a lot of time) migrating an application from QWebEgine to ChakraCore.
I'm currently making a bridge between Qt's QObject and CharkaCore, and I need to be able to give access from the JS side to Qt's objects.
For doing so I register an object through [JsCreateObject](https://github.com/Microsoft/ChakraCore/wiki/JsCreateObject), and add a function to this object with [JsCreateFunction](https://github.com/Microsoft/ChakraCore/wiki/JsCreateFunction) and [JsSetProperty](https://github.com/Microsoft/ChakraCore/wiki/JsSetProperty).
#### Now my problem/question
When my function is called (keep in mind that this function is associated to a JS Object), it received always an object as first parameter, even though this function is called without any parameter given.
As explanation/example:
- when I called:
``` js
myObject.myFunction();
```
- my function received a parameter:
``` cpp
JsValueRef myFunction(JsValueRef, bool, JsValueRef *, unsigned short argumentCount, void *)
```
argumentCount is equal to 1
So : what is this object ? Is there something that I'm doing wrongly ?
P.S.: I'm under linux, using ChakraCore (git log) :
commit e20d5c67e47bf26f3f677b50e2823fc0e2eeb190 (HEAD -> release/1.7, origin/release/1.7)
and tested (with the same result) :
commit 3f7691187ba02ab2a1079619fed867714786b693 (HEAD -> master, origin/master, origin/HEAD)
P.P.S. : Here is a full source code that can be used to check my explanation, or for the curious ones.
``` cpp
#include "ChakraCore.h"
#include <stdlib.h>
#include <stdio.h>
#include <string>
#include <cstring>
#define MAX 255
class ErrorCode // Just a helper for error management; you can ignore this
{
JsErrorCode errCode;
public:
ErrorCode():errCode(JsNoError){}
ErrorCode(JsErrorCode errCode):errCode(errCode){}
#define EXCEPTION_MAX_LENGTH 255
ErrorCode& operator=(JsErrorCode errorCode)
{
this->errCode = errorCode;
if (errorCode == JsNoError)
return *this;
char buffer [EXCEPTION_MAX_LENGTH + 1];
size_t actualLength;
JsErrorCode error;
JsValueRef exception;
if ((error = JsGetAndClearException(&exception)) != JsNoError)
{
printf("Error on Error! Original error code=%d, new error code=%d\n", errorCode, error);
return *this;
}
JsPropertyIdRef messageName;
if ((error = JsCreatePropertyId("message", strlen("message"), &messageName)) != JsNoError)
{
printf("Error on Error! Original error code=%d, new error code=%d\n", errorCode, error);
return *this;
}
JsValueRef messageValue;
if ((error = JsGetProperty(exception, messageName, &messageValue)) != JsNoError)
{
printf("Error on Error! Original error code=%d, new error code=%d\n", errorCode, error);
return *this;
}
if ((error = JsCopyString(messageValue, buffer, EXCEPTION_MAX_LENGTH, &actualLength)) != JsNoError)
{
printf("Error on Error! Original error code=%d, new error code=%d\n", errorCode, error);
return *this;
}
buffer[actualLength] = 0;
printf("Error: %s\n", buffer);
exit(EXIT_FAILURE);
return *this;
}
};
JsErrorCode JsGetPropertyIdFromName(const char* string, size_t stringLen, JsPropertyIdRef *propertyId)
{
return JsCreatePropertyId(
string,
stringLen,
propertyId);
}
JsErrorCode registerFunction(JsValueRef hostObject, const char *callbackName, const size_t &length, JsNativeFunction callback, void *callbackState)
{
JsErrorCode error;
JsPropertyIdRef propertyId;
JsValueRef function;
if ((error = JsCreatePropertyId(callbackName, length,&propertyId)) != JsNoError) return error;
if ((error = JsCreateFunction(callback, callbackState, &function)) != JsNoError) return error;
if ((error = JsSetProperty(hostObject, propertyId, function, true)) != JsNoError) return error;
return JsNoError;
}
JsValueRef theCaller(JsValueRef callee, bool isConstructCall, JsValueRef *arguments, unsigned short argumentCount, void *callbackState)
{
bool ok;
printf("====> argumentCount=%d\n", argumentCount);
return JS_INVALID_REFERENCE;
}
int main()
{
JsRuntimeHandle runtime;
JsValueRef globalObject;
JsContextRef context;
ErrorCode errCode = JsNoError;
errCode = JsCreateRuntime(JsRuntimeAttributeNone, nullptr, &runtime);
errCode = JsCreateContext(runtime, &context);
errCode = JsSetCurrentContext(context);
errCode = JsGetGlobalObject(&globalObject);
/*
Now I want to create my "very own object": Toto !
class Toto
{
public:
void toto();
};
*/
JsValueRef object;//The instance of an object Toto
JsPropertyIdRef objectPropertyId;
errCode = JsCreateObject(&object);
errCode = JsGetPropertyIdFromName("Toto", 4, &objectPropertyId);
errCode = JsSetProperty(globalObject, objectPropertyId, object, true);
errCode = registerFunction(object, "toto", 4, theCaller, nullptr);
//Now to the JS code
static unsigned currentSourceContext = 0;
JsValueRef result;
JsValueRef fname;
errCode = JsCreateString("", 0, &fname);
JsValueRef scriptSource;
char jscode[] = "Toto.toto(5);";
errCode = JsCreateString(jscode, strlen(jscode), &scriptSource);
errCode = JsRun(scriptSource, currentSourceContext++, fname, JsParseScriptAttributeNone, &result);
return 0;
}
```
|
when calling a native function associated to an object, an object is always passed as first parameter
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4669/comments
| 2 |
2018-02-12T16:12:21Z
|
2018-02-12T19:13:15Z
|
https://github.com/chakra-core/ChakraCore/issues/4669
| 296,431,836 | 4,669 |
[
"chakra-core",
"ChakraCore"
] |
We have icu-intl is enabled by default now. ICU-intl impl. uses couple of ICU API those are not available on ICU 52. Although we don't say we officially support any of these, we could simply feature detect and pick API we can use and keep the number of platforms we support.
IMHO we shouldn't break our default build with Ubuntu 14LTS
|
icu-intl: Ubuntu 14LTS build break
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4664/comments
| 29 |
2018-02-10T00:39:10Z
|
2018-08-28T16:35:06Z
|
https://github.com/chakra-core/ChakraCore/issues/4664
| 296,055,407 | 4,664 |
[
"chakra-core",
"ChakraCore"
] |
In classes that extend ES5 constructor functions, the value returned by a call to `super()` within the constructor does not match the value of `this`.
```js
function A() {}
class B extends A {
constructor() {
const _super = super();
if (_super !== this) {
throw new Error(`Expected ${_super} to equal this`);
}
}
}
new B(); // throws Error: Expected undefined to equal this
```
It seems that the return value of the base constructor function is used as the return value of `super()`, unless the constructor function returns an object.
```js
function A() { return 'test'; }
// class B as above
new B(): // throws Error: Expected test to equal this
```
```js
function A() { return { test: true }; }
// class B as above
new B(): // does not throw
```
```js
class A { constructor() { return 'test'; }}
// class B as above
new B(): // also does not throw when A is a class instead of ES5 constructor function
```
Chrome, Firefox, and Safari do not throw in any of these cases.
I found this because code similar to this is generated by Babel when transforming async arrow function properties that reference `this`. The async function transform uses a generator function, and since generator arrow functions aren't yet available, the generator function closes over the return value of `super()` for use in place of `this` in the former arrow function. `React.Component` is distributed as an ES5 constructor function, so my React components that use async arrow function properties all produce this problem code -- `React.Component` has no return statement, so in my case `super()` returns `undefined`.
Here's some example code that causes Babel to produce the problem code: https://babeljs.io/repl/#?babili=false&browsers=&build=&builtIns=false&code_lz=GYVwdgxgLglg9mABAYTgWwA4IKZigCgEoBvAXwChyIAbAQwGd7EB1GAEwHNspFsAPKLjZNUmHHkTFyiRAEg-iALyIA5AAts1anBUBuaTMRs4AZXTc1MMByWIGAT0iIiSgHySDhwxAT041bAA6bQ58KEt6QL5CT0QKCnIwbAB3FnYuAkJA4zM0CytQwl0gA&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=true&fileSize=false&lineWrap=false&presets=es2017%2Cstage-2&prettier=false&targets=&version=6.26.0&envVersion=
Interestingly, the TypeScript compiler seems to avoid the problem (at least when the constructor function returns `undefined`) by using `super() || this` to capture the value used in closures. This was apparently added along with a change to support override values returned by base class constructors [in this PR](https://github.com/Microsoft/TypeScript/pull/10762/files#diff-2320501f9a3b426f8ee7654c548418e9R1019).
Tested in Edge 15 and 16. Apologies if this doesn't repro on ChakraCore's master, or if this is the wrong place to report.
|
Unexpected super() return value when subclassing ES5 ctor function
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4663/comments
| 4 |
2018-02-09T17:05:31Z
|
2018-11-13T16:08:23Z
|
https://github.com/chakra-core/ChakraCore/issues/4663
| 295,941,765 | 4,663 |
[
"chakra-core",
"ChakraCore"
] |
In the function JavascriptArray::DirectSetItem_Full (JavaScriptArray.inl):
//Find the segment where itemIndex is present or is at the boundary
SparseArraySegment<T>* current = (SparseArraySegment<T>*)this->GetBeginLookupSegment(itemIndex, false);
// If it doesn't fit in current chunk (watch for overflow), start from beginning as we'll
// need the prev
if (current->left + current->size > current->left || itemIndex >= current->left + current->size)
{
current = SparseArraySegment<T>::From(head);
}
Here it tries to use GetBeginLookupSegment to speed up the search. However, in the following statement:
if (current->left + current->size > current->left || itemIndex >= current->left + current->size)
{
current = SparseArraySegment<T>::From(head);
}
Here current->left + current->size > current->left is always true for a normal segment, so it will always execute:
current = SparseArraySegment<T>::From(head);
Which makes the GetBeginLookupSegment useless.
I think this is a typo here, it should be:
if (current->left + current->size < current->left || itemIndex >= current->left + current->size)
|
Wrong begin lookup segment in JavascriptArray::DirectSetItem_Full
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4658/comments
| 2 |
2018-02-08T10:41:50Z
|
2018-02-08T18:40:59Z
|
https://github.com/chakra-core/ChakraCore/issues/4658
| 295,462,973 | 4,658 |
[
"chakra-core",
"ChakraCore"
] |
Follow-up #4651
/cc @boingoing
|
Object member functions handle caller/arguments incorrectly.
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4655/comments
| 0 |
2018-02-08T01:46:42Z
|
2018-03-13T18:30:22Z
|
https://github.com/chakra-core/ChakraCore/issues/4655
| 295,356,931 | 4,655 |
[
"chakra-core",
"ChakraCore"
] |
Assuming `orig` is a standard gapless array with no custom behavior, the following:
```js
let dolly = [ ...orig ];
```
is approximately three times slower than
```js
let dolly = [];
for (let i = 0; i < orig.length; ++i) {
dolly[i] = orig[i];
}
```
|
Spreading arrays is very slow compared to equivalent for-loop
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4642/comments
| 4 |
2018-02-06T00:05:43Z
|
2018-02-07T23:13:03Z
|
https://github.com/chakra-core/ChakraCore/issues/4642
| 294,586,301 | 4,642 |
[
"chakra-core",
"ChakraCore"
] |
```js
const o = {};
o.myclass = class MyClass { }
assert(o.myclass.name === "MyClass") // fails
```
This has been a bug for quite some time, and is breaking an updated Node-ChakraCore test.
|
Named class expression does not set class name property when assigned to object member
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4635/comments
| 0 |
2018-02-02T00:26:38Z
|
2018-02-21T23:02:24Z
|
https://github.com/chakra-core/ChakraCore/issues/4635
| 293,732,287 | 4,635 |
[
"chakra-core",
"ChakraCore"
] |
While debugging is enabled, if one throws an error inside of an async function:
```js
async function f()
{
throw new Error("*munch*");
}
f();
```
Normally, such an error would be intercepted and trigger a breakpoint (`JsDiagDebugEventRuntimeException`):
```
D:\temp>ssj -r error.js
SSj X.X.X Sphere JavaScript debugger (x64)
the powerful symbolic JS debugger for Sphere
(c) 2015-2018 Fat Cerberus
starting 'D:/temp/error.js'... OK.
connecting to 127.0.0.1:1208... OK.
establishing communication... OK.
downloading game information... OK.
engine: miniSphere X.X.X
title: error.js
author: Author Unknown
uncaught: Error: *munch*
at f (@/error.js:4:2)
at Generator.prototype.next (native code)
at Global code (@/error.js:6:1)
-> # 0: f(), at @/error.js:4
4 throw new Error("*munch*");
@/error.js:4 f()
(ssj) l
1 async function f()
2 {
3 //await null;
-> 4 throw new Error("*munch*");
5 }
6 f();
```
However, if one were to uncomment the `await` in the code above, no breakpoint will be triggered and the promise is just silently rejected:
```
D:\temp>ssj -r error.js
SSj X.X.X Sphere JavaScript debugger (x64)
the powerful symbolic JS debugger for Sphere
(c) 2015-2018 Fat Cerberus
starting 'D:/temp/error.js'... OK.
connecting to 127.0.0.1:1208... OK.
establishing communication... OK.
downloading game information... OK.
engine: miniSphere X.X.X
title: error.js
author: Author Unknown
SSj/Ki debug session disconnected normally.
the SSj debugger has been detached.
```
**Update (6/26/2018):**
There are multiple work items here & I wanted to break them out independently. Will leave this open to track getting this to work w/ async/await. The other issues are:
- PR: fixing issue where "uncaught" exceptions in promises wouldn't notify debugger #5328
- Issue: Debugger: Support detecting pending promise reactions for "break on uhandled exceptions" #5371
- Issue: Debugger: Add support for breaking in debugger on unhandled promise rejection #5370
RE async/await, it looks like we'll need to do some work to update byte-code-generation & possibly jit code so that we understand syntactic constructs that result in a "handled" async functions.
|
Throw in async function after await is not caught by debugger
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4630/comments
| 12 |
2018-02-01T03:41:26Z
|
2019-06-07T19:00:55Z
|
https://github.com/chakra-core/ChakraCore/issues/4630
| 293,393,519 | 4,630 |
[
"chakra-core",
"ChakraCore"
] |
```
"0".localeCompare("1") ==> 0
expected 1
```
looks like https://github.com/Microsoft/ChakraCore/blob/release/1.8/lib/Runtime/Library/IntlEngineInterfaceExtensionObject.cpp#L1385 was the cause.
Sending the fix. /cc @dilijev @jackhorton we better default to non-intl behavior then a default number approach. If you know a similar case, please open an issue or send a PR.
|
xplat-intl: localeCompare fails
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4623/comments
| 0 |
2018-01-31T01:03:42Z
|
2018-02-01T00:13:47Z
|
https://github.com/chakra-core/ChakraCore/issues/4623
| 292,995,226 | 4,623 |
[
"chakra-core",
"ChakraCore"
] |
Today, unlike the experience in Chakra.dll, embedders of ChakraCore cannot debug the scripts they run easily. While ChakraCore has a rich JSRT API for debugging, not all embedders want to write their own debugger. This issue is to track a feature request to provide a companion library to ChakraCore that embedders can link to for a default debugger implementation.
|
Feature request: Make it easier for embedders to debug their scripts
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4616/comments
| 8 |
2018-01-30T01:34:03Z
|
2018-07-11T21:51:05Z
|
https://github.com/chakra-core/ChakraCore/issues/4616
| 292,622,728 | 4,616 |
[
"chakra-core",
"ChakraCore"
] |
I'm doing a project on the ChakraCore. However, I can't figure out the bytecode format and its meaning. Is there some detailed specification about bytecode?
|
Is there any document about the meaning of bytecode?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4605/comments
| 1 |
2018-01-26T02:53:39Z
|
2018-02-12T19:11:21Z
|
https://github.com/chakra-core/ChakraCore/issues/4605
| 291,785,204 | 4,605 |
[
"chakra-core",
"ChakraCore"
] |
We run following code in ch-release 1.9.0.0. The ch process will abort.
```
var x=("\u2604").repeat(32 * 1024 * 1024);
var z="haha";
for(;;) {
z += x;
}
```
Output:
Aborted (core dumped)
ICT BT group
2018.1.24
|
Process abort when handling OOM exception
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4597/comments
| 4 |
2018-01-24T11:33:46Z
|
2018-02-08T00:27:00Z
|
https://github.com/chakra-core/ChakraCore/issues/4597
| 291,176,118 | 4,597 |
[
"chakra-core",
"ChakraCore"
] |
poc:
```
Object.defineProperty(Object.getPrototypeOf({}), "equalTo", { value: function (other, msg) { AssertEqual(this.constructor(this), other, msg); } });
"Henry \u2163".normalize("NFKC").equalTo("test");
```
ASAN output:
```
==46293==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x5588ed4bde5a bp 0x7ffda5ce9c90 sp 0x7ffda5ce9b80 T0)
==46293==The signal is caused by a READ memory access.
==46293==Hint: address points to the zero page.
#0 0x5588ed4bde59 in PlatformAgnostic::UnicodeText::IsNormalizedString(PlatformAgnostic::UnicodeText::NormalizationForm, char16_t const*, int) /home/ro4k/fuzzing/target/chakra/lib/Runtime/PlatformAgnostic/Platform/Linux/UnicodeText.ICU.cpp:215:45
#1 0x5588ed25a571 in Js::JavascriptString::EntryNormalize(Js::RecyclableObject*, Js::CallInfo, ...) /home/ro4k/fuzzing/target/chakra/lib/Runtime/Library/JavascriptString.cpp:1460:13
.......
SUMMARY: AddressSanitizer: SEGV /home/ro4k/fuzzing/target/chakra/lib/Runtime/PlatformAgnostic/Platform/Linux/UnicodeText.ICU.cpp:215:45 in PlatformAgnostic::UnicodeText::IsNormalizedString(PlatformAgnostic::UnicodeText::NormalizationForm, char16_t const*, int)
==46293==ABORTING
```
|
a SEGV bug of PlatformAgnostic::UnicodeText::IsNormalizedString
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4596/comments
| 5 |
2018-01-24T02:26:34Z
|
2018-06-07T00:06:23Z
|
https://github.com/chakra-core/ChakraCore/issues/4596
| 291,062,862 | 4,596 |
[
"chakra-core",
"ChakraCore"
] |
My current code uses JsCreateNamedFunction to create native functions with names. I would like to use JsCreateEnhancedFunction in order to take advantage of the `new.target` binding, however there doesn't seem to be a way to give these names. Is there a way to do this?
|
Way to create JsEnhancedNativeFunction with name
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4587/comments
| 5 |
2018-01-22T02:44:28Z
|
2018-01-23T07:16:57Z
|
https://github.com/chakra-core/ChakraCore/issues/4587
| 290,335,363 | 4,587 |
[
"chakra-core",
"ChakraCore"
] |
Found an issue that doesn't appear to effect release builds at all but does hit an assert in the debug build of the current 1.8 or master.
The below code was made by simplifying some real world code (removing sections 1 at a time until the assertion stopped occurring then putting lines back etc.)
The original code runs fine in a release build - this cut down version obviously shouldn't do anything it loads a module that exports a class with some static fields but nothing is called.
The assert this hits is here:
https://github.com/Microsoft/ChakraCore/blob/master/lib/Runtime/Language/JavascriptOperators.cpp#L6975
The comparison it's doing is size of slot array = 2 (in this case) > ScopeSlots::FirstSlotIndex which is also 2.
Issue was initially found by @fatcerberus I've just simplified the test case.
```js
//test.js
WScript.LoadScriptFile("mod1.js","module");
```
```js
//mod1.js
export class test
{
static a()
{
}
b()
{
test.a();
}
}
```
Note - every element of that test case seems to be necessary to hit the assert - the class has to be exported - and it has to contain a static method that is called from within another method.
I'm afraid I have no ideas as to the cause of this issue.
|
1.8 - Assert fail on export class with static methods
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4586/comments
| 5 |
2018-01-21T10:39:39Z
|
2018-05-31T00:31:59Z
|
https://github.com/chakra-core/ChakraCore/issues/4586
| 290,262,810 | 4,586 |
[
"chakra-core",
"ChakraCore"
] |
Hi,
I would like to build ChakraCore from a Windows commandline.
Environment:
-Windows 10 Enterprise x64
-Visual Studio 2017 Community
-DotNet Framework 4.7.1
I checked out the source and typed in:
```
C:\Users\thegedus\workspace\ChakraCore>c:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe /m /p:Platform=x64 /p:Configuration=Test Build\Chakra.Core.sln
```
Got the following trace:
```
Microsoft (R) Build Engine version 4.7.2558.0
[Microsoft .NET Framework, version 4.0.30319.42000]
Copyright (C) Microsoft Corporation. All rights reserved.
Build started 2018. 01. 19. 17:09:25.
1>Project "C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" on node 1 (default targets).
1>ValidateSolutionConfiguration:
Building solution configuration "Test|x64".
ValidateProjects:
The project "pal" is not selected for building in solution configuration "Test|x64".
1>Project "C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (1) is building "C:\Users\thegedus\workspace\ChakraCore\Build\..\bin\ChakraCore\ChakraCore.vcxproj.meta
proj" (2) on node 1 (default targets).
2>Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (2) is building "C:\Users\thegedus\workspace\ChakraCore\lib\Common\Codex\
Chakra.Common.Codex.vcxproj" (6) on node 3 (default targets).
6>C:\Users\thegedus\workspace\ChakraCore\lib\Common\Codex\Chakra.Common.Codex.vcxproj(17,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found.
Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
2>Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (2) is building "C:\Users\thegedus\workspace\ChakraCore\lib\Common\Except
ions\Chakra.Common.Exceptions.vcxproj" (11) on node 2 (default targets).
11>C:\Users\thegedus\workspace\ChakraCore\lib\Common\Exceptions\Chakra.Common.Exceptions.vcxproj(15,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was
not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
6>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\lib\Common\Codex\Chakra.Common.Codex.vcxproj" (default targets) -- FAILED.
2>Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (2) is building "C:\Users\thegedus\workspace\ChakraCore\lib\Common\DataSt
ructures\Chakra.Common.DataStructures.vcxproj" (12) on node 4 (default targets).
12>C:\Users\thegedus\workspace\ChakraCore\lib\Common\DataStructures\Chakra.Common.DataStructures.vcxproj(15,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.pro
ps" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
11>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\lib\Common\Exceptions\Chakra.Common.Exceptions.vcxproj" (default targets) -- FAILED.
12>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\lib\Common\DataStructures\Chakra.Common.DataStructures.vcxproj" (default targets) -- FAILED.
2>Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (2) is building "C:\Users\thegedus\workspace\ChakraCore\lib\Common\util\C
hakra.Common.Util.vcxproj" (14) on node 4 (default targets).
14>C:\Users\thegedus\workspace\ChakraCore\lib\Common\util\Chakra.Common.Util.vcxproj(15,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. C
onfirm that the path in the <Import> declaration is correct, and that the file exists on disk.
14>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\lib\Common\util\Chakra.Common.Util.vcxproj" (default targets) -- FAILED.
1>Project "C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (1) is building "C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Common\Core\Chakra.Common.Core.vcx
proj.metaproj" (10) on node 1 (default targets).
10>Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Common\Core\Chakra.Common.Core.vcxproj.metaproj" (10) is building "C:\Users\thegedus\workspace\ChakraCore\manifes
ts\CoreManifests.vcxproj" (17) on node 2 (default targets).
17>C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj(13,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that
the path in the <Import> declaration is correct, and that the file exists on disk.
17>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj" (default targets) -- FAILED.
2>Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (2) is building "C:\Users\thegedus\workspace\ChakraCore\lib\wabt\wabt.vcx
proj" (18) on node 3 (default targets).
18>C:\Users\thegedus\workspace\ChakraCore\lib\wabt\wabt.vcxproj(16,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path
in the <Import> declaration is correct, and that the file exists on disk.
18>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\lib\wabt\wabt.vcxproj" (default targets) -- FAILED.
1>Project "C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (1) is building "C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Parser\Chakra.Parser.vcxproj.metap
roj" (16) on node 1 (default targets).
16>Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Parser\Chakra.Parser.vcxproj.metaproj" (16) is building "C:\Users\thegedus\workspace\ChakraCore\manifests\CoreMan
ifests.vcxproj" (17:2) on node 2 (default targets).
17>C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj(13,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that
the path in the <Import> declaration is correct, and that the file exists on disk.
17>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj" (default targets) -- FAILED.
10>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Common\Core\Chakra.Common.Core.vcxproj.metaproj" (default targets) -- FAILED.
2>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (default targets) -- FAILED.
16>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Parser\Chakra.Parser.vcxproj.metaproj" (default targets) -- FAILED.
1>Project "C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (1) is building "C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Jsrt\Chakra.Jsrt.vcxproj.metaproj"
(19) on node 1 (default targets).
19>Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Jsrt\Chakra.Jsrt.vcxproj.metaproj" (19) is building "C:\Users\thegedus\workspace\ChakraCore\lib\JITIDL\Chakra.JIT
IDL.vcxproj" (23) on node 4 (default targets).
23>C:\Users\thegedus\workspace\ChakraCore\lib\JITIDL\Chakra.JITIDL.vcxproj(15,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm tha
t the path in the <Import> declaration is correct, and that the file exists on disk.
23>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\lib\JITIDL\Chakra.JITIDL.vcxproj" (default targets) -- FAILED.
19>Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Jsrt\Chakra.Jsrt.vcxproj.metaproj" (19) is building "C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifes
ts.vcxproj" (17:3) on node 2 (default targets).
17>C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj(13,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that
the path in the <Import> declaration is correct, and that the file exists on disk.
17>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj" (default targets) -- FAILED.
19>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Jsrt\Chakra.Jsrt.vcxproj.metaproj" (default targets) -- FAILED.
1>Project "C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (1) is building "C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Runtime\Base\Chakra.Runtime.Base.v
cxproj.metaproj" (24) on node 1 (default targets).
24>Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Runtime\Base\Chakra.Runtime.Base.vcxproj.metaproj" (24) is building "C:\Users\thegedus\workspace\ChakraCore\manif
ests\CoreManifests.vcxproj" (17:4) on node 2 (default targets).
17>C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj(13,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that
the path in the <Import> declaration is correct, and that the file exists on disk.
17>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj" (default targets) -- FAILED.
24>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Runtime\Base\Chakra.Runtime.Base.vcxproj.metaproj" (default targets) -- FAILED.
1>Done Building Project "C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (default targets) -- FAILED.
Build FAILED.
"C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
"C:\Users\thegedus\workspace\ChakraCore\Build\..\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (default target) (2) ->
"C:\Users\thegedus\workspace\ChakraCore\lib\Common\Codex\Chakra.Common.Codex.vcxproj" (default target) (6) ->
C:\Users\thegedus\workspace\ChakraCore\lib\Common\Codex\Chakra.Common.Codex.vcxproj(17,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not foun
d. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
"C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
"C:\Users\thegedus\workspace\ChakraCore\Build\..\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (default target) (2) ->
"C:\Users\thegedus\workspace\ChakraCore\lib\Common\Exceptions\Chakra.Common.Exceptions.vcxproj" (default target) (11) ->
C:\Users\thegedus\workspace\ChakraCore\lib\Common\Exceptions\Chakra.Common.Exceptions.vcxproj(15,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" wa
s not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
"C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
"C:\Users\thegedus\workspace\ChakraCore\Build\..\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (default target) (2) ->
"C:\Users\thegedus\workspace\ChakraCore\lib\Common\DataStructures\Chakra.Common.DataStructures.vcxproj" (default target) (12) ->
C:\Users\thegedus\workspace\ChakraCore\lib\Common\DataStructures\Chakra.Common.DataStructures.vcxproj(15,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.p
rops" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
"C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
"C:\Users\thegedus\workspace\ChakraCore\Build\..\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (default target) (2) ->
"C:\Users\thegedus\workspace\ChakraCore\lib\Common\util\Chakra.Common.Util.vcxproj" (default target) (14) ->
C:\Users\thegedus\workspace\ChakraCore\lib\Common\util\Chakra.Common.Util.vcxproj(15,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found.
Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
"C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
"C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Common\Core\Chakra.Common.Core.vcxproj.metaproj" (default target) (10) ->
"C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj" (default target) (17) ->
C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj(13,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm th
at the path in the <Import> declaration is correct, and that the file exists on disk.
"C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
"C:\Users\thegedus\workspace\ChakraCore\Build\..\bin\ChakraCore\ChakraCore.vcxproj.metaproj" (default target) (2) ->
"C:\Users\thegedus\workspace\ChakraCore\lib\wabt\wabt.vcxproj" (default target) (18) ->
C:\Users\thegedus\workspace\ChakraCore\lib\wabt\wabt.vcxproj(16,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the pat
h in the <Import> declaration is correct, and that the file exists on disk.
"C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
"C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Parser\Chakra.Parser.vcxproj.metaproj" (default target) (16) ->
"C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj" (default target) (17:2) ->
C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj(13,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm th
at the path in the <Import> declaration is correct, and that the file exists on disk.
"C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
"C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Jsrt\Chakra.Jsrt.vcxproj.metaproj" (default target) (19) ->
"C:\Users\thegedus\workspace\ChakraCore\lib\JITIDL\Chakra.JITIDL.vcxproj" (default target) (23) ->
C:\Users\thegedus\workspace\ChakraCore\lib\JITIDL\Chakra.JITIDL.vcxproj(15,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm t
hat the path in the <Import> declaration is correct, and that the file exists on disk.
"C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
"C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Jsrt\Chakra.Jsrt.vcxproj.metaproj" (default target) (19) ->
"C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj" (default target) (17:3) ->
C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj(13,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm th
at the path in the <Import> declaration is correct, and that the file exists on disk.
"C:\Users\thegedus\workspace\ChakraCore\Build\Chakra.Core.sln" (default target) (1) ->
"C:\Users\thegedus\workspace\ChakraCore\Build\..\lib\Runtime\Base\Chakra.Runtime.Base.vcxproj.metaproj" (default target) (24) ->
"C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj" (default target) (17:4) ->
C:\Users\thegedus\workspace\ChakraCore\manifests\CoreManifests.vcxproj(13,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm th
at the path in the <Import> declaration is correct, and that the file exists on disk.
0 Warning(s)
10 Error(s)
Time Elapsed 00:00:01.33
```
Building from Visual Studio does not produce this issue. Search engines say this issue usually happens when there are multiple Visual Studio versions installed on the system, but I don't have any other versions. Can you help me finding the cause? Thanks!
|
Cannot build using MSBuild: error MSB4019
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4579/comments
| 6 |
2018-01-19T16:18:49Z
|
2021-12-07T22:09:10Z
|
https://github.com/chakra-core/ChakraCore/issues/4579
| 290,029,192 | 4,579 |
[
"chakra-core",
"ChakraCore"
] |
Adding multi-file tests is hard and unnecessarily complicated comparing to `jshost`. Implement `Implement WScript.RegisterModuleSource(path, source)` so the test file doesn't have to be a separate file on the file system.
|
ch: Implement WScript.RegisterModuleSource(path, source)
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4577/comments
| 0 |
2018-01-18T23:19:00Z
|
2018-01-22T16:29:02Z
|
https://github.com/chakra-core/ChakraCore/issues/4577
| 289,810,551 | 4,577 |
[
"chakra-core",
"ChakraCore"
] |
The test was disabled for a while. We got a VSO item tracking it separately (though that issue is partially fixed now). Opening a new issue here.
The issue doesn't repro on a direct run from command line. I suspect the problem is either path or timing related. Assigning myself for now.
|
module: fix parsing and enable bug_issue_3257 back
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4575/comments
| 2 |
2018-01-18T20:18:36Z
|
2018-01-25T21:49:41Z
|
https://github.com/chakra-core/ChakraCore/issues/4575
| 289,762,299 | 4,575 |
[
"chakra-core",
"ChakraCore"
] |
JS is fast, and the business value of writing one language across the stack is hard to ignore. Its async nature and concurrency primitives(like `async`/`await`, and `Promise`) also make it attractive for writing IO intensive applications. And its functional primitives(`map`, `filter`, `reduce`, `slice`), and features like object, array destructuring, make it a very good fit for data-intensive applications.
One thing that JS lacks which can be a big hindrance for medium-to-large-businesses thinking of investing heavily in JS for their server-side-software is the lack of proper numbers.
Because of the way numbers are implemented in JS, if a number grows beyond certain digits, JS loses information about it. Shown in the image below:

This sort of information loss will be very unattractive for companies that need to deal with critical numbers which are more than 21 digits big.
On the other hand, take a look at the example shown below from the language python:

All the information about both numbers shown in the above example remains preserved.
I suspect that the problem I am attempting to identify in this post is the reason for lack of an industry-standard open-source infrastructure for data science in JS. And that this is a big reason for why JS has not revolutionised server programming the same way it has revolutionised UI programming.
By creating this issue, I am trying to put this hypothesis in front of people who have the skills to do something about the problem detailed in this issue.
Thanks.
|
Re-implement numbers in JS to be like numbers in Python
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4573/comments
| 2 |
2018-01-18T17:25:14Z
|
2018-01-18T17:48:12Z
|
https://github.com/chakra-core/ChakraCore/issues/4573
| 289,711,618 | 4,573 |
[
"chakra-core",
"ChakraCore"
] |
@fatcerberus and I have found a new hard crash related to module loading in the latest 1.8, 1.9 and master branches.
I think this may have unfortunately been produced by #4551 I can't see how it would have caused it - but it's the only relevant change as far as I can see - @obastemur thoughts?
The issue as far as I can see is that if you have 1 module referenced via more than 1 path the parent is set with more than 1 name:
https://github.com/Microsoft/ChakraCore/blob/release/1.9/lib/Runtime/Language/SourceTextModuleRecord.cpp#L771
Putting an if and a printf into ModuleEvaluation around line 949
https://github.com/Microsoft/ChakraCore/blob/release/1.9/lib/Runtime/Language/SourceTextModuleRecord.cpp#L949
Shows that rootFunction appears to be nullptr for all paths other than the first one used.
The test case below reproduces this by having module2.js imported from module1.js in the same folder as it and module3.js in a different folder.
Whilst it's possible to paper over this error by just checking for rootFunction ==nullptr and if it is then calling GenerateRootFunction from line 949 I don't think that's the correct fix.
**Repro**
```js
//test.js
WScript.LoadScriptFile("module1.js","module");
```
```js
//module1.js
import mod2 from "./module2.js";
import {mod3} from "./folder/module3.js";
export function mod1()
{
print("mod1");
}
mod2();
mod3();
```
```js
//module2.js
export default function()
{
print("mod2");
}
```
```js
//folder/module3.js
import mod3 from "../module2.js";
export {mod3};
```
|
Regression/new segfault with module loading
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4570/comments
| 4 |
2018-01-17T23:48:33Z
|
2018-01-20T00:14:14Z
|
https://github.com/chakra-core/ChakraCore/issues/4570
| 289,455,135 | 4,570 |
[
"chakra-core",
"ChakraCore"
] |
/cc @Penguinwizzard @MSLaguana @boingoing
Context: we removed legacy builds on **Server 2008 R2 + Dev12** instead of updating the legacy build config to something more modern. Currently branches **release/1.8, release/1.9, master** do not have legacy builds.
See #2552 (superceded by #3855)
TODO CI Build Configuration Updates:
* [ ] Modern = Dev15 on Server 2016 (~= Windows 10)
* [ ] Legacy = Dev14 on Server 2008 R2 (~= Windows 7)
With those changes, the following OS would not be covered by Jenkins:
* Server 2012 R2 (~= Windows 8.1)
To cover the above, it might make sense to add one of these in-between sanity-check build:
* Dev14 on Server 2012 R2
* Note: without the above changes this is the "modern" configuration covered by the current VSO CI build configuration (/cc @MSLaguana @boingoing)
* Dev15 on Server 2012 R2
Follow-up tasks:
* [ ] Update Build Status wiki pages
* [ ] Update other documentation referencing CI build configurations
Will follow up with notes on the migration.
FYI @mmitche - We're planning to migrate to Server 2016 soon. Let us know if there are any capacity concerns on the various servers we use for CI (master on ci.dot.net and most other branches on ci2.dot.net)
|
Update build configs (legacy -> dev14)
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4566/comments
| 2 |
2018-01-17T23:01:32Z
|
2018-09-17T18:27:13Z
|
https://github.com/chakra-core/ChakraCore/issues/4566
| 289,445,299 | 4,566 |
[
"chakra-core",
"ChakraCore"
] |
Ran into this while doing ICU build system work. This seems like a great use case for being a PlatformAgnostic API defined per-platform.
|
Factor ENABLE_CUSTOM_ENTROPY/Entropy.cpp out into PlatformAgnostic
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4563/comments
| 2 |
2018-01-17T17:17:28Z
|
2018-01-29T22:01:43Z
|
https://github.com/chakra-core/ChakraCore/issues/4563
| 289,345,940 | 4,563 |
[
"chakra-core",
"ChakraCore"
] |
The JavaScript and WebAssembly based sample at http://pdftron.s3.amazonaws.com/custom/ID-zJWLuhTffd3c/microsoft/EdgeWASMBug/WithWasm.html downloads a simple PDF file. In Chrome, Firefox this sample works fine, but in Edge it produces a corrupt PDF.
In addition the asm.js only version at
http://pdftron.s3.amazonaws.com/custom/ID-zJWLuhTffd3c/microsoft/EdgeWASMBug/WasmDisabled.html works everywhere, which suggests that there is a bug with the WebAssembly handling in Edge.
At the moment I have no choice but to disable WebAssembly for Edge in the viewer which is far from ideal.
Thanks in advance for any fix or workaround you can provide,
David
|
Incorrect Webassembly Behaviour
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4562/comments
| 5 |
2018-01-17T00:57:17Z
|
2018-03-17T00:39:47Z
|
https://github.com/chakra-core/ChakraCore/issues/4562
| 289,107,536 | 4,562 |
[
"chakra-core",
"ChakraCore"
] |
It doesn't repro all the time. Output is below (when it does);
```
out/Test/ch -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -maxInterpretCount:1 -maxSimpleJitRunCount:1 -bgjit- -dynamicprofilecache:profile.dpl.2784 -wasm -dbgbaseline:wasmcctx.js.dbg.baseline -InspectMaxStringLength:50 test/wasm/wasmcctx.js
16:00:19
16:00:19 Output:
16:00:19 ----------------------------
16:00:19
16:00:19 ----------------------------
16:00:19
exit code: -11
```
|
swb: Disable flaky test wasm/wasmcctx.js
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4547/comments
| 2 |
2018-01-13T00:21:33Z
|
2018-03-17T00:32:43Z
|
https://github.com/chakra-core/ChakraCore/issues/4547
| 288,283,466 | 4,547 |
[
"chakra-core",
"ChakraCore"
] |
test\Date\parseISO.js contains a lot of test cases (and generates a lot of output) and thus is tagged Slow. Unfortunately it is also excluded from Jenkins and xplat for various reasons (timezone and negative years):
```
<test>
<default>
<files>parseISO.js</files>
<baseline>parseISO.baseline</baseline>
<!-- test is timezone-sensitive; remove exclude_jenkins after fix (Microsoft/ChakraCore#319) -->
<!-- OSX doesn't provide expected DST for minus years -->
<tags>exclude_jenkins,exclude_xplat,Slow</tags>
</default>
</test>
```
Thus, this test is only run in Nightlies and perhaps doesn't get the attention it deserves. This test could be split into 3 tests: timezone-sensitive, negative years, and everything else. Perhaps at that time it will not be meaningfully slow and we can remove the Slow tag, enabling these tests in more test configurations.
As for the Slow tag:
This test takes 4 seconds to run on my machine, which probably means it will run for a concerning amount of time on CI VMs. Hopefully, when the test is split into parts it will be faster.
|
Refactor test parseISO.js to increase test coverage
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4543/comments
| 0 |
2018-01-12T20:27:29Z
|
2018-01-30T03:18:47Z
|
https://github.com/chakra-core/ChakraCore/issues/4543
| 288,237,129 | 4,543 |
[
"chakra-core",
"ChakraCore"
] |
I'm trying to parse xml with xslt in javascript.
I found I always got null when I use xslt function.
( count function <xsl:value-of select="count(document(''))"/> )
If I not use function it work fine.
Here are my code.
** js file**
```
$.get(xmlUrl)
.done(function(data) {
var xml = data;
$.get(xslUrl).done(function(xsl){
try {
var xsltProcessor = new XSLTProcessor();
var myDocument = document.implementation.createDocument("","", null);
xsltProcessor.importStylesheet(xsl);
strJson = xsltProcessor.transformToFragment(xml, myDocument);
$('#myCode').html(strJson);
}
catch (err) {
console.log(err.message);
}
});
});
```
**xml file**
```
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="tunerList.xsl"?>
<snugcaster>
<list>
<device id="1" name="D - 1">
<tuner enable="1" id="1">
<sourcetype id="48" port="1"/>
</tuner>
</device>
</list>
</snugcaster>
```
**xsl file**
```
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:json="http://json.org/" >
<xsl:output indent="no" omit-xml-declaration="yes" method="text" encoding="UTF-8" media-type="text/x-json"/>
<xsl:strip-space elements="*"/>
<xsl:template match="device|tuner|sourcetype|ts">
<xsl:if test="position() = 1">"<xsl:value-of select="name()"/>":[</xsl:if>
<xsl:text>{</xsl:text>
<xsl:text>"id":</xsl:text>
<xsl:value-of select="@id"/>
<xsl:if test="@name">
<xsl:text>,"name":"</xsl:text>
<!-- always die at here -->
<xsl:value-of select="count(document(''))"/>
<!--
<xsl:value-of select="@name"/>
<xsl:if test="function-available('count')">count function is supported</xsl:if>
-->
<xsl:text>"</xsl:text>
</xsl:if>
<xsl:if test="@version">,"version":<xsl:value-of select="@version"/></xsl:if>
<xsl:if test="@enable">,"enable":<xsl:value-of select="@enable"/></xsl:if>
<xsl:if test="@port">,"port":<xsl:value-of select="@port"/></xsl:if>
<xsl:if test="node()">
<xsl:text>,</xsl:text>
<xsl:apply-templates select="node()"/>
</xsl:if>
<xsl:text>}</xsl:text>
<xsl:choose>
<xsl:when test="position() = last()">]</xsl:when>
<xsl:otherwise>,</xsl:otherwise>
</xsl:choose>
</xsl:template>
<xsl:template match="snugcaster">
<xsl:text>{</xsl:text>
<xsl:if test="device">
<xsl:apply-templates select="device"/>
</xsl:if>
<xsl:if test="list">
<xsl:apply-templates select="list/device"/>
</xsl:if>
<xsl:text>}</xsl:text>
</xsl:template>
</xsl:stylesheet>
```
|
xsltProcessor.transformToFragment returns null when xsl file with xslt function
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4542/comments
| 1 |
2018-01-12T10:40:15Z
|
2018-01-13T02:27:53Z
|
https://github.com/chakra-core/ChakraCore/issues/4542
| 288,077,121 | 4,542 |
[
"chakra-core",
"ChakraCore"
] |
Calling RunScript on the following JavaScript causes ChakraCore to exit the process, no exception is thrown. If "x2|" is removed from the regex the issue does not repro. This script works correctly on Chakra.dll
var f = function (x) { var str = " droid24gP xh06build/"; var reg = /\s(milestone|droid(?:[2-4x]|\s(?:bionic|x2|pro|razr))?(:?\s4g)?)[\w\s]+build\//i; return str.search(reg); }
|
Regex causes ChakraCore to exit process
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4538/comments
| 6 |
2018-01-12T00:16:22Z
|
2018-06-07T00:05:15Z
|
https://github.com/chakra-core/ChakraCore/issues/4538
| 287,969,176 | 4,538 |
[
"chakra-core",
"ChakraCore"
] |
Not sure how much we care, but for example, `Math.atan(10)` is `1.4711276743037344` on OSX. On other platforms it equals `1.4711276743037347`.
Opened as result of test failure in #4531
|
osx: enable MathBuiltinsCall.js
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4537/comments
| 1 |
2018-01-12T00:05:37Z
|
2018-02-10T00:06:25Z
|
https://github.com/chakra-core/ChakraCore/issues/4537
| 287,967,273 | 4,537 |
[
"chakra-core",
"ChakraCore"
] |
I'm currently embedding ChakraCore (tried both `release/1.7` and `release/1.8`) into my Windows-based application.
Sometimes (completely randomly it seems) when I call `JsCallFunction` I get a crash on one of the calls to [`VALIDATE_INCOMING_REFERENCE`](https://github.com/Microsoft/ChakraCore/blob/ebd118a65df11bb6f5ea52b9012012d02d4245cd/lib/Jsrt/Jsrt.cpp#L2732). More specifically it seems to be `JsrtContext::javascriptLibrary` being `nullptr` when calling `JsrtContext::GetScriptContext()` in the [`MARSHAL_OBJECT`](https://github.com/Microsoft/ChakraCore/blob/76373f24141ee66bc5e9e4ff131f097f96542a95/lib/Jsrt/JsrtInternal.h#L42) macro.
As far as I can tell there's no specific event that leads up to this. Sometimes I can call `JsCallFunction` with the same arguments hundreds of thousands of times with no issue, and sometimes it crashes almost instantly. I'm not really seeing any patterns in the amount of calls made or general workload.
I've compiled both the Release and Debug versions of ChakraCore (using the bundled `Build/Chakra.Core.sln`, without changing any build flags or anything), but was never able to reproduce this issue with the Debug build sadly.
I should maybe note that I use the `JsRuntimeAttributeEnableIdleProcessing` and `JsRuntimeAttributeDisableBackgroundWork` flags on my context. I've tried playing with various combinations of these, including removing them altogether, but I seem to get the error in any sort of configuration.
Any wild guess or hint as to what could cause that `javascriptLibrary` variable to ever become `nullptr` would be appreciated.
|
Crash: nullptr access in VALIDATE_INCOMING_REFERENCE
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4532/comments
| 8 |
2018-01-11T17:20:04Z
|
2018-03-01T09:01:04Z
|
https://github.com/chakra-core/ChakraCore/issues/4532
| 287,859,963 | 4,532 |
[
"chakra-core",
"ChakraCore"
] |
CCRobot caught this on release1.8 branch;
```
[1192/2354 0.20] Failed -> Prototypes/ChangePrototype.js
out/Debug/ch -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -maxInterpretCount:1 -maxSimpleJitRunCount:1 -bgjit- -dynamicprofilecache:profile.dpl.1466 -RecyclerVerifyMark -RecyclerConcurrentStress -VerifyBarrierBit -KeepRecyclerTrackData -trace:TypeShareForChangePrototype -JsBuiltIn- test/Prototypes/ChangePrototype.js
Output: (at line 28)
----------------------------
TypeSharing: Updating prototype object s DictionarySlot cache in __proto__.
----------------------------
Expected Output:
----------------------------
TypeSharing: Reusing prototype object s DictionarySlot cache in __proto__.
----------------------------
exit code: 0
```
Looks like Kunal had prepared the test and the bug fix associated with it almost a year ago. I'm going to assign myself for now and take a look.
|
Type sharing test`Prototypes/ChangePrototype` is flaky on r1.8
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4530/comments
| 1 |
2018-01-11T03:18:02Z
|
2018-03-17T00:33:22Z
|
https://github.com/chakra-core/ChakraCore/issues/4530
| 287,650,777 | 4,530 |
[
"chakra-core",
"ChakraCore"
] |
Debug build of ChakraCore received SIGILL with an ASSERTION FAILURE.
```
"friedrichstra\xDFe 14".toUpperCase(0xa >>> 0.0, "Sticky = true, RegExp.match() result");
```
$ ./ch 99-ef6afe1a505bf421c1e66223554e9ac60503ea96-1586.js
ASSERTION 18040: (/data/ChakraCore/lib/Runtime/PlatformAgnostic/Platform/Linux/UnicodeText.ICU.cpp, line 401) error == ApiError::NoError
Failure: (error == ApiError::NoError)
Illegal instruction (core dumped)
$ file ch
ch: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32
OS: Ubuntu 16.04.3 LTS
Arch: x86_64
```
ASSERTION 18047: (/data/ChakraCore/lib/Runtime/PlatformAgnostic/Platform/Linux/UnicodeText.ICU.cpp, line 401) error == ApiError::NoError
Failure: (error == ApiError::NoError)
Thread 1 "ch" received signal SIGILL, Illegal instruction.
0x00007ffff610e51d in PlatformAgnostic::UnicodeText::ChangeStringCaseInPlace (
caseFlags=PlatformAgnostic::UnicodeText::CaseFlagsUpper, stringToChange=0x7ffff7e35440 u"FRIEDRICHSTRASSE 1췍",
bufferLength=18) at /data/ChakraCore/lib/Runtime/PlatformAgnostic/Platform/Linux/UnicodeText.ICU.cpp:401
401 Assert(error == ApiError::NoError);
(gdb) bt
#0 0x00007ffff610e51d in PlatformAgnostic::UnicodeText::ChangeStringCaseInPlace (
caseFlags=PlatformAgnostic::UnicodeText::CaseFlagsUpper, stringToChange=0x7ffff7e35440 u"FRIEDRICHSTRASSE 1췍",
bufferLength=18) at /data/ChakraCore/lib/Runtime/PlatformAgnostic/Platform/Linux/UnicodeText.ICU.cpp:401
#1 0x00007ffff5ef8335 in Js::JavascriptString::ToCaseCore (pThis=0x7ff7f0538c60, toCase=Js::JavascriptString::ToUpper)
at /data/ChakraCore/lib/Runtime/Library/JavascriptString.cpp:2306
#2 0x00007ffff5ef9134 in Js::JavascriptString::EntryToUpperCase (function=0x7ff7f0424140, callInfo=...)
at /data/ChakraCore/lib/Runtime/Library/JavascriptString.cpp:2235
#3 0x00007ffff5fb73ce in amd64_CallFunction () at /data/ChakraCore/lib/Runtime/Library/amd64/JavascriptFunctionA.S:100
#4 0x00007ffff5d1fed5 in Js::JavascriptFunction::CallFunction<true> (function=0x7ff7f0424140,
entryPoint=0x7ffff5ef8db0 <Js::JavascriptString::EntryToUpperCase(Js::RecyclableObject*, Js::CallInfo, ...)>,
args=..., useLargeArgCount=false) at /data/ChakraCore/lib/Runtime/Library/JavascriptFunction.cpp:1312
#5 0x00007ffff5b2f24e in Js::InterpreterStackFrame::OP_CallCommon<Js::OpLayoutDynamicProfile<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > > > (this=0x7fffffffc110, playout=0x7ffff7e38320, function=0x7ff7f0424140,
flags=2, spreadIndices=0x0) at /data/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:3918
#6 0x00007ffff5b2edfb in Js::InterpreterStackFrame::OP_ProfileCallCommon<Js::OpLayoutDynamicProfile<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > > > (this=0x7fffffffc110, playout=0x7ffff7e38320,
function=0x7ff7f0424140, flags=0, profileId=0, inlineCacheIndex=0, spreadIndices=0x0)
at /data/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:3942
#7 0x00007ffff5b01d48 in Js::InterpreterStackFrame::OP_ProfiledCallIWithICIndex<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > > (this=0x7fffffffc110, playout=0x7ffff7e38320)
at /data/ChakraCore/lib/Runtime/./Language/InterpreterStackFrame.h:503
#8 0x00007ffff59bc2e9 in Js::InterpreterStackFrame::ProcessProfiled (this=0x7fffffffc110)
at /data/ChakraCore/lib/Runtime/Language/InterpreterHandler.inl:87
#9 0x00007ffff5950f5d in Js::InterpreterStackFrame::Process (this=0x7fffffffc110)
at /data/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:3415
#10 0x00007ffff5950186 in Js::InterpreterStackFrame::InterpreterHelper (function=0x7ff7f04c4240, args=...,
returnAddress=0x7ff7f0440fa2, addressOfReturnAddress=0x7fffffffc7b8, asmJsReturn=0x0)
at /data/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:2002
#11 0x00007ffff594ee4b in Js::InterpreterStackFrame::InterpreterThunk (layout=0x7fffffffc7d0)
at /data/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:1733
#12 0x00007ff7f0440fa2 in ?? ()
#13 0x00007fffffffc7e0 in ?? ()
#14 0x00007ffff5fb73ce in amd64_CallFunction () at /data/ChakraCore/lib/Runtime/Library/amd64/JavascriptFunctionA.S:100
Backtrace stopped: frame did not save the PC
```
|
ChakraCore crashes with assertion failure in UnicodeText.ICU.cpp
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4526/comments
| 5 |
2018-01-10T12:11:42Z
|
2018-03-20T20:32:17Z
|
https://github.com/chakra-core/ChakraCore/issues/4526
| 287,412,375 | 4,526 |
[
"chakra-core",
"ChakraCore"
] |
Hi, all guys, When I use clang6.0 to build chakracore, there are some mistakes as below:
> chakra/pal/src/shmemory/shmemory.cpp:946:16: error: result of comparison of unsigned enum expression < 0 is always false [-Werror,-Wtautological-unsigned-enum-zero-compare]
> if(element < 0 || element >= SIID_LAST)
my build command is like this:
`./build.sh --test-build --static --embed-icu --cc="$(which clang)" --cxx="$(which clang++)" -j -v -y`
Who knows which version of clang is the official used?
|
clang-6.0 build error
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4524/comments
| 3 |
2018-01-10T02:03:56Z
|
2018-01-10T05:55:33Z
|
https://github.com/chakra-core/ChakraCore/issues/4524
| 287,291,983 | 4,524 |
[
"chakra-core",
"ChakraCore"
] |
Per discussion with @LouisLaf and @pleath , there is room to improve the eval cache so it will cleanup before a navigation takes place to conserve memory. Please evaluate an LRU cache using the following possible inputs. It is possible other inputs make more sense so please consider this a list of ideas rather than a requirement.
- Time since used
- Size of data
- Available memory
- Possibly a toggle to shrink further when given a signal from host
|
Improve lifetime of the eval cache
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4513/comments
| 3 |
2018-01-08T21:42:36Z
|
2019-03-23T00:15:02Z
|
https://github.com/chakra-core/ChakraCore/issues/4513
| 286,897,212 | 4,513 |
[
"chakra-core",
"ChakraCore"
] |
I am trying to run chakra core c# sample provided here(https://github.com/Microsoft/ChakraCore/wiki/Embedding-ChakraCore#before-you-start) but getting error :

I tried to install this also but getting error with it :
`Install-Package JavaScriptEngineSwitcher.ChakraCore.Native.osx-x64 -Version 2.4.6`

As per my understanding if i want to use chakracore in my project(console app or web application) then i only need chakra core.dll but still i am getting error that chakra core dll not found.
I have tried in visual studio 2015 and 2017 on window 7 but same problem.
How run run sample application which should display hello world in console application execcuting javascript code?
|
Getting unable to load chakra core.dll error while running hello world sample
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4510/comments
| 5 |
2018-01-08T06:50:17Z
|
2018-02-13T23:43:24Z
|
https://github.com/chakra-core/ChakraCore/issues/4510
| 286,660,606 | 4,510 |
[
"chakra-core",
"ChakraCore"
] |
The result of calling [CanonicalizeLanguageTag](https://tc39.github.io/ecma402/#sec-canonicalizelanguagetag) on "en-us-u-kn" should be "en-US-u-kn", _not_ "en-US-u-kn-true" as is currently returned from platform.normalizeLanguageTag. This causes test262 9.2.5_11_g_ii_2 to fail.
|
Intl: platform.normalizeLanguageTag does not correctly handle valueless unicode extensions
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4490/comments
| 7 |
2018-01-02T17:16:23Z
|
2019-06-07T18:37:25Z
|
https://github.com/chakra-core/ChakraCore/issues/4490
| 285,485,966 | 4,490 |
[
"chakra-core",
"ChakraCore"
] |
```
let obj = {x: 1, y: 2};
obj.p1 = 1;
obj.p2 = 2;
delete obj.p1;
obj.p1 = 1;
let str = '';
for (prop in obj) {
str += '<' + prop + '> ';
}
print(str);
┌─────────────────────┬───────────────────┐
│ Chakra │ <x> <y> <p1> <p2> │
├─────────────────────┼───────────────────┤
│ JavaScriptCore │ <x> <y> <p2> <p1> │
│ SpiderMonkey │ │
│ V8 │ │
└─────────────────────┴───────────────────┘
```
JSC, SM, and V8 have the proper behavior here. The spec requires that own properties are enumerated in order of creation. In the example above, p1 is the last property created and so should be last (the fact that it existed before is not relevant).
|
Enumeration order incorrect with deletes
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4486/comments
| 2 |
2017-12-29T21:22:46Z
|
2019-06-07T18:43:31Z
|
https://github.com/chakra-core/ChakraCore/issues/4486
| 285,157,216 | 4,486 |
[
"chakra-core",
"ChakraCore"
] |
`/^[\w!\$&\*\-\.\?\^\{\}~]+@[\w!\$&\*\-\.\?\^\{\}~]+\.[\w!\$&\*\-\.\?\^\{\}~]+$/.test('[email protected]')`
This code returns true in Microsoft Edge 40.15063.674.0, Microsoft EdgeHTML 15.15063
Also this issue doesn’t reproduce in following versions:
Microsoft Edge 38.14393.1066.0, Microsoft EdgeHTML 14.14393
Microsoft Edge 41.16299.15.0, Microsoft EdgeHTML 16.16299
Also this issues doesn't reproduce in other browsers (IE, Chrome, Firefox)
|
Regex works incorrect in Edge
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4483/comments
| 1 |
2017-12-28T14:11:18Z
|
2017-12-29T21:15:14Z
|
https://github.com/chakra-core/ChakraCore/issues/4483
| 284,922,382 | 4,483 |
[
"chakra-core",
"ChakraCore"
] |
I haven't tried to reproduce this in isolation yet, only in miniSphere (my game engine), but I didn't see this before, so it seems to be a regression in the latest masters. Calling `JsParseModuleSource` with the debugger attached (i.e. `JsDiagStartDebugging` has been called) often results in a segfault due to null pointer dereference.
The null pointer dereference happens here (`this` is nullptr):
https://github.com/Microsoft/ChakraCore/blob/0adabdc5aae83b3d55e0b0c14aedd389a4eedc1f/lib/Common/DataStructures/BaseDictionary.h#L811
Prior to the crash, this assert was triggered:
https://github.com/Microsoft/ChakraCore/blob/0adabdc5aae83b3d55e0b0c14aedd389a4eedc1f/lib/Runtime/Language/SourceTextModuleRecord.cpp#L1149
And the stack trace at the time of the segfault:
```
> ChakraCore.dll!JsUtil::BaseDictionary<int,unsigned int,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::FindEntryWithKey<int>(const int & key) Line 811 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<int,unsigned int,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::TryGetValue<int>(const int & key, unsigned int * value) Line 359 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::GetLocalExportSlotIndexByLocalName(int localNameId) Line 1154 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::EnsureSymbolModuleSlots(Symbol * sym, FuncInfo * funcInfo) Line 3870 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::EmitModuleExportAccess(Symbol * sym, Js::OpCode opcode, unsigned int location, FuncInfo * funcInfo) Line 3825 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::EmitPropLoad(unsigned int lhsLocation, Symbol * sym, Ident * pid, FuncInfo * funcInfo, bool skipUseBeforeDeclarationCheck) Line 4952 C++ Symbols loaded.
ChakraCore.dll!Emit(ParseNode * pnode, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo, int fReturnValue, bool isConstructorCall, ParseNode * bindPnode, bool isTopLevel) Line 10591 C++ Symbols loaded.
ChakraCore.dll!EmitCallTarget(ParseNode * pnodeTarget, int fSideEffectArgs, unsigned int * thisLocation, bool * releaseThisLocation, unsigned int * callObjLocation, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo) Line 7586 C++ Symbols loaded.
ChakraCore.dll!EmitCall(ParseNode * pnode, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo, int fReturnValue, int fEvaluateComponents, unsigned int overrideThisLocation, unsigned int newTargetLocation) Line 8074 C++ Symbols loaded.
ChakraCore.dll!Emit(ParseNode * pnode, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo, int fReturnValue, bool isConstructorCall, ParseNode * bindPnode, bool isTopLevel) Line 10482 C++ Symbols loaded.
ChakraCore.dll!EmitOneArg(ParseNode * pnode, int fAssignRegs, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo, unsigned short callSiteId, unsigned short & argIndex, unsigned short & spreadIndex, unsigned int argTempLocation, bool emitProfiledArgout, Js::AuxArray<unsigned int> * spreadIndices) Line 6942 C++ Symbols loaded.
ChakraCore.dll!EmitArgs(ParseNode * pnode, int fAssignRegs, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo, unsigned short callSiteId, bool emitProfiledArgouts, Js::AuxArray<unsigned int> * spreadIndices) Line 7048 C++ Symbols loaded.
ChakraCore.dll!EmitArgList(ParseNode * pnode, unsigned int thisLocation, unsigned int newTargetLocation, int fIsEval, int fAssignRegs, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo, unsigned short callSiteId, unsigned short argsCountForStartCall, bool emitArgOutsAtEnd, bool emitProfiledArgouts, unsigned short spreadArgCount, Js::AuxArray<unsigned int> * * spreadIndices) Line 7196 C++ Symbols loaded.
ChakraCore.dll!EmitCall(ParseNode * pnode, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo, int fReturnValue, int fEvaluateComponents, unsigned int overrideThisLocation, unsigned int newTargetLocation) Line 8092 C++ Symbols loaded.
ChakraCore.dll!Emit(ParseNode * pnode, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo, int fReturnValue, bool isConstructorCall, ParseNode * bindPnode, bool isTopLevel) Line 10482 C++ Symbols loaded.
ChakraCore.dll!EmitOneArg(ParseNode * pnode, int fAssignRegs, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo, unsigned short callSiteId, unsigned short & argIndex, unsigned short & spreadIndex, unsigned int argTempLocation, bool emitProfiledArgout, Js::AuxArray<unsigned int> * spreadIndices) Line 6942 C++ Symbols loaded.
ChakraCore.dll!EmitArgs(ParseNode * pnode, int fAssignRegs, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo, unsigned short callSiteId, bool emitProfiledArgouts, Js::AuxArray<unsigned int> * spreadIndices) Line 7054 C++ Symbols loaded.
ChakraCore.dll!EmitArgList(ParseNode * pnode, unsigned int thisLocation, unsigned int newTargetLocation, int fIsEval, int fAssignRegs, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo, unsigned short callSiteId, unsigned short argsCountForStartCall, bool emitArgOutsAtEnd, bool emitProfiledArgouts, unsigned short spreadArgCount, Js::AuxArray<unsigned int> * * spreadIndices) Line 7196 C++ Symbols loaded.
ChakraCore.dll!EmitCall(ParseNode * pnode, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo, int fReturnValue, int fEvaluateComponents, unsigned int overrideThisLocation, unsigned int newTargetLocation) Line 8092 C++ Symbols loaded.
ChakraCore.dll!Emit(ParseNode * pnode, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo, int fReturnValue, bool isConstructorCall, ParseNode * bindPnode, bool isTopLevel) Line 10482 C++ Symbols loaded.
ChakraCore.dll!Emit(ParseNode * pnode, ByteCodeGenerator * byteCodeGenerator, FuncInfo * funcInfo, int fReturnValue, bool isConstructorCall, ParseNode * bindPnode, bool isTopLevel) Line 11059 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::EmitTopLevelStatement(ParseNode * stmt, FuncInfo * funcInfo, int fReturnValue) Line 958 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::EmitFunctionBody(FuncInfo * funcInfo) Line 2502 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::EmitOneFunction(ParseNode * pnode) Line 3133 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::EmitScopeList(ParseNode * pnode, ParseNode * breakOnBodyScopeNode) Line 3424 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::EmitScopeList(ParseNode * pnode, ParseNode * breakOnBodyScopeNode) Line 3435 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::EmitScopeList(ParseNode * pnode, ParseNode * breakOnBodyScopeNode) Line 3435 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::EmitScopeList(ParseNode * pnode, ParseNode * breakOnBodyScopeNode) Line 3435 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::EmitScopeList(ParseNode * pnode, ParseNode * breakOnBodyScopeNode) Line 3423 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::EmitScopeList(ParseNode * pnode, ParseNode * breakOnBodyScopeNode) Line 3435 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::EmitScopeList(ParseNode * pnode, ParseNode * breakOnBodyScopeNode) Line 3423 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::EmitProgram(ParseNode * pnodeProg) Line 2537 C++ Symbols loaded.
ChakraCore.dll!ByteCodeGenerator::Generate(ParseNode * pnode, unsigned int grfscr, ByteCodeGenerator * byteCodeGenerator, Js::ParseableFunctionInfo * * ppRootFunc, unsigned int sourceIndex, bool forceNoNative, Parser * parser, Js::ScriptFunction * * functionRef) Line 1974 C++ Symbols loaded.
ChakraCore.dll!GenerateByteCode(ParseNode * pnode, unsigned int grfscr, Js::ScriptContext * scriptContext, Js::ParseableFunctionInfo * * ppRootFunc, unsigned int sourceIndex, bool forceNoNative, Parser * parser, CompileScriptException * pse, Js::ScopeInfo * parentScopeInfo, Js::ScriptFunction * * functionRef) Line 2163 C++ Symbols loaded.
ChakraCore.dll!Js::ScriptContext::GenerateRootFunction(ParseNode * parseTree, unsigned int sourceIndex, Parser * parser, unsigned int grfscr, CompileScriptException * pse, const wchar_t * rootDisplayName) Line 2079 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation() Line 837 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::<lambda>(const wchar_t * specifier, Js::SourceTextModuleRecord * moduleRecord) Line 814 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::<lambda>(const wchar_t * const & key, Js::SourceTextModuleRecord * const & value) Line 571 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::<lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> & entry) Line 581 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapEntryUntil<bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) fn) Line 746 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil<bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) fn) Line 582 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map<void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) fn) Line 573 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation() Line 817 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::<lambda>(const wchar_t * specifier, Js::SourceTextModuleRecord * moduleRecord) Line 814 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::<lambda>(const wchar_t * const & key, Js::SourceTextModuleRecord * const & value) Line 571 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::<lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> & entry) Line 581 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapEntryUntil<bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) fn) Line 746 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil<bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) fn) Line 582 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map<void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) fn) Line 573 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation() Line 817 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::<lambda>(const wchar_t * specifier, Js::SourceTextModuleRecord * moduleRecord) Line 814 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::<lambda>(const wchar_t * const & key, Js::SourceTextModuleRecord * const & value) Line 571 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::<lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> & entry) Line 581 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapEntryUntil<bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) fn) Line 746 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil<bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) fn) Line 582 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map<void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) fn) Line 573 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation() Line 817 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::<lambda>(const wchar_t * specifier, Js::SourceTextModuleRecord * moduleRecord) Line 814 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::<lambda>(const wchar_t * const & key, Js::SourceTextModuleRecord * const & value) Line 571 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::<lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> & entry) Line 581 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapEntryUntil<bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) fn) Line 746 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil<bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) fn) Line 582 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map<void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) fn) Line 573 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation() Line 817 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::<lambda>(const wchar_t * specifier, Js::SourceTextModuleRecord * moduleRecord) Line 814 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::<lambda>(const wchar_t * const & key, Js::SourceTextModuleRecord * const & value) Line 571 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::<lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> & entry) Line 581 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapEntryUntil<bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) fn) Line 746 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil<bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) fn) Line 582 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map<void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) fn) Line 573 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation() Line 817 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::<lambda>(const wchar_t * specifier, Js::SourceTextModuleRecord * moduleRecord) Line 814 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::<lambda>(const wchar_t * const & key, Js::SourceTextModuleRecord * const & value) Line 571 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::<lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> & entry) Line 581 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapEntryUntil<bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) fn) Line 746 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil<bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) fn) Line 582 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map<void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) fn) Line 573 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation() Line 817 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::<lambda>(const wchar_t * specifier, Js::SourceTextModuleRecord * moduleRecord) Line 814 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::<lambda>(const wchar_t * const & key, Js::SourceTextModuleRecord * const & value) Line 571 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::<lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> & entry) Line 581 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapEntryUntil<bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) fn) Line 746 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil<bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) fn) Line 582 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map<void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) fn) Line 573 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation() Line 817 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::<lambda>(const wchar_t * specifier, Js::SourceTextModuleRecord * moduleRecord) Line 814 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::<lambda>(const wchar_t * const & key, Js::SourceTextModuleRecord * const & value) Line 571 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::<lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> & entry) Line 581 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapEntryUntil<bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) fn) Line 746 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil<bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) fn) Line 582 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map<void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) fn) Line 573 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation() Line 817 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::<lambda>(const wchar_t * specifier, Js::SourceTextModuleRecord * moduleRecord) Line 814 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::<lambda>(const wchar_t * const & key, Js::SourceTextModuleRecord * const & value) Line 571 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::<lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> & entry) Line 581 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapEntryUntil<bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) fn) Line 746 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil<bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) fn) Line 582 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map<void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) fn) Line 573 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation() Line 817 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::<lambda>(const wchar_t * specifier, Js::SourceTextModuleRecord * moduleRecord) Line 814 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::<lambda>(const wchar_t * const & key, Js::SourceTextModuleRecord * const & value) Line 571 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::<lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> & entry) Line 581 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapEntryUntil<bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil::__l2::bool <lambda>(const JsUtil::SimpleDictionaryEntry<wchar_t const *,Js::SourceTextModuleRecord *> &) fn) Line 746 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::MapUntil<bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) >(JsUtil::BaseDictionary<wchar_t const *,Js::SourceTextModuleRecord *,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map::__l2::bool <lambda>(const wchar_t * const &, Js::SourceTextModuleRecord * const &) fn) Line 582 C++ Symbols loaded.
ChakraCore.dll!JsUtil::BaseDictionary<wchar_t const * __ptr64,Js::SourceTextModuleRecord * __ptr64,Memory::ArenaAllocator,DictionarySizePolicy<PowerOf2Policy,2,2,1,4>,DefaultComparer,JsUtil::SimpleDictionaryEntry,JsUtil::NoResizeLock>::Map<void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::ModuleDeclarationInstantiation::__l9::void <lambda>(const wchar_t *, Js::SourceTextModuleRecord *) fn) Line 573 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ModuleDeclarationInstantiation() Line 817 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::PrepareForModuleDeclarationInitialization() Line 325 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::OnChildModuleReady(Js::SourceTextModuleRecord * childModule, void * childException) Line 387 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::<lambda>(unsigned int i, Js::SourceTextModuleRecord * parentModule) Line 226 C++ Symbols loaded.
ChakraCore.dll!JsUtil::List<Js::SourceTextModuleRecord * __ptr64,Memory::Recycler,0,Js::CopyRemovePolicy,DefaultComparer>::MapFrom<void <lambda>(unsigned int, Js::SourceTextModuleRecord *) >(int start, Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::void <lambda>(unsigned int, Js::SourceTextModuleRecord *) map) Line 566 C++ Symbols loaded.
ChakraCore.dll!JsUtil::List<Js::SourceTextModuleRecord * __ptr64,Memory::Recycler,0,Js::CopyRemovePolicy,DefaultComparer>::Map<void <lambda>(unsigned int, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::void <lambda>(unsigned int, Js::SourceTextModuleRecord *) map) Line 543 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::NotifyParentsAsNeeded() Line 228 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::PrepareForModuleDeclarationInitialization() Line 316 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::OnChildModuleReady(Js::SourceTextModuleRecord * childModule, void * childException) Line 387 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::<lambda>(unsigned int i, Js::SourceTextModuleRecord * parentModule) Line 226 C++ Symbols loaded.
ChakraCore.dll!JsUtil::List<Js::SourceTextModuleRecord * __ptr64,Memory::Recycler,0,Js::CopyRemovePolicy,DefaultComparer>::MapFrom<void <lambda>(unsigned int, Js::SourceTextModuleRecord *) >(int start, Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::void <lambda>(unsigned int, Js::SourceTextModuleRecord *) map) Line 566 C++ Symbols loaded.
ChakraCore.dll!JsUtil::List<Js::SourceTextModuleRecord * __ptr64,Memory::Recycler,0,Js::CopyRemovePolicy,DefaultComparer>::Map<void <lambda>(unsigned int, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::void <lambda>(unsigned int, Js::SourceTextModuleRecord *) map) Line 543 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::NotifyParentsAsNeeded() Line 228 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::PrepareForModuleDeclarationInitialization() Line 316 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::OnChildModuleReady(Js::SourceTextModuleRecord * childModule, void * childException) Line 387 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::<lambda>(unsigned int i, Js::SourceTextModuleRecord * parentModule) Line 226 C++ Symbols loaded.
ChakraCore.dll!JsUtil::List<Js::SourceTextModuleRecord * __ptr64,Memory::Recycler,0,Js::CopyRemovePolicy,DefaultComparer>::MapFrom<void <lambda>(unsigned int, Js::SourceTextModuleRecord *) >(int start, Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::void <lambda>(unsigned int, Js::SourceTextModuleRecord *) map) Line 566 C++ Symbols loaded.
ChakraCore.dll!JsUtil::List<Js::SourceTextModuleRecord * __ptr64,Memory::Recycler,0,Js::CopyRemovePolicy,DefaultComparer>::Map<void <lambda>(unsigned int, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::void <lambda>(unsigned int, Js::SourceTextModuleRecord *) map) Line 543 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::NotifyParentsAsNeeded() Line 228 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::PrepareForModuleDeclarationInitialization() Line 316 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::OnChildModuleReady(Js::SourceTextModuleRecord * childModule, void * childException) Line 387 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::<lambda>(unsigned int i, Js::SourceTextModuleRecord * parentModule) Line 226 C++ Symbols loaded.
ChakraCore.dll!JsUtil::List<Js::SourceTextModuleRecord * __ptr64,Memory::Recycler,0,Js::CopyRemovePolicy,DefaultComparer>::MapFrom<void <lambda>(unsigned int, Js::SourceTextModuleRecord *) >(int start, Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::void <lambda>(unsigned int, Js::SourceTextModuleRecord *) map) Line 566 C++ Symbols loaded.
ChakraCore.dll!JsUtil::List<Js::SourceTextModuleRecord * __ptr64,Memory::Recycler,0,Js::CopyRemovePolicy,DefaultComparer>::Map<void <lambda>(unsigned int, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::void <lambda>(unsigned int, Js::SourceTextModuleRecord *) map) Line 543 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::NotifyParentsAsNeeded() Line 228 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::PrepareForModuleDeclarationInitialization() Line 316 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::OnChildModuleReady(Js::SourceTextModuleRecord * childModule, void * childException) Line 387 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::<lambda>(unsigned int i, Js::SourceTextModuleRecord * parentModule) Line 226 C++ Symbols loaded.
ChakraCore.dll!JsUtil::List<Js::SourceTextModuleRecord * __ptr64,Memory::Recycler,0,Js::CopyRemovePolicy,DefaultComparer>::MapFrom<void <lambda>(unsigned int, Js::SourceTextModuleRecord *) >(int start, Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::void <lambda>(unsigned int, Js::SourceTextModuleRecord *) map) Line 566 C++ Symbols loaded.
ChakraCore.dll!JsUtil::List<Js::SourceTextModuleRecord * __ptr64,Memory::Recycler,0,Js::CopyRemovePolicy,DefaultComparer>::Map<void <lambda>(unsigned int, Js::SourceTextModuleRecord *) >(Js::SourceTextModuleRecord::NotifyParentsAsNeeded::__l5::void <lambda>(unsigned int, Js::SourceTextModuleRecord *) map) Line 543 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::NotifyParentsAsNeeded() Line 228 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::PrepareForModuleDeclarationInitialization() Line 316 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::PostParseProcess() Line 251 C++ Symbols loaded.
ChakraCore.dll!Js::SourceTextModuleRecord::ParseSource(unsigned char * sourceText, unsigned int sourceLength, SRCINFO * srcInfo, void * * exceptionVar, bool isUtf8) Line 158 C++ Symbols loaded.
ChakraCore.dll!JsParseModuleSource::__l2::<lambda>() Line 101 C++ Symbols loaded.
ChakraCore.dll!GlobalAPIWrapper_NoRecord::__l2::<lambda>() Line 168 C++ Symbols loaded.
ChakraCore.dll!GlobalAPIWrapper_Core<_JsErrorCode <lambda>(void) >(GlobalAPIWrapper_NoRecord::__l2::_JsErrorCode <lambda>(void) fn) Line 127 C++ Symbols loaded.
ChakraCore.dll!GlobalAPIWrapper_NoRecord<_JsErrorCode <lambda>(void) >(JsParseModuleSource::__l2::_JsErrorCode <lambda>(void) fn) Line 169 C++ Symbols loaded.
ChakraCore.dll!JsParseModuleSource(void * requestModule, unsigned __int64 sourceContext, unsigned char * sourceText, unsigned int sourceLength, JsParseModuleSourceFlags sourceFlag, void * * exceptionValueRef) Line 76 C++ Symbols loaded.
spherun.exe!jsal_update(bool in_event_loop) Line 260 C Symbols loaded.
spherun.exe!jsal_eval_module(const char * filename) Line 562 C Symbols loaded.
spherun.exe!jsal_try_eval_module(const char * filename) Line 1949 C Symbols loaded.
spherun.exe!pegasus_eval_module(const char * filename) Line 932 C Symbols loaded.
spherun.exe!main(int argc, char * * argv) Line 307 C Symbols loaded.
```
|
ChakraCore segfaults during JsParseModuleSource in certain cases involving circular imports
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4482/comments
| 20 |
2017-12-28T06:42:44Z
|
2018-01-19T23:36:44Z
|
https://github.com/chakra-core/ChakraCore/issues/4482
| 284,852,125 | 4,482 |
[
"chakra-core",
"ChakraCore"
] |
I am so very sorry for this more than likely being in the wrong place, but I've reached out to various twitter accounts, commented on the shadow DOM status page, and haven't heard back from anyone.
---
As of writing, [Shadow DOM](https://wpdev.uservoice.com/forums/257854-microsoft-edge-developer/suggestions/6263785-shadow-dom-unprefixed) has 11,796 votes on [Edge's platform status](https://developer.microsoft.com/en-us/microsoft-edge/platform/status/) page. This makes it the highest voted listing on there.
MS seems to have made promises about implementing web components, but there have been **0** updates on it in over 2 years. All we know is that it's been on the backlog for two years, with no end in sight.
Can we get an official update on an ETA?
Chrome has it
Firefox is working on it, and it should land in v 59 or 60
Will MS at least commit to working on it in the near future? It feels like self sabotage so they can continue to market Angular, though this is obviously conjecture.
Since this is probably the wrong place to open this discussion, is there someone I can reach out to that is actually interested in responding who can help work out an ETA for the arrival of web components?
Again, sorry for posting this here, but I'm not having any luck anywhere else.
|
Shadow DOM - Where are web components?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4481/comments
| 1 |
2017-12-28T03:58:22Z
|
2017-12-29T21:16:13Z
|
https://github.com/chakra-core/ChakraCore/issues/4481
| 284,837,118 | 4,481 |
[
"chakra-core",
"ChakraCore"
] |
chakracore.h Ln77
The following 2 functions has incorrect XML comments.
1. Identical "summary","remarks" section
2. "params" does not match function declaration
```
/// <summary>
/// User implemented callback to get notification when the module is ready.
/// </summary>
/// <remarks>
/// Notify the host after ModuleDeclarationInstantiation step (15.2.1.1.6.4) is finished. If there was error in the process, exceptionVar
/// holds the exception. Otherwise the referencingModule is ready and the host should schedule execution afterwards.
/// </remarks>
/// <param name="referencingModule">The referencing module that have finished running ModuleDeclarationInstantiation step.</param>
/// <param name="exceptionVar">If nullptr, the module is successfully initialized and host should queue the execution job
/// otherwise it's the exception object.</param>
/// <returns>
/// true if the operation succeeded, false otherwise.
/// </returns>
typedef JsErrorCode(CHAKRA_CALLBACK * FetchImportedModuleFromScriptCallBack)(_In_ JsSourceContext dwReferencingSourceContext, _In_ JsValueRef specifier, _Outptr_result_maybenull_ JsModuleRecord* dependentModuleRecord);
/// <summary>
/// User implemented callback to get notification when the module is ready.
/// </summary>
/// <remarks>
/// Notify the host after ModuleDeclarationInstantiation step (15.2.1.1.6.4) is finished. If there was error in the process, exceptionVar
/// holds the exception. Otherwise the referencingModule is ready and the host should schedule execution afterwards.
/// </remarks>
/// <param name="dwReferencingSourceContext">The referencing script that calls import()</param>
/// <param name="exceptionVar">If nullptr, the module is successfully initialized and host should queue the execution job
/// otherwise it's the exception object.</param>
/// <returns>
/// true if the operation succeeded, false otherwise.
/// </returns>
typedef JsErrorCode(CHAKRA_CALLBACK * NotifyModuleReadyCallback)(_In_opt_ JsModuleRecord referencingModule, _In_opt_ JsValueRef exceptionVar);
```
|
[JSRT]function comments does not match function signature
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4477/comments
| 11 |
2017-12-27T13:51:33Z
|
2018-01-23T20:16:33Z
|
https://github.com/chakra-core/ChakraCore/issues/4477
| 284,727,476 | 4,477 |
[
"chakra-core",
"ChakraCore"
] |
hi,
sorry I can't find the discussion board on Chakracore.
I created a simple demo to port the module system to C#, but JsModuleEvaluation always trigger "System.AccessViolationException".
Can someone help on this? Many thanks.
the source code is uploaded at https://github.com/JohnMasen/ChakraCore.NET/blob/master/JSModuleTest.zip
related lines listed below:
Test class
```
class Runner
{
private const string script = "var a=1;";
public void Run()
{
API.JavaScriptRuntime runtime = API.JavaScriptRuntime.Create();
var context=runtime.CreateContext();
JavaScriptContext.Current = context;
var x = API.JavaScriptModuleRecord.Create(null,"root");
JavaScriptModuleRecord.SetHostInfo(x, JavascriptModuleHostInfoKind.JsModuleHostInfo_NotifyModuleReadyCallback, new NotifyModuleReadyCallbackDelegate( ModuleNotifyReady));
//JavaScriptModuleRecord.SetHostInfo(x, JavascriptModuleHostInfoKind.JsModuleHostInfo_HostDefined, "root");
JavaScriptModuleRecord.ParseScript(x, script);
//System.Threading.Thread.Sleep(1000);
Console.WriteLine(JavaScriptModuleRecord.RunModule(x)); // **_Access violation exception_**
}
private JavaScriptErrorCode ModuleNotifyReady(JavaScriptModuleRecord module, JavaScriptValue value)
{
System.Diagnostics.Debug.WriteLine("ModuleNotifyReady start"); // **_this callback was never triggered_**
return JavaScriptErrorCode.NoError;
}
}
```
JavaScriptModuleRecord.cs
```
namespace JSModuleTest.API
{
public delegate JavaScriptErrorCode NotifyModuleReadyCallbackDelegate(JavaScriptModuleRecord module,JavaScriptValue value);
public struct JavaScriptModuleRecord
{
//public static JavaScriptModuleRecord NULLRecord=new JavaScriptModuleRecord(IntPtr.Zero);
public readonly IntPtr reference;
public JavaScriptModuleRecord(IntPtr reference)
{
this.reference = reference;
}
public static JavaScriptModuleRecord Create(JavaScriptModuleRecord? parent, string name)
{
JavaScriptValue moduleName = JavaScriptValue.FromString(name);
JavaScriptModuleRecord result;
if (parent.HasValue)
{
Native.ThrowIfError(Native.JsInitializeModuleRecord(parent.Value, moduleName, out result));
}
else
{
Native.ThrowIfError(Native.JsInitializeModuleRecordWithNullParent(null, moduleName, out result));
}
return result;
}
public static void ParseScript(JavaScriptModuleRecord module,string script)
{
var buffer=Encoding.UTF8.GetBytes(script);
uint length = (uint)buffer.Length;
Native.ThrowIfError( Native.JsParseModuleSource(module, JavaScriptSourceContext.None, buffer, length, JavaScriptParseModuleSourceFlags.JsParseModuleSourceFlags_DataIsUTF8, out JavaScriptValue parseException));
if (parseException.IsValid)
{
string ex = parseException.ToString();
throw new InvalidOperationException($"Parse script failed with error={ex}");
}
}
public static string RunModule(JavaScriptModuleRecord module)
{
JavaScriptValue result;
Native.ThrowIfError( Native.JsModuleEvaluation(module, out result));
if (result.IsValid)
{
return result.ToString();
}
else
{
return null;
}
}
public static void SetHostInfo(JavaScriptModuleRecord module,JavascriptModuleHostInfoKind kind,object value)
{
Native.ThrowIfError(Native.JsSetModuleHostInfo(module, kind, value));
}
}
}
```
Native.cs
```
[DllImport(DllName)]
public static extern JavaScriptErrorCode JsInitializeModuleRecord(JavaScriptModuleRecord parent, JavaScriptValue name, out JavaScriptModuleRecord result);
[DllImport(DllName,EntryPoint = "JsInitializeModuleRecord")]
public static extern JavaScriptErrorCode JsInitializeModuleRecordWithNullParent(object parent, JavaScriptValue name, out JavaScriptModuleRecord result);
[DllImport(DllName)]
public static extern JavaScriptErrorCode JsParseModuleSource(JavaScriptModuleRecord moduel, JavaScriptSourceContext sourceContext, byte[] script, uint scriptLength, JavaScriptParseModuleSourceFlags flags, out JavaScriptValue parseException);
[DllImport(DllName)]
public static extern JavaScriptErrorCode JsModuleEvaluation(JavaScriptModuleRecord moduel, out JavaScriptValue result);
[DllImport(DllName)]
public static extern JavaScriptErrorCode JsSetModuleHostInfo(JavaScriptModuleRecord module, JavascriptModuleHostInfoKind kind, object value);
```
|
[JSRT][C#][Modules] Request help on C# module feature porting
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4476/comments
| 2 |
2017-12-24T02:39:18Z
|
2017-12-25T13:22:04Z
|
https://github.com/chakra-core/ChakraCore/issues/4476
| 284,338,678 | 4,476 |
[
"chakra-core",
"ChakraCore"
] |
hi,
I'm working on a library which porting the chakracore to dotnetcore (Chakracore.NET on Github).
After reading the PR (https://github.com/Microsoft/ChakraCore/pull/1254), I have a question about the host implementation:
What does "1. Load top level script " mean? I'm using JsRunScript to execute the script. does the "Load" means "serialize the script"? I tried to read the C++ source., but due to lack of C++ experience, still can't confirm my assumption.
It would be good to provide a JSRTApi call steps of how to implement the module supported hosting.
Thanks
|
[Clarify request] Question about support module loading in host
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4472/comments
| 2 |
2017-12-22T04:07:33Z
|
2018-01-03T01:23:41Z
|
https://github.com/chakra-core/ChakraCore/issues/4472
| 284,067,708 | 4,472 |
[
"chakra-core",
"ChakraCore"
] |
Below please find code that crashes the process when attempting to terminate the execution of scripts. This is a real scenario for a service that we are building.
```c#
using System;
using System.Threading.Tasks;
using System.Threading;
using ChakraHost.Hosting;
using System.Collections.Concurrent;
namespace ChakraStress
{
class Program
{
static void Main(string[] args)
{
ThreadPool.SetMinThreads(30, 30);
int stressThreadCount = 10;
for (var i = 0; i < stressThreadCount; i++)
{
(new Thread(new ThreadStart(StressThread))).Start();
}
Thread.Sleep(int.MaxValue);
}
private async static void StressThread()
{
int MAX_EXECUTION_TIME_MS = 10;
using (var startedSignal = new AutoResetEvent(false))
using (var completedSignal = new AutoResetEvent(false))
{
while (true)
{
var runtime = JavaScriptRuntime.Create(JavaScriptRuntimeAttributes.AllowScriptInterrupt, JavaScriptRuntimeVersion.Version11, null);
runtime.MemoryLimit = (UIntPtr)6400000;
var context = runtime.CreateContext();
var task = Task<string>.Run(() =>
{
using (new JavaScriptContext.Scope(context))
{
startedSignal.Set();
try
{
JavaScriptContext.RunScript("while(1);");
}
catch
{
}
}
completedSignal.Set();
});
startedSignal.WaitOne(100000);
if (await Task.WhenAny(task, Task.Delay(MAX_EXECUTION_TIME_MS)) != task)
{
runtime.Disabled = true;
if (!completedSignal.WaitOne(1000000))
{
Console.WriteLine("No signal");
}
else
{
//runtime.Disabled = false;
Console.Write(".");
}
}
else
{
Console.Write("r");
}
runtime.Dispose();
}
}
}
}
}
````
[ChakraStress.zip](https://github.com/Microsoft/ChakraCore/files/1585031/ChakraStress.zip)
|
Chakra terminates process under stress
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4454/comments
| 2 |
2017-12-20T18:10:17Z
|
2018-05-31T00:31:59Z
|
https://github.com/chakra-core/ChakraCore/issues/4454
| 283,650,563 | 4,454 |
[
"chakra-core",
"ChakraCore"
] |
The following code throws a RangeError in Edge and simply ignores the bad value in Firefox and Chrome.
```js
new Intl.Collator("en-US-u-kf-invalid")
```
We actually have a test _expecting_ this to throw, so it might have been part of an older version of the spec. Regardless, standardizing on the 2018-compliant version of ResolveLocale introduced in #4390 fixes this.
|
Intl: Invalid unicode option values cause RangeErrors
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4450/comments
| 3 |
2017-12-20T00:43:58Z
|
2018-02-15T01:12:27Z
|
https://github.com/chakra-core/ChakraCore/issues/4450
| 283,414,795 | 4,450 |
[
"chakra-core",
"ChakraCore"
] |
I've used 'compile_clang.sh' as a stand alone installer of clang 5, and have 'Warning':
`WARNING: 'makeinfo' is missing on your system.`
and bunch of Errors similar to that:
```
make[3]: *** [install-recursive] Error 1
make[3]: Leaving directory `/home/linuxdev/clang_5/cc-toolchain/src/lto_utils/binutils_compile/bfd'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/home/linuxdev/clang_5/cc-toolchain/src/lto_utils/binutils_compile/bfd'
make[1]: *** [install-bfd] Error 2
make[1]: Leaving directory `/home/linuxdev/clang_5/cc-toolchain/src/lto_utils/binutils_compile'
make: *** [install] Error 2
+ '[' 2 '!=' 0 ']'
```
`sudo apt-get install texinfo` -- solved that.
Can you please add it to script?
|
tools/compile_clang.sh : 'makeinfo' is missing on your system.
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4437/comments
| 2 |
2017-12-18T19:48:32Z
|
2017-12-19T15:42:29Z
|
https://github.com/chakra-core/ChakraCore/issues/4437
| 282,999,297 | 4,437 |
[
"chakra-core",
"ChakraCore"
] |
This is currently only impacting the #4390
|
TTD does not account for ObjectArrays in standard library functions
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4435/comments
| 3 |
2017-12-18T17:18:10Z
|
2018-02-15T01:12:27Z
|
https://github.com/chakra-core/ChakraCore/issues/4435
| 282,956,246 | 4,435 |
[
"chakra-core",
"ChakraCore"
] |
The linux 1.7.5 linux release located on this page:
https://github.com/Microsoft/ChakraCore/releases/tag/v1.7.5
Seems to be missing the /lib/libChakraCore.so file which has been present on previous releases.
|
ChakraCore 1.7.5 Release Package for linux missing .so file.
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4434/comments
| 1 |
2017-12-18T01:35:11Z
|
2017-12-18T04:39:09Z
|
https://github.com/chakra-core/ChakraCore/issues/4434
| 282,742,881 | 4,434 |
[
"chakra-core",
"ChakraCore"
] |
I'm disabling these tests in ASAN runs in PR #4424. The leaks generally happen in NumberFormatter-related code.
|
ASAN: Intl changes cause memory leaks in master on a number of tests.
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4425/comments
| 0 |
2017-12-14T00:46:59Z
|
2018-03-01T21:07:21Z
|
https://github.com/chakra-core/ChakraCore/issues/4425
| 281,946,227 | 4,425 |
[
"chakra-core",
"ChakraCore"
] |
Edge console:
5e-7.toExponential (5)
result
"4.00000e-7"
should be
"5.00000e-7"
Microsoft Edge 41.16299.15.0
Microsoft EdgeHTML 16.16299
|
Bug in the javascript toExponential function
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4421/comments
| 3 |
2017-12-13T17:50:36Z
|
2017-12-19T18:23:23Z
|
https://github.com/chakra-core/ChakraCore/issues/4421
| 281,839,623 | 4,421 |
[
"chakra-core",
"ChakraCore"
] |
This may be an issue of needing to have the recycler properly clean everything up before closing ch.
```
[1910/1928 5.87] Failed -> wasm/params.js
/home/demorri/ChakraCore/out/Debug/ch -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -maxInterpretCount:1 -maxSimpleJitRunCount:1 -bgjit- -dynamicprofilecache:profile.dpl.2712 -wasm -EnableFatalErrorOnOOM- -args 14000 -endargs /home/demorri/ChakraCore/test/wasm/params.js
Output:
----------------------------
Test(14000)
Module is invalid
=================================================================
==17313==ERROR: LeakSanitizer: detected memory leaks
Direct leak of 258796 byte(s) in 1 object(s) allocated from:
#0 0x5576295570f8 in __interceptor_malloc (/home/demorri/ChakraCore/out/Debug/ch+0xcbc0f8)
#1 0x55762963b7e7 in CorUnix::InternalMalloc(unsigned long) /home/demorri/ChakraCore/pal/src/cruntime/malloc.cpp:114:20
#2 0x55762963b7b4 in PAL_malloc /home/demorri/ChakraCore/pal/src/cruntime/malloc.cpp:98:12
#3 0x55762b327133 in Js::ArrayBuffer::ArrayBuffer<void* (*)(unsigned long)>(unsigned int, Js::DynamicType*, void* (*)(unsigned long)) /home/demorri/ChakraCore/lib/Runtime/Library/ArrayBuffer.cpp:606:33
#4 0x55762b320f6f in Js::JavascriptArrayBuffer::JavascriptArrayBuffer(unsigned int, Js::DynamicType*) /home/demorri/ChakraCore/lib/Runtime/Library/ArrayBuffer.cpp:673:9
#5 0x55762b3212fb in Js::JavascriptArrayBuffer::Create(unsigned int, Js::DynamicType*) /home/demorri/ChakraCore/lib/Runtime/Library/ArrayBuffer.cpp:688:41
#6 0x55762b58f4c4 in Js::JavascriptLibrary::CreateArrayBuffer(unsigned int) /home/demorri/ChakraCore/lib/Runtime/Library/JavascriptLibrary.cpp:6489:28
#7 0x55762bb3fbaa in Js::CreateBuffer(unsigned char const*, unsigned int, void*) /home/demorri/ChakraCore/lib/Runtime/Library/WabtInterface.cpp:99:66
#8 0x55762c25e5eb in create_module(ChakraWabt::Context*, wabt::Module const*, bool) /home/demorri/ChakraCore/lib/wabt/chakra/wabtapi.cc:279:12
#9 0x55762c260be5 in ChakraWabt::ConvertWast2Wasm(ChakraWabt::ChakraContext&, char*, unsigned int, bool) /home/demorri/ChakraCore/lib/wabt/chakra/wabtapi.cc:510:16
#10 0x55762bb41182 in Js::WabtInterface::EntryConvertWast2Wasm(Js::RecyclableObject*, Js::CallInfo, ...) /home/demorri/ChakraCore/lib/Runtime/Library/WabtInterface.cpp:166:24
#11 0x55762bb41f8d in amd64_CallFunction /home/demorri/ChakraCore/lib/Runtime/Library/amd64/JavascriptFunctionA.S:100
#12 0x55762b53786f in void* Js::JavascriptFunction::CallFunction<true>(Js::RecyclableObject*, void* (*)(Js::RecyclableObject*, Js::CallInfo, ...), Js::Arguments, bool) /home/demorri/ChakraCore/lib/Runtime/Library/JavascriptFunction.cpp:1310:16
#13 0x55762b06d07d in void Js::InterpreterStackFrame::OP_CallCommon<Js::OpLayoutDynamicProfile<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > > >(Js::OpLayoutDynamicProfile<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > > const*, Js::RecyclableObject*, unsigned int, Js::AuxArray<unsigned int> const*) /home/demorri/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:3885:50
#14 0x55762b06c2e2 in void Js::InterpreterStackFrame::OP_ProfileCallCommon<Js::OpLayoutDynamicProfile<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > > >(Js::OpLayoutDynamicProfile<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > > const*, Js::RecyclableObject*, unsigned int, unsigned short, unsigned int, Js::AuxArray<unsigned int> const*) /home/demorri/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:3909:9
#15 0x55762afbef61 in void Js::InterpreterStackFrame::OP_ProfiledCallIWithICIndex<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > >(Js::OpLayoutDynamicProfile<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > > const*) /home/demorri/ChakraCore/lib/Runtime/./Language/InterpreterStackFrame.h:499:115
#16 0x55762ab98f0b in Js::InterpreterStackFrame::ProcessProfiled() /home/demorri/ChakraCore/lib/Runtime/Language/InterpreterHandler.inl:87:3
#17 0x55762aa70c9b in Js::InterpreterStackFrame::Process() /home/demorri/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:3384:20
#18 0x55762aa6ed8c in Js::InterpreterStackFrame::InterpreterHelper(Js::ScriptFunction*, Js::ArgumentReader, void*, void*, Js::InterpreterStackFrame::AsmJsReturnStruct*) /home/demorri/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:2002:40
#19 0x55762aa6c383 in Js::InterpreterStackFrame::InterpreterThunk(Js::JavascriptCallStackLayout*) /home/demorri/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:1733:16
#20 0x7f80fd400f99 (<unknown module>)
#21 0x55762bb41f8d in amd64_CallFunction /home/demorri/ChakraCore/lib/Runtime/Library/amd64/JavascriptFunctionA.S:100
#22 0x55762b53786f in void* Js::JavascriptFunction::CallFunction<true>(Js::RecyclableObject*, void* (*)(Js::RecyclableObject*, Js::CallInfo, ...), Js::Arguments, bool) /home/demorri/ChakraCore/lib/Runtime/Library/JavascriptFunction.cpp:1310:16
#23 0x55762b06d07d in void Js::InterpreterStackFrame::OP_CallCommon<Js::OpLayoutDynamicProfile<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > > >(Js::OpLayoutDynamicProfile<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > > const*, Js::RecyclableObject*, unsigned int, Js::AuxArray<unsigned int> const*) /home/demorri/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:3885:50
#24 0x55762b06c2e2 in void Js::InterpreterStackFrame::OP_ProfileCallCommon<Js::OpLayoutDynamicProfile<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > > >(Js::OpLayoutDynamicProfile<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > > const*, Js::RecyclableObject*, unsigned int, unsigned short, unsigned int, Js::AuxArray<unsigned int> const*) /home/demorri/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:3909:9
#25 0x55762afbef61 in void Js::InterpreterStackFrame::OP_ProfiledCallIWithICIndex<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > >(Js::OpLayoutDynamicProfile<Js::OpLayoutT_CallIWithICIndex<Js::LayoutSizePolicy<(Js::LayoutSize)0> > > const*) /home/demorri/ChakraCore/lib/Runtime/./Language/InterpreterStackFrame.h:499:115
#26 0x55762ab98f0b in Js::InterpreterStackFrame::ProcessProfiled() /home/demorri/ChakraCore/lib/Runtime/Language/InterpreterHandler.inl:87:3
#27 0x55762aa70c9b in Js::InterpreterStackFrame::Process() /home/demorri/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:3384:20
#28 0x55762aa6ed8c in Js::InterpreterStackFrame::InterpreterHelper(Js::ScriptFunction*, Js::ArgumentReader, void*, void*, Js::InterpreterStackFrame::AsmJsReturnStruct*) /home/demorri/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:2002:40
#29 0x55762aa6c383 in Js::InterpreterStackFrame::InterpreterThunk(Js::JavascriptCallStackLayout*) /home/demorri/ChakraCore/lib/Runtime/Language/InterpreterStackFrame.cpp:1733:16
SUMMARY: AddressSanitizer: 258796 byte(s) leaked in 1 allocation(s).
----------------------------
exit code: 1
```
|
ASAN: We can leak ArrayBuffers in WASM code when failing module construction
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4417/comments
| 0 |
2017-12-13T01:32:16Z
|
2019-06-07T19:08:11Z
|
https://github.com/chakra-core/ChakraCore/issues/4417
| 281,595,204 | 4,417 |
[
"chakra-core",
"ChakraCore"
] |
Seen in rolling build
https://ci.dot.net/job/Microsoft_ChakraCore/job/master/job/x64_debug/1418/console
```
interpreted\rl.results.log:wasm.simd (comparisonTests.js ( -wasm -wasmsimd) exe) -- failed : exec time=1
```
|
Test: [x64_debug] wasm.simd (comparisonTests.js) failure
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4415/comments
| 3 |
2017-12-12T23:58:19Z
|
2017-12-13T02:19:10Z
|
https://github.com/chakra-core/ChakraCore/issues/4415
| 281,579,384 | 4,415 |
[
"chakra-core",
"ChakraCore"
] |
Seen in: https://github.com/Microsoft/ChakraCore/pull/4409
https://ci2.dot.net/job/Microsoft_ChakraCore/job/release_1.8/job/shared_ubuntu_linux_debug_prtest/248/consoleFull#-3969678191145e095-857e-4c41-a4bc-0e4be44ef5c5
```
[2140/2141 2.70] Failed -> wasm/params.js
00:14:08.685 /mnt/j/w/Microsoft_ChakraCore/release_1.8/shared_ubuntu_linux_debug_prtest/out/Debug/ch -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -maxInterpretCount:1 -maxSimpleJitRunCount:1 -bgjit- -dynamicprofilecache:profile.dpl.2712 -wasm -EnableFatalErrorOnOOM- -args 14000 -endargs /mnt/j/w/Microsoft_ChakraCore/release_1.8/shared_ubuntu_linux_debug_prtest/test/wasm/params.js
```
|
Test: wasm/params.js flaky failure
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4414/comments
| 4 |
2017-12-12T23:57:16Z
|
2018-01-11T20:36:07Z
|
https://github.com/chakra-core/ChakraCore/issues/4414
| 281,579,181 | 4,414 |
[
"chakra-core",
"ChakraCore"
] |
null characters (`\0`, byte `0x00`) can be embedded in JS strings and should not be treated as null terminators in JS semantics.
```
>eshost --tags web -itse "'abc\0def'"
## Source
print('abc\0def')
┌─────┬─────────┐
│ d8 │ abc def │
├─────┼─────────┤
│ ch │ abc │
│ jsc │ │
│ sm │ │
└─────┴─────────┘
```
Our affected output functions are `print`, `console.log` and `WScript.Echo` which are all aliases for the same native entry point (`EchoCallback`):
```
>git grep EchoCallback
bin/ch/WScriptJsrt.cpp:JsValueRef __stdcall WScriptJsrt::EchoCallback(JsValueRef callee, bool isConstructCall, JsValueRef *arguments, unsigned short argumentCount, void *callbackState)
bin/ch/WScriptJsrt.cpp: IfFalseGo(WScriptJsrt::InstallObjectsOnObject(wscript, "Echo", EchoCallback));
bin/ch/WScriptJsrt.cpp: IfFalseGo(WScriptJsrt::InstallObjectsOnObject(global, "print", EchoCallback));
bin/ch/WScriptJsrt.cpp: IfFalseGo(WScriptJsrt::InstallObjectsOnObject(console, "log", EchoCallback));
bin/ch/WScriptJsrt.h: static JsValueRef CALLBACK EchoCallback(JsValueRef callee, bool isConstructCall, JsValueRef *arguments, unsigned short argumentCount, void *callbackState);
```
The various console hosts generally seem to have implemented `print`/`console.log` in a naive way.
The web browsers (Edge, Chrome, Firefox) implement `console.log` in a less naive way although how the null is displayed varies between browsers:
Edge: 'abcdef' (null byte not rendered / skipped over)
Chrome: 'abc def' (where the "space" that appears in the console is apparently a literal null byte which terminates the buffer copy/pasted in Windows clipboard operations)
Firefox: 'abc�def' (null byte displayed as [U+FFFD REPLACEMENT CHARACTER](http://www.fileformat.info/info/unicode/char/0fffd/index.htm))
d8 (console host) renders the null byte directly to console and we should, too.
We should implement special handling for the null (for example displaying it directly rather than letting wprintf stop printing at the apparent null terminator).
d8 displays the null directly (below) and the console converts it to a blank space 1 column wide (above):
```
000000e0: e294 80e2 9480 e294 a40a e294 8220 6438 ............. d8
000000f0: 2020 e294 8220 6162 6300 6465 6620 e294 ... abc.def ..
```
|
ch's output functions (print, etc) don't respect JS semantics for nulls embedded in strings
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4410/comments
| 1 |
2017-12-12T04:03:36Z
|
2018-03-27T05:15:25Z
|
https://github.com/chakra-core/ChakraCore/issues/4410
| 281,250,561 | 4,410 |
[
"chakra-core",
"ChakraCore"
] |
I've got a .NET service that runs small snippits of JavaScript. It needs to be super fast so I've pre-allocated a pool of chakra runtimes. I'm attempting to re-use the runtimes but after running a single threaded stress for a bit I encounter "Wrong thread" exception when attempting to set a newly created context on the runtime. I can clearly see from debug messages that the previous use of the runtime had completed.
Is this the best way to approach this problem? When attempting to run several scripts at the same time and keep them completely isolated is my idea of a pool of re-usable runtimes and new context for each request correct? What is the lifetime of a context? When does it get cleaned up? I'm also seeing out of memory exceptions from Chakra.
Should I just be creating brand new runtimes for each request?
Update: Rather than queue my runtime and reuse I just dispose it. Running 10 thread stress and see no issues. I don't see any perf impact by creating a new runtime for each request.
|
Server-side Chakra optimization
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4406/comments
| 5 |
2017-12-11T17:27:23Z
|
2017-12-20T18:06:03Z
|
https://github.com/chakra-core/ChakraCore/issues/4406
| 281,102,692 | 4,406 |
[
"chakra-core",
"ChakraCore"
] |
```
07:54:32 3> ch.exe -DumpOnCrash -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -forceNative -off:simpleJit -bgJitDelay:0 -dynamicprofileinput:profile.dpl.UnnamedTest62 -$262 D:\j\w\ci_dev12_x64_---276a6eb6\test\$262\$262test.js >D:\j\w\ci_dev12_x64_---276a6eb6\test\$262\testout2 2>&1
07:54:32 3>ERROR: name of output file: D:\j\w\ci_dev12_x64_---276a6eb6\test\$262\testout2; size: 152; creation: Fri Dec 08 07:45:55 2017, last access: Fri Dec 08 07:45:55 2017, now: Fri Dec 08 07:45:57 2017
07:54:32 3>ERROR: bad output file follows ============
07:54:32 3>test262/error Test262Error: Expected SameValue(«1ok», «0ok») to be true
07:54:32 3>test262/error Test262Error: Expected SameValue(«0ok», «1ok») to be true
```
Not sure whom this should be assigned. If no-one looks at, I will take a look after break.
|
Flaky test262/error on release/1.7 (Windows)
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4405/comments
| 1 |
2017-12-09T22:41:11Z
|
2018-01-02T23:08:17Z
|
https://github.com/chakra-core/ChakraCore/issues/4405
| 280,762,154 | 4,405 |
[
"chakra-core",
"ChakraCore"
] |
Please can this issue be fixed? Other browsers including Internet Explorer works pretty fine with respect to this Microsoft Edge error.
This bug is quite unpredictable. When you first load run the plunker on Microsoft Edge, it might work properly, while sometimes it doesn't. But just reload the page, first with a Major reload, and try if the problem appears, if it doesn't, then try the minor reload, (the one with the reload icon) and then the problem will appear. It's in inconsistent but persistent.
It works on Internet Explorer and other browsers but it seems to have some problems in Microsoft Edge
|
Microsoft Edge doesn't display nested elements properly when I dynamically remove the hidden attribute on the parent of the nested element.
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4397/comments
| 2 |
2017-12-08T16:02:58Z
|
2018-02-13T01:38:21Z
|
https://github.com/chakra-core/ChakraCore/issues/4397
| 280,536,003 | 4,397 |
[
"chakra-core",
"ChakraCore"
] |
When no-icu / icu / embed-icu arguments given in any combination, build ends up in linker error and the issue is not clear.
Prevent the combination of these arguments and failfast.
|
xplat: prevent no-icu / icu / embed-icu combinations
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4395/comments
| 1 |
2017-12-08T15:08:52Z
|
2019-06-07T18:37:28Z
|
https://github.com/chakra-core/ChakraCore/issues/4395
| 280,518,597 | 4,395 |
[
"chakra-core",
"ChakraCore"
] |
Building Chakra on macOS ≤ 10.12 resulted in `Symbol not found: _clock_gettime`
<img width="709" alt="screen shot 2017-12-07 at 10 31 32 pm" src="https://user-images.githubusercontent.com/18315/33727658-b499ce52-db9e-11e7-95b0-a9ed7f5f5fa1.png">
//cc @bterlson
|
Symbol not found: _clock_gettime
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4393/comments
| 1 |
2017-12-08T03:41:29Z
|
2018-01-04T00:08:56Z
|
https://github.com/chakra-core/ChakraCore/issues/4393
| 280,360,618 | 4,393 |
[
"chakra-core",
"ChakraCore"
] |
Sample:
```
<div id="editor" contenteditable="true" data-ckeditor="true"></div>
<div>
<input name="fieldControlId2" id="kid1" type="radio" checked="checked" value="1">
<input name="fieldControlId2" id="kid2" type="radio" value="2">
</div>
```
```
var root = document.getElementById('editor');
var kid1 = document.getElementById('kid1');
var kid2 = document.getElementById('kid2');
root.appendChild(kid1);
root.appendChild(kid2);
alert(root.innerHTML);
```
Notice the checked="checked" is no longer present.
JsFiddle: https://jsfiddle.net/svejdo1/tpghugv2/1/
Reproes both in EDGE/IE11.
|
After calling appendChild, checked nodes are no longer shown as checked using innerHTML property
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4380/comments
| 1 |
2017-12-05T21:21:11Z
|
2017-12-06T09:38:42Z
|
https://github.com/chakra-core/ChakraCore/issues/4380
| 279,534,944 | 4,380 |
[
"chakra-core",
"ChakraCore"
] |
This rss feed jQuery parsing code works in Chrome and Safari on an IPhone but inexplicably doubles the first item in Edge.
$.get("htps://themidpod.libsyn.com/rss", function (data) {
var $XML = $(data);
$XML.find("item").each(function (i) {
var $this = $(this),
item = {
title: $this.find("title").text(),
link: $this.find("enclosure").attr("url"),
description: $this.find("description").text(),
pubDate: $this.find("pubDate").text(),
...
};
var theTitle='`<h3>`' + item.title + '`</h3>`';
In the Edge debugger at this point item.title is already "The title goes hereThe title goes here".
Everything that follows is correct.
This can be seen at https://www.themidpod.com/listen. In Edge the title is doubled, in other browsers it is not.
Is this a known issue or something else I need to keep hunting for?
Thanks,
Michael Lasell
|
first item in jQuery XMLfind shows twice
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4369/comments
| 3 |
2017-12-03T21:39:12Z
|
2018-02-13T01:39:41Z
|
https://github.com/chakra-core/ChakraCore/issues/4369
| 278,822,975 | 4,369 |
[
"chakra-core",
"ChakraCore"
] |
See <https://tc39.github.io/ecma262/#sec-forbidden-extensions> (and https://bugs.ecmascript.org/show_bug.cgi?id=3157 for more background):
> The RegExp pattern grammars in 21.2.1 and B.1.4 must not be extended to recognize any of the source characters `A-Z` or `a-z` as `IdentityEscape[+U]` when the `[U]` grammar parameter is present.
Chakra incorrectly extends the grammar in this way, which is especially problematic for `\p` and `\P`:
```
$ eshost -e '/\p{Script_Extensions=Greek}/u.test("π")'
#### Chakra
false
#### JavaScriptCore
true
#### V8
true
```
This presents a compatibility risk. One might reasonably assume that if the above RegExp compiles without throwing an exception, the engine supports [Unicode property escapes](https://github.com/tc39/proposal-regexp-unicode-property-escapes), and then rely on the results that it produces. With the current behavior, that would result in incorrect results.
Any of the following should throw an exception:
```js
/\p/u;
/\P/u;
/\a/u;
/\A/u;
/\e/u;
/\E/u;
/\y/u;
/\Y/u;
/\z/u;
/\Z/u;
```
And this should throw an exception until Unicode property escapes are implemented:
```js
/\p{Script_Extensions=Greek}/;
/\P{Script_Extensions=Greek}/;
```
|
Forbidden extension in RegExp pattern grammar
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4368/comments
| 0 |
2017-12-03T20:49:18Z
|
2018-02-02T23:09:21Z
|
https://github.com/chakra-core/ChakraCore/issues/4368
| 278,818,629 | 4,368 |
[
"chakra-core",
"ChakraCore"
] |
The [download archives](https://github.com/Microsoft/ChakraCore/releases) have an inconsistent structure on different platforms.
1. The macOS and Linux archives contain a `ChakraCoreFiles` folder which contains everything, including the `LICENSE` file.
1. The Windows archives, however, don’t contain this parent `ChakraCoreFiles` folder, and instead have all the files at the root of the archive. They also don’t include the `LICENSE` file.
cc @obastemur
|
Inconsistent download archives across platforms
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4367/comments
| 15 |
2017-12-03T03:15:25Z
|
2019-10-17T21:09:15Z
|
https://github.com/chakra-core/ChakraCore/issues/4367
| 278,740,219 | 4,367 |
[
"chakra-core",
"ChakraCore"
] |
When build chakra with /permissive-, the following failures found, "max" is not defined at the point of use. Either it need to include <stdlib.h> for the macro "max" or define max as a template.
Failures like:
D:\Chakra\src\lib\Common\DataStructures/BaseDictionary.h(884): error C2672: 'max': no matching overloaded function found
D:\Chakra\src\lib\Common\DataStructures/BaseDictionary.h(1409): note: see reference to class template instantiation 'JsUtil::BaseDictionary<TKey,TValue,TAllocator,SizePolicy,Comparer,Entry,Lock>' being compiled
D:\Chakra\src\lib\Common\DataStructures/BaseDictionary.h(1409): error C2784: 'const T &max(const Memory::NoWriteBarrierField<T> &,const Memory::NoWriteBarrierField<T> &)': could not deduce template argument for 'const Memory::NoWriteBarrierField<T> &' from 'int'
D:\Chakra\src\lib\Common\Memory/RecyclerPointers.h(528): note: see declaration of 'max'
D:\Chakra\src\lib\Common\DataStructures/BaseDictionary.h(1409): error C2784: 'const T &max(const T &,const Memory::NoWriteBarrierField<T> &)': could not deduce template argument for 'const Memory::NoWriteBarrierField<T> &' from 'int'
D:\Chakra\src\lib\Common\Memory/RecyclerPointers.h(525): note: see declaration of 'max'
D:\Chakra\src\lib\Common\DataStructures/BaseDictionary.h(1409): error C2784: 'const T &max(const Memory::NoWriteBarrierField<T> &,const T &)': could not deduce template argument for 'const Memory::NoWriteBarrierField<T> &' from 'int'
D:\Chakra\src\lib\Common\Memory/RecyclerPointers.h(521): note: see declaration of 'max'
|
Issues found when building Chakra with MSVC + /permissive-
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4360/comments
| 2 |
2017-12-01T10:00:21Z
|
2017-12-05T22:11:19Z
|
https://github.com/chakra-core/ChakraCore/issues/4360
| 278,414,357 | 4,360 |
[
"chakra-core",
"ChakraCore"
] |
Open the following codepen with MS Edge (38.14393.1066.0):
https://codepen.io/asapach/pen/MOZyRp?editors=1012
And get the FAILED result:
```html
<strong>FAILED</strong>
```
And then compare results in Chrome, FireFox:
```html
<span>PASSED</span>
```
|
TreeWalker API issue
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4358/comments
| 3 |
2017-11-30T23:10:34Z
|
2017-12-01T22:59:54Z
|
https://github.com/chakra-core/ChakraCore/issues/4358
| 278,302,434 | 4,358 |
[
"chakra-core",
"ChakraCore"
] |
I wrote the following test case (which could go in ES6ArrayApi.js), and `copyWithin` fails to throw where expected.
```javascript
{
name: "Array.copyWithin() should respect overridden `length` property on TypedArray instance",
body: function () {
var x = new Int32Array([1,2,3]);
Object.defineProperty(x, "length", { value: 4 });
assert.throws(function() { Array.prototype.copyWithin.call(x, 1, 2); }, TypeError,
"We should get a TypeError when trying to delete an item of TypedArray");
assert.areEqual("1,3,3,", Array.prototype.join.call(x, ","),
"We should have already modified previous items before throwing");
x[1] = 2;
Object.setPrototypeOf(x, { "3": 5 });
assert.throws(function() { Array.prototype.copyWithin.call(x, 1, 2); }, TypeError,
"We should still get a TypeError because [[HasProperty]] on an Integer Indexed Exotic Object returns false for out-of-bounds values");
assert.areEqual("1,3,3,", Array.prototype.join.call(x, ","),
"We should not read prototype properties of TypedArray by index");
x[2] = 4;
Int32Array.prototype.copyWithin.call(x, 0, 1);
assert.areEqual("3,4,4,", Array.prototype.join.call(x, ","),
"TypedArray copyWithin ignores overridden length property and uses internal [[ArrayLength]]");
}
},
```
It seems that the issue stems from the fact that several places in `JavascriptArray::CopyWithinHelper` call `OP_DeleteElementI` or `DeleteItem` but don't wrap the call in a `ThrowTypeErrorOnFailure`.
This bug is possible because correct usage of `PropertyOperation_ThrowOnDeleteIfNotConfig` is super confusing: it looks like it should make `DeleteItem` throw, but it doesn't. Either we should remove that enum value or we should update `DeleteItem` and friends respect it.
|
Array.prototype.copyWithin should throw when trying to delete a non-configurable property
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4356/comments
| 2 |
2017-11-30T18:12:35Z
|
2018-03-09T20:18:26Z
|
https://github.com/chakra-core/ChakraCore/issues/4356
| 278,218,641 | 4,356 |
[
"chakra-core",
"ChakraCore"
] |
this crash is seen around 1k times in 72hrs for a public Xbox app.
Exception occurs on Xbox RS3 images, seen on Xbox one, one S and one X.
**Exception:**
stowed_exception_delegate_800a138f_chakra.dll!__cunknownimpl_method0
**Stack:**
Frame Image Function Offset
0 Chakra.dll
[5e99c4be-334b-4a3b-b713-aac84d0dd1df.ext.zip](https://github.com/Microsoft/ChakraCore/files/1514246/5e99c4be-334b-4a3b-b713-aac84d0dd1df.ext.zip)
__CUnknownImpl_Method0 0x0000000000000000
|
Exception seen in Xbox app: stowed_exception_delegate_800a138f_chakra.dll!__cunknownimpl_method0
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4344/comments
| 3 |
2017-11-29T15:14:33Z
|
2017-11-30T16:22:09Z
|
https://github.com/chakra-core/ChakraCore/issues/4344
| 277,791,286 | 4,344 |
[
"chakra-core",
"ChakraCore"
] |
See https://github.com/Microsoft/vscode

We used to have the MIT License automatically detected in our repo, and now it is not.

It seems their automatic detection algorithm may have changed. It could be the case that our license differs enough from the basic MIT License template that it now cannot be detected.
Compare vscode's License with ours:
https://github.com/Microsoft/vscode/blob/master/LICENSE.txt
https://github.com/Microsoft/ChakraCore/blob/master/LICENSE.txt
Possible issues:
* name of project appears on [line 1](https://github.com/Microsoft/ChakraCore/blob/master/LICENSE.txt#L1) instead of `MIT License`.
* [Line 2](https://github.com/Microsoft/ChakraCore/blob/master/LICENSE.txt#L2) reads `The MIT License (MIT)` / compare with [vscode line 1](https://github.com/Microsoft/vscode/blob/master/LICENSE.txt#L1) `MIT License`
* [Line 4](https://github.com/Microsoft/ChakraCore/blob/master/LICENSE.txt#L4) does not include a copyright year.
|
MIT License no longer automatically detected
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4340/comments
| 1 |
2017-11-28T22:04:56Z
|
2017-11-29T02:00:26Z
|
https://github.com/chakra-core/ChakraCore/issues/4340
| 277,554,655 | 4,340 |
[
"chakra-core",
"ChakraCore"
] |
After a recent change in master, node-chakracore started failing a test with this snippet of code:
```js
const onentryFunction = opt => {
const onentry = opt.onentry
opt.onentry = onentry ? e => {
onentry(e)
e.resume()
} : e => e.resume()
}
```
In particular, it complained about the `:` in the ternary:
```
} : e => e.resume()
^^
SyntaxError: Expected ';'
```
|
Lambda functions have issues inside ternary statements
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4338/comments
| 1 |
2017-11-28T19:44:42Z
|
2017-11-28T21:52:22Z
|
https://github.com/chakra-core/ChakraCore/issues/4338
| 277,514,106 | 4,338 |
[
"chakra-core",
"ChakraCore"
] |
All engines (at least for machines on `en-us` locales which I tested on, not sure if there's any difference between locales for non-Intl Date parsing across any engines) parse ##/##/## as mm/dd/yy (the `en-us` short date convention).
If you try to write a date as dd/mm/yy using large values (not ambiguous), it still doesn't switch parsing over to dd/mm/yy (which is a good thing as logic for that would be very confusing), but every engine except for ChakraCore treats the first number as a month out of range and parses the date as `NaN` (out of range) which toString's to "Invalid Date".
ChakraCore apparently just adds that number of months to the date, changing 31/12/50 into 7/12/52.
My reading of the spec is that this date should be parsed as NaN:
https://tc39.github.io/ecma262/#sec-date-year-month-date-hours-minutes-seconds-ms
* Let finalDate be MakeDate(MakeDay(yr, m, dt), MakeTime(h, min, s, milli)).
https://tc39.github.io/ecma262/#sec-makeday
* Find a value t such that YearFromTime(t) is ym and MonthFromTime(t) is mn and DateFromTime(t) is 1; but if this is not possible (because some argument is out of range), return NaN.
* See https://tc39.github.io/ecma262/#eqn-MonthFromTime ( => not possible because out of range)
```
>eshost --tags web -itse "new Date('12/31/50')"
## Source
print(new Date('12/31/50'))
┌─────┬───────────────────────────────────────────────────────────┐
│ ch │ Sun Dec 31 1950 00:00:00 GMT-0800 (Pacific Standard Time) │
│ d8 │ │
│ jsc │ │
│ sm │ │
└─────┴───────────────────────────────────────────────────────────┘
eshost --tags web -itse "new Date('31/12/50')"
## Source
print(new Date('31/12/50'))
┌─────┬───────────────────────────────────────────────────────────┐
│ d8 │ Invalid Date │
│ jsc │ │
│ sm │ │
├─────┼───────────────────────────────────────────────────────────┤
│ ch │ Sat Jul 12 1952 00:00:00 GMT-0700 (Pacific Daylight Time) │
└─────┴───────────────────────────────────────────────────────────┘
>eshost --tags web -itse "new Date('31/12/50').valueOf()"
## Source
print(new Date('31/12/50').valueOf())
┌─────┬───────────────┐
│ d8 │ NaN │
│ jsc │ │
│ sm │ │
├─────┼───────────────┤
│ ch │ -551379600000 │
└─────┴───────────────┘
```
/cc @xiaoyinl @bterlson
|
Date parsing of mm/dd/yy incompatible with other engines
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4329/comments
| 6 |
2017-11-27T20:30:00Z
|
2017-12-19T17:49:13Z
|
https://github.com/chakra-core/ChakraCore/issues/4329
| 277,158,531 | 4,329 |
[
"chakra-core",
"ChakraCore"
] |
Building 1.7 or 1.8 from the source results in a large number of duplicate symbol errors, appearing to arise because instances of a const int are created in a header file that is included in multiple source files. This is apparently tried to be mitigated by using a __declspec(selectany) construct to only link one of them, but this construct does not seem to work in Clang 5 on Linux. While this may be a bug in the compiler, at the end of the day, it seems that there could still be workarounds to this which are less problematic.
Attached to this is a diff, which I would propose as a solution to the issue. There are two components to the fix. The first is to fix the ShiftValue in BVUnitT so that it did not complain about multiple definitions, and the second part is to change how MachPtr is defined in the architecture-dependent md.h file. In particular, the const int construct is removed, and both replaced with enums, which can be evaluated at compile time. Then, a template specialized constexpr function is used to specialize the value of ShiftValue, a regular global integer value is created in one source file to hold a duplicate of MachPtr that can be accessed externally, and the preprocessor is used to redirect access to what would otherwise be an extern const int to the global variable, so the change is transparent to everything else.
[chakracore.txt](https://github.com/Microsoft/ChakraCore/files/1506479/chakracore.txt)
|
Chakracore not building with clang 5.0 on Linux
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4327/comments
| 8 |
2017-11-27T15:52:10Z
|
2017-12-04T17:11:14Z
|
https://github.com/chakra-core/ChakraCore/issues/4327
| 277,066,859 | 4,327 |
[
"chakra-core",
"ChakraCore"
] |
If someone had some spare time would it be possible to get a little rundown on the steps involved or even a simple hello world example on implementing ES6 modules when embedding ChakraCore in my own application please?
I'm completely new to the codebase so I've been spending a lot of time studying ch but a quick rundown on this would be extremely helpful.
Thanks a lot.
|
Steps needed for es6 modules embedding ChakraCore
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4324/comments
| 4 |
2017-11-26T23:32:15Z
|
2017-11-29T01:33:46Z
|
https://github.com/chakra-core/ChakraCore/issues/4324
| 276,867,317 | 4,324 |
[
"chakra-core",
"ChakraCore"
] |
Suppose I'm making a C++ app and embedding ChakraCore and I want to execute some pre-compiled webassembly, is this supported? And what would be the api I would need to call for that if so?
To start with lets just assume I'm doing a straight copy [this example app.](https://github.com/Microsoft/Chakra-Samples/blob/master/ChakraCore%20Samples/Hello%20World/Windows/C%2B%2B/HelloWorld/HelloWorld.cpp#L16)
And on that highlighted line instead of using javascript I am reading webasm from a file. And suppose I am using this to compile to webassembly:
https://www.npmjs.com/package/binaryen
What I'm wondering is if there is a `JsRunWebAsm` [instead of `JsRunScript`](https://github.com/Microsoft/Chakra-Samples/blob/master/ChakraCore%20Samples/Hello%20World/Windows/C%2B%2B/HelloWorld/HelloWorld.cpp#L28)
|
Can I run webasm with ChakraCore?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4323/comments
| 5 |
2017-11-26T14:50:10Z
|
2017-11-28T22:34:02Z
|
https://github.com/chakra-core/ChakraCore/issues/4323
| 276,830,149 | 4,323 |
[
"chakra-core",
"ChakraCore"
] |
Following the embedding [guide in the wiki](https://github.com/Microsoft/ChakraCore/wiki/Embedding-ChakraCore) I was getting errors caused by an undefined identifier `uint16_t` in `CharkraCore.h` caused by a missing header.
Including `inttypes.h` or `stdint.h` fixed the issue. Not sure if this was a problem on my end but thought I'd make a issue anyway.
Thanks.
|
undefined identifier uint16_t - ChakraCore.h
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4320/comments
| 5 |
2017-11-23T10:16:55Z
|
2017-11-24T12:14:27Z
|
https://github.com/chakra-core/ChakraCore/issues/4320
| 276,322,215 | 4,320 |
[
"chakra-core",
"ChakraCore"
] |
It's an unused broken flag. We better remove it from the code and test cases. Long story short, if JIT is enabled, it's also enabled for Debugger and there is no another supported option.
|
Remove EnableJitInDiagMode from the code
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4311/comments
| 13 |
2017-11-22T07:02:07Z
|
2020-12-05T16:45:07Z
|
https://github.com/chakra-core/ChakraCore/issues/4311
| 275,963,653 | 4,311 |
[
"chakra-core",
"ChakraCore"
] |
code can be run with windows . but if I publish to linux
use
```
dotnet publish -r ubuntu.16.04-x64 .\IdentityClinet.csproj
```
it will be error bellow
```
Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'ChakraCore.dll': The specified module or one of its dependencies could not be found.
(Exception from HRESULT: 0x8007007E)
at ChakraHost.Hosting.Native.JsCreateRuntime(JavaScriptRuntimeAttributes attributes, JavaScriptThreadServiceCallback threadService, JavaScriptRuntime& runtime)
at ChakraCore.Chakra.Run() in /root/ziggle/cpppp/ChakraCore/Chakra.cs:line 20
at IdentityClinet.Program.Main(String[] args) in /root/ziggle/cpppp/ConsoleApp3/Program.cs:line 14
```
this is the .csproj file
```
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<RuntimeIdentifiers>win10-x64;ubuntu.16.04-x64</RuntimeIdentifiers>
<TargetFramework>netcoreapp2.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="IdentityModel" Version="2.16.0" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\ChakraCore\ChakraCore.csproj" />
</ItemGroup>
</Project>
```
|
can chakracore.dll run on linux with dotnet core 2.0 ?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4309/comments
| 2 |
2017-11-22T05:38:09Z
|
2017-11-29T01:35:59Z
|
https://github.com/chakra-core/ChakraCore/issues/4309
| 275,950,381 | 4,309 |
[
"chakra-core",
"ChakraCore"
] |
CCRobot -> found this an hour ago;
```
[722/2177 0.01] Failed -> Intl/Basics.js
/home/helixbot/dotnetbuild/work/a58140e9-1d6b-4396-aa94-1932183cb26f/Work/ea4c5ec4-9eff-4667-abd4-3d5253637b3d/Exec/ChakraCore/out/Test/ch -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -maxInterpretCount:1 -maxSimpleJitRunCount:1 -bgjit- -dynamicprofilecache:profile.dpl.978 -args summary -endargs /home/helixbot/dotnetbuild/work/a58140e9-1d6b-4396-aa94-1932183cb26f/Work/ea4c5ec4-9eff-4667-abd4-3d5253637b3d/Exec/ChakraCore/test/Intl/Basics.js
Output:
----------------------------
ReferenceError: Intl is not defined
at Global code (Basics.js:23:1)
----------------------------
exit code: 0
[723/2177 0.02] Failed -> Intl/DateTimeFormatInvalidOptions.js
../ChakraCore/out/Test/ch -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -maxInterpretCount:1 -maxSimpleJitRunCount:1 -bgjit- -dynamicprofilecache:profile.dpl.981 -args summary -endargs ../ChakraCore/test/Intl/DateTimeFormatInvalidOptions.js
Output:
----------------------------
*** Running test #1 (0): Test Invalid Options
Test threw exception: Incorrect exception was thrown.
FAILED
Summary of tests: total executed: 1; passed: 0; failed: 1
----------------------------
exit code: 0
[724/2177 0.03] Failed -> Intl/NumberFormat.js
../ChakraCore/out/Test/ch -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -maxInterpretCount:1 -maxSimpleJitRunCount:1 -bgjit- -dynamicprofilecache:profile.dpl.983 -args summary -endargs ../ChakraCore/test/Intl/NumberFormat.js
```
@jackhorton @MSLaguana FYI
|
xplat: Intl was exposed to slow running tests?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4303/comments
| 3 |
2017-11-22T01:38:12Z
|
2017-11-23T07:24:33Z
|
https://github.com/chakra-core/ChakraCore/issues/4303
| 275,916,814 | 4,303 |
[
"chakra-core",
"ChakraCore"
] |
@Cellule re: wasm
Failing wasm test; last passed on 10/17 (last passed build is kept, failed builds have been deleted since)
https://ci.dot.net/job/Microsoft_ChakraCore/job/master/job/daily_slow_x64_test/
https://ci.dot.net/job/Microsoft_ChakraCore/job/master/job/daily_slow_x64_test/283/consoleFull#15104947311cc35259-6d54-4e16-9d69-4ce905c34543
https://github.com/Microsoft/ChakraCore/wiki/Build-Status#builds-with-slow-tests
```
00:07:36.273 4>ERROR: Test failed to run correctly: pass not found in output file ():
00:07:36.273 4> ch.exe -WERExceptionSupport -ExtendedErrorStackForTestHost -BaselineMode -maxInterpretCount:1 -maxSimpleJitRunCount:1 -bgjit- -dynamicprofilecache:profile.dpl.UnnamedTest2445 -wasm -args --no-verbose --start 12 -endargs D:\j\w\daily_slow_x6---4ab5e362\test\wasm\limits.js >D:\j\w\daily_slow_x6---4ab5e362\test\wasm\testout2270 2>&1
00:07:36.273 4>ERROR: name of output file: D:\j\w\daily_slow_x6---4ab5e362\test\wasm\testout2270; size: 347; creation: Tue Nov 21 06:18:40 2017, last access: Tue Nov 21 06:18:40 2017, now: Tue Nov 21 06:20:02 2017
00:07:36.273 4>ERROR: bad output file follows ============
00:07:36.273 4>*** Running test #12 (11): test max memory pages
00:07:36.273 4>Test threw exception: assert.throws failed: expected: CompileError, actual: TypeError: Wast Parsing error:1:10:
00:07:36.273 4>max pages (65537) must be <= (65536)
00:07:36.273 4>(module (memory 16385 65537))
00:07:36.273 4> ^ ^: Minimum memory size too big
00:07:36.273 4>FAILED
00:07:36.273 4>Summary of tests: total executed: 15; passed: 14; failed: 1
00:07:36.273 4>ERROR: end of bad output file ============
00:07:36.273 4>Summary: wasm had 45 tests; 1 failures
```
|
[daily_slow_x64_test] test wasm/limits.js failing (branches: master, 1.8)
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4302/comments
| 0 |
2017-11-22T01:06:01Z
|
2017-11-22T18:38:31Z
|
https://github.com/chakra-core/ChakraCore/issues/4302
| 275,911,702 | 4,302 |
[
"chakra-core",
"ChakraCore"
] |
In #4067, we've changed the format of Date.toUTCDate for negative years. After this change, some tests in DateParse2.js fail because `Date.parse()` isn't able to parse negative years in some cases, so these failing tests are disabled in #4067. They should be re-enabled (uncommented) after #4178 is fixed.
Ref: https://github.com/Microsoft/ChakraCore/pull/4067#issuecomment-346196337
|
Re-enable tests in DateParse2.js
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4300/comments
| 9 |
2017-11-21T23:54:40Z
|
2018-01-17T22:44:00Z
|
https://github.com/chakra-core/ChakraCore/issues/4300
| 275,899,872 | 4,300 |
[
"chakra-core",
"ChakraCore"
] |
I believe Page::CanAllocate (https://github.com/Microsoft/ChakraCore/blob/master/lib/Common/Memory/CustomHeap.h#L58) is wrong and can return true even if a page does not have sufficient space for allocations that correspond to targetBucket.
Page::CanAllocate searches for string of 1-bits (each corresponding to 128 bytes of free space) that is of length targetBucket + 1.
For comparison, see GetFreeIndexForPage (https://github.com/Microsoft/ChakraCore/blob/master/lib/Common/Memory/CustomHeap.h#L455), which first calculates the number of 1-bits as bytes / 128.
For example, let's assume you're calling Page::CanAllocate for bucket 3. Bucket 3 corresponds to allocations of size 1024 (see https://github.com/Microsoft/ChakraCore/blob/master/lib/Common/Memory/CustomHeap.cpp#L1101). 1024/128=8 so we should be searching for a sequence of 8 1-bits. However according to the current implementation of Page::CanAllocate we'll be only looking for a sequence of length 4.
I don't believe this has security impact for several reasons.
- Page::CanAllocate is currently only called from FindPageToSplit. FindPageToSplit finds a page in a greater bucket with enough free space to make allocations in a lower bucket. Due to, currently, allocation sizes all being power of 2, as soon as there is *any* free space in a page in a greater bucket, this means that this space is at least twice the size as space required for the allocations in the lower bucket.
- Even if FindPageToSplit returned a page with insufficient space, GetFreeIndexForPage is going to be called before making an actual allocation, and if it fails the allocation is going to fail.
However, the impact might change with future changes to CustomHeap.
|
Bug in Page::CanAllocate
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4287/comments
| 0 |
2017-11-21T13:15:19Z
|
2018-08-02T03:37:19Z
|
https://github.com/chakra-core/ChakraCore/issues/4287
| 275,707,791 | 4,287 |
[
"chakra-core",
"ChakraCore"
] |
Recent changes, we have differences between ChakraCore JSRT docs and the actual implementation. (including the new API I have recently added)
[optional, bonus]
++ add more samples to https://github.com/Microsoft/Chakra-Samples/tree/master/ChakraCore%20Samples (move `sample.cpp` from this repo's test/native-tests/pick-a-sub-folder and add code comments)
EDIT: more detail and typos
|
jsrt: Help US to update documentation and samples
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4286/comments
| 4 |
2017-11-21T10:17:19Z
|
2017-12-05T16:04:56Z
|
https://github.com/chakra-core/ChakraCore/issues/4286
| 275,655,728 | 4,286 |
[
"chakra-core",
"ChakraCore"
] |
default ChakraCore size uses over 41.7mb size, can i make it smaller?
|
Build minimum size ChakraCore for embedding?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4278/comments
| 10 |
2017-11-18T05:25:49Z
|
2018-05-31T19:46:07Z
|
https://github.com/chakra-core/ChakraCore/issues/4278
| 275,055,024 | 4,278 |
[
"chakra-core",
"ChakraCore"
] |
hi,
as chakracore supports ES6, I suppose there's a "LoadMoudleScript" callback in JSRT. however I can't find it in the online document.
Can you guys please help me find out where's the module API?
Thanks
|
Where is the module support in JSRT?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4269/comments
| 3 |
2017-11-17T03:15:16Z
|
2017-11-22T01:51:32Z
|
https://github.com/chakra-core/ChakraCore/issues/4269
| 274,738,743 | 4,269 |
[
"chakra-core",
"ChakraCore"
] |
I just discovered and removed a control-C character that somehow managed to get into one of our source files. Can we add a Jenkins check for invalid chars, similar to (and possibly part of) the existing tab and EOL checks?
Candidate definition of the set of valid characters: U+000A and U+0020 through U+007E, inclusive. (That is, newline, space, and all of the printable ASCII characters.)
|
Jenkins CI should signal error if there are invalid characters (non-ASCII etc) in a source file
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4268/comments
| 13 |
2017-11-17T03:04:16Z
|
2018-09-04T20:48:31Z
|
https://github.com/chakra-core/ChakraCore/issues/4268
| 274,737,108 | 4,268 |
[
"chakra-core",
"ChakraCore"
] |
Hello,
The error as per title happens with the attached (zipped) HTML file under MS Edge (EdgeHTML versions 16, 15, 14) and IE 11.
It does not produce any error under Firefox or Chrome.
[bug_repro.zip](https://github.com/Microsoft/ChakraCore/files/1480817/bug_repro.zip)
I was not able to test using the pre-built ChakraCore binaries from the release page. I am posting here as indicated on MS Edge issue tracker page for JS language issues.
Best regards,
Geoffrey
|
SCRIPT5007: Unable to get property 'a' of undefined or null reference
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4266/comments
| 4 |
2017-11-17T01:48:44Z
|
2017-12-07T07:20:20Z
|
https://github.com/chakra-core/ChakraCore/issues/4266
| 274,725,281 | 4,266 |
[
"chakra-core",
"ChakraCore"
] |
Hello,
You have implemented the chrome debug protocol and it works without problem 👍
But this protocol is missing some features that are necessary to reach all debugger capacity.
I'm trying to debug a typescript project, but I can't without the addition of an `outFiles` property in vscode `launch.json` which is an unnecessary overhead (in my opinion)
We just need a new event callback which will be raised before the execution of each script including `eval` ones to be able to resolve sourcemaps, map the authored source, then set breakpoints to the script before starting execution.
I created an issue in vscode-chrome-debug-core https://github.com/Microsoft/vscode-chrome-debug-core/issues/255 : it is a nodejs app with 2 files which shows the problem.
It seems chromium isn't planning such an api, so I just ask if you want to enable such a feature in chakracore because you provide innovative debugger api like time travel debugging...
Thank you in advance for your help.
|
Chrome debug protocol missing api: beforeExecuting event
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4253/comments
| 5 |
2017-11-16T09:11:55Z
|
2017-11-17T19:11:22Z
|
https://github.com/chakra-core/ChakraCore/issues/4253
| 274,442,649 | 4,253 |
[
"chakra-core",
"ChakraCore"
] |
The following code segment in the ArenaAllocator.cpp file has a stack-use-after-scope bug.
` void **policy = &this->freeList;`
`#if DBG`
` if (needsDelayFreeList)`
` {`
` void *delayFreeList = reinterpret_cast<FreeObject **>(this->freeList) + (MaxSmallObjectSize >> ObjectAlignmentBitShift);`
` policy = &delayFreeList;`
` }`
`#endif`
` *policy = TFreeListPolicy::Free(*policy, buffer, size);`
|
stack-use-after-scope in ArenaAllocator.cpp (only Debug version)
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4237/comments
| 1 |
2017-11-15T08:50:02Z
|
2017-11-17T19:15:17Z
|
https://github.com/chakra-core/ChakraCore/issues/4237
| 274,077,487 | 4,237 |
[
"chakra-core",
"ChakraCore"
] |
We can specialize GetItem calls depending on type of array to avoid virtual calls and some checks (however we still need to check the type at each element to handle changes).
Follow-up item from https://github.com/Microsoft/ChakraCore/pull/4220#discussion_r150705955.
|
Stringify ReadArrayLength and ReadArrayElement can be faster with templatization
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4231/comments
| 0 |
2017-11-14T23:14:49Z
|
2017-11-15T04:17:11Z
|
https://github.com/chakra-core/ChakraCore/issues/4231
| 273,977,921 | 4,231 |
[
"chakra-core",
"ChakraCore"
] |
Building Chakra with MSVC + /permissive- failed with error C4596, the issue is in https://github.com/Microsoft/ChakraCore/blob/8d8cfe53bb111797ebdeb02c3343c1b9a53da067/lib/Runtime/Library/JavascriptLibrary.h#L1366.
Using full-qualified name to declare members inside class is ill-formed and incorrectly allowed by MSVC. MSVC now gives error when /permissive- is used. The fix is remove ‘JavascriptLibrary::’
Failure like:
d:\chakra\src\lib\runtime\Library/JavascriptLibrary.h(1366): error C4596: 'DefaultCreateFunction': illegal qualified name in member declaration
|
Issues found when building Chakra with MSVC + /permissive-
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4212/comments
| 0 |
2017-11-13T08:23:29Z
|
2017-11-22T02:58:33Z
|
https://github.com/chakra-core/ChakraCore/issues/4212
| 273,344,811 | 4,212 |
[
"chakra-core",
"ChakraCore"
] |
While reviewing PAGE_EXECUTE_RO_TARGETS_INVALID I saw that it includes PAGE_TARGETS_INVALID (assuming CFG is enabled of course) but not PAGE_TARGETS_NO_UPDATE.
From my understanding, PAGE_TARGETS_NO_UPDATE says that if a memory region (that was allocated with PAGE_TARGETS_INVALID) is remapped using VirtualProtect, then all locations become valid call targets for CFG - effectively disabling CFG protection.
I am thinking of Chakra primarily in the Edge use case. In Edge, Arbitrary Code Guard should prevent a memory section from ever being remapped. PAGE_TARGETS_NO_UPDATE only applied that situation so one could say that it either is not needed or that adding it is effectively a no-op. However, imagine if there were a vulnerability in ACG that _did_ allow a page to be remapped. In that instance, PAGE_TARGETS_NO_UPDATE _would_ prevent CFG from being disabled.
If I understand things correctly, it seems like (at least as far as Edge is concerned) there is no harm in adding it, and a small but non-zero chance it might help in an unlikely scenario.
|
Should PAGE_EXECUTE_RO_TARGETS_INVALID include PAGE_TARGETS_NO_UPDATE?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4211/comments
| 1 |
2017-11-13T06:53:19Z
|
2017-11-15T20:48:54Z
|
https://github.com/chakra-core/ChakraCore/issues/4211
| 273,327,142 | 4,211 |
[
"chakra-core",
"ChakraCore"
] |
Are there any plans to allow BSD or Linux cross-compile for Windows, using mingw-w64 or an LLVM/Clang cross-compiler?
|
cross-compile from BSD or Linux
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4210/comments
| 2 |
2017-11-11T16:50:22Z
|
2017-11-12T06:44:12Z
|
https://github.com/chakra-core/ChakraCore/issues/4210
| 273,158,673 | 4,210 |
[
"chakra-core",
"ChakraCore"
] |
Just saw we have this extra thread on mac-os. (from PAL). could be nice to remove / clean it up.
|
osx: cleanup SEHInitializeMachExceptions and everything related.
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4204/comments
| 1 |
2017-11-11T00:49:02Z
|
2018-03-17T00:33:22Z
|
https://github.com/chakra-core/ChakraCore/issues/4204
| 273,099,922 | 4,204 |
[
"chakra-core",
"ChakraCore"
] |
Script below performs 5 times slower.. (Example is reduced ObjectTemplate usage node-chakracore) The reason looks like the change of TypeHandler every time we `add`/`remove` a property to an object.
```
var obj = {
a:1,
b:'c',
c:false,
d:3.4,
e:[1,2,3]
};
var arr = ['a', 'b', 'c', 'd', 'e']
function QQ() {
var count = 0;
for(var o in obj) {
if (o != null){
count++;
}
}
return count;
}
var t = 0;
for(var i = 0; i < 1e6; i++)
{
var str = "e" + i;
obj[str] = i;
t += QQ()
t = t & 7;
delete(obj[str])
}
console.log(t)
```
|
perf: Is it possible to do `**TypeHandler::PromoteType` less?
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4186/comments
| 1 |
2017-11-09T17:36:55Z
|
2017-11-10T04:23:17Z
|
https://github.com/chakra-core/ChakraCore/issues/4186
| 272,655,376 | 4,186 |
[
"chakra-core",
"ChakraCore"
] |
As reported by @xiaoyinl in #4067:
> [Sec 20.3.3.2](https://tc39.github.io/ecma262/#sec-date.parse) requires `Date.parse` should be able to parse the values returned by `Date.toString()`, `Date.toUTCString()` and `Date.toISOString()` in each engine's own implementation. In ChakraCore, if the year is <100, `toString()` and `toUTCString()` don't pad the year to 4 digits, and thus `Date.parse` can't parse them.
Partially addressed in #4067
|
Date.parse should be able to parse output of Date.toString, Date.toUTCString, Date.toISOString
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4178/comments
| 0 |
2017-11-08T21:37:27Z
|
2018-01-17T22:43:59Z
|
https://github.com/chakra-core/ChakraCore/issues/4178
| 272,358,406 | 4,178 |
[
"chakra-core",
"ChakraCore"
] |
Is this API going to be supported in edge anytime soon? `getAll` seems to only return one occurrence.
https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/getAll
|
Problem with URLSearchParams
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4164/comments
| 1 |
2017-11-07T20:36:20Z
|
2017-11-07T23:10:12Z
|
https://github.com/chakra-core/ChakraCore/issues/4164
| 271,974,445 | 4,164 |
[
"chakra-core",
"ChakraCore"
] |
Steps to repro
- clone node-chakracore
```
git clone https://github.com/nodejs/node-chakracore nctest
```
- patch with chakracore master
```
cd nctest
rm -rf deps/chakrashim/core
cd deps/chakrashim
git clone https://github.com/microsoft/chakracore core
```
- patch with chakracore master node-chakracore fixes
```
cd core
git remote add obastemur https://github.com/obastemur/ChakraCore
git fetch obastemur
git cherry-pick 58527f139b3087c3c4fdf2d9d2e6f3603af8072f
git cherry-pick 80c857bbddb5d669156b0f250b3390d196a955a5
```
- build
```
cd ../../../
./configure
make -j4
```
- test
```
./node tools/eslint/bin/eslint.js --cache --rulesdir=tools/eslint-rules --ext=.js,.mjs,.md benchmark doc lib test tools
```
- output
```
Running JS linter...
make[2]: *** [lint-js] Segmentation fault: 11
```
- lldb output
```
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
frame #0: 0x0000000100a5978f node`Js::JavascriptString::Is(void*) + 47
node`Js::JavascriptString::Is:
-> 0x100a5978f <+47>: cmpl $0x7, (%rax)
0x100a59792 <+50>: sete %al
0x100a59795 <+53>: popq %rbp
0x100a59796 <+54>: retq
Target 0: (node) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=EXC_I386_GPFLT)
* frame #0: 0x0000000100a5978f node`Js::JavascriptString::Is(void*) + 47
frame #1: 0x00000001008f28a6 node`Js::IntlEngineInterfaceExtensionObject::EntryIntl_CompareString(Js::RecyclableObject*, Js::CallInfo, ...) + 118
frame #2: 0x0000000100a5bcd5 node`Js::JavascriptString::EntryLocaleCompare(Js::RecyclableObject*, Js::CallInfo, ...) + 261
```
p.s.: went back to `9f1bcd577854ac7dcda7f9aa499a629f181d4183` in the history but still the same. Due to build breaks one ncc, it's hard to track down.
|
node-chakracore segfault with latest master
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4161/comments
| 10 |
2017-11-07T14:22:04Z
|
2017-11-17T17:47:51Z
|
https://github.com/chakra-core/ChakraCore/issues/4161
| 271,848,246 | 4,161 |
[
"chakra-core",
"ChakraCore"
] |
```javascript
const async = function () {};
const foo = function () {};
const obj = {
async,
foo
};
```
throws an error:
```
Expected identifier, string or number
```
|
Can't parse shorthand property name (ES2015) in case if field name is 'async'
|
https://api.github.com/repos/chakra-core/ChakraCore/issues/4158/comments
| 3 |
2017-11-07T09:00:13Z
|
2018-01-08T19:14:55Z
|
https://github.com/chakra-core/ChakraCore/issues/4158
| 271,754,512 | 4,158 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.