Dmitry Volyntsev
Dmitry Volyntsev
t1.js ```js var p = new Promise(() => {throw new Error("Oops")}); async function f() { try { await p; } catch (e) { console.log(`Exception caught: ${e.message}`); } } f() ```...
Fixes #283, #266
Fixes #274
Simplified test case to reproduce: ```js function a() { return {}; } var d = new Date(); var o1 = new Proxy(d, {get: 0}); var o2 = new Proxy(d, o1);...
The code below triggers all the fixed code-paths. ```js function* f() { return []; } Array.from(f()); AggregateError(f()); Uint8Array.from(f()); Promise.race(f()); Promise.all(f()); Object.groupBy(f(), ({ type }) => type); [...f()] ```
This is an attempt to make version to be more versatile and more accessible to the C code. I am not sure about specific versioning numbers, I am also fine...
Current status: - Error handling in QuickJS is inconsistent across the codebase - Some areas implement error checks, while others do not This patch: - Enhances error checking in JS_SetPropertyFunctionList()...
This partially addresses #107.