Sami Vaarala
Sami Vaarala
Also one thing to consider: should config/platforms/platform_cygwin.h.in define the OS string as "cygwin" rather than "windows"? If so, a POSIX/Cygwin build would identify as "mingw cygwin".
I happened to have an unused Windows 10 VM around so I quickly checked that Cygwin GCC doesn't identify as MinGW (= doesn't trigger `DUK_F_MINGW`) so if the setjmp() crash...
So, as things stand now this pull should only affect Win32 + MinGW w.r.t. setjmp/longjmp. It'd be great if @Corion or @mamod could confirm that the pull works in practice...
As you noted, the values returned by ownKeys must also exist in the target object (https://www.ecma-international.org/ecma-262/10.0/index.html#sec-proxy-object-internal-methods-and-internal-slots-ownpropertykeys): ``` duk> O = {foo:1, bar:2, quux: 3} = {foo:1,bar:2,quux:3} duk> P = new...
Adding specific support for the trap for enumeration would not be too difficult, but it also affects other places. Some of the existing Proxy limitations will need some reworking rather...
First off, you'd be treading on a somewhat risky path as setjmp/longjmp (or C++ exceptions) are assumed to work throughout. So I can't really recommend this - can you describe...
At present there is a hard assumption on having some long control transfer primitive, i.e. longjmp or C++ exception throw. Removing this assumption would mean that the entire public API...
It's a bit surprising exception handling is not part of the MVP: setjmp/longjmp are standard functions and used by several libraries (at least parsers) and C++ exceptions are also very...
Call stack and value stack are in principle entirely separate. It is possible to use a huge amount of value stack while doing no function calls at all (just call...
What does the test print, and what stack dump do you get? Quick observation (unrelated to the issue): - The `duk_set_top(ctx, 0)` in `native_digital_in` is not necessary. You can just...