ChakraCore
ChakraCore copied to clipboard
ChakraCore is an open source Javascript engine with a C API.
the following poc cause a assertion failure in "debug" build on ubuntu. ``` function main() { do { for (let v7 = 0; v7 != 0; v7++) { for (let...
I just pulled down the project and attempted to build the Debug x64 configuration with Visual Studio 2015 **2>C:\Dev\ChakraCore-master\lib\Runtime\Library\JavascriptArray.cpp(8938): error C2872: 'uint32_t': ambiguous symbol 2> C:\Program Files (x86)\Microsoft Visual Studio...
###### Version chakra-1.11.24.0 ###### Test case 1 ```js var foo = function() { var o = [1,2,3]; var a = [...o]; print(a); }; foo(); ``` ###### Execution steps 1 ./ChakraCore/out/Release/ch...
Version: 41ad58a9eebf8d52a83424c8fccfaacdb14105ec (2022//2/20 latest) OS: Linux Ubuntu 20.04.3 LTS Architecture: x64 ### **Poc:** function attach(f) { (function (r) { WScript.Attach(r); })(f); } async function mainTest(notAttachCall) { if (notAttachCall) { for...
When a `ReportModuleCompletionCallback` is set, the callback is called even for modules that fail to load due to a syntax error (an exception object is passed to the callback in...
Chakracore can't support some important nodejs module, like 'commonmark' and 'graphql' var reLinkLabel = /^\[(?:[^\\\[\]]|\\.){0,1000}\]/s; JavaScript failed to compile. SyntaxError: Syntax error in regular expression function KnownArgumentNamesRule(context) { return {...
**Background** The use of the full `arguments` object per spec in Javascript has various performance penalties. For this reason the CC Jit contains two different optimisations for it which seek...
the following poc cause a assertion failure in "debug" build on ubuntu. ``` const v6 = Array(4294967295); const v8 = v6["copyWithin"](); ```
Proposal https://github.com/tc39/proposal-array-grouping has reached stage 3 as of TC 39 meeting at December 2021. Also i want to implement this proposal.
the following poc cause a assertion failure in "debug" build on ubuntu. ``` const v3 = new Int32Array(65537); const v4 = "replace".localeCompare(...v3); ```