mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
See https://github.com/tc39/ecma262/commit/874ecf9 After this refactoring, we now correctly handle non-function / non-undefined objects being passed multiple times: instead of skipping assignment to promiseCapability altogether and failing with a NotAFunction error in the end; on the second time the executor closure is called, we return GetCapabilitiesExecutorCalledMultipleTimes. This fixes the 7 `capability-executor-called-twice.js` test262 tests.
6.3 KiB
6.3 KiB