Daniel Bertalan
c21255da7f
LibJS: Align NewPromiseCapability with spec changes
...
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.
2023-06-28 23:36:15 +01:00
..
2023-06-26 10:39:07 +02:00
2023-05-24 23:18:07 +02:00
2023-06-24 17:13:30 +02:00
2023-06-24 17:13:30 +02:00
2023-06-19 17:43:18 +02:00
2023-06-28 23:18:39 +01:00
2023-06-19 17:43:18 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-27 13:48:27 +02:00
2023-06-26 10:39:07 +02:00
2023-06-22 06:46:27 +02:00
2023-06-22 06:46:27 +02:00
2023-06-15 14:03:51 +01:00
2023-06-15 14:03:51 +01:00
2023-05-24 23:18:07 +02:00
2023-06-15 14:03:51 +01:00
2023-06-27 00:21:52 +02:00
2023-05-28 14:40:22 +02:00
2023-05-28 10:03:11 +02:00
2023-06-26 10:39:07 +02:00
2023-06-22 21:16:17 +02:00
2023-06-12 06:40:49 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-05-30 06:16:20 +02:00
2023-06-12 06:40:49 +02:00
2023-06-12 06:40:49 +02:00
2023-06-13 01:49:02 +02:00
2023-06-28 23:36:15 +01:00
2023-06-28 23:36:15 +01:00
2023-06-26 10:39:07 +02:00
2023-05-06 06:46:02 -07:00
2023-06-23 20:22:45 +02:00
2023-06-23 20:22:45 +02:00
2023-06-23 20:22:45 +02:00
2023-06-23 20:22:45 +02:00
2023-06-23 20:22:45 +02:00
2023-06-26 10:39:07 +02:00
2023-06-22 21:16:17 +02:00
2023-04-30 06:04:33 +02:00
2023-05-26 05:23:55 +02:00
2023-06-26 19:25:12 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00
2023-06-26 10:39:07 +02:00