Linus Groh
5832de62fe
LibJS: Convert NativeFunction::{call,construct}() to ThrowCompletionOr
...
Both at the same time because many of them call construct() in call()
and I'm not keen on adding a bunch of temporary plumbing to turn
exceptions into throw completions.
Also changes the return value of construct() to Object* instead of Value
as it always needs to return an object; allowing an arbitrary Value is a
massive foot gun.
2021-10-21 09:02:23 +01:00
..
2021-10-21 09:02:23 +01:00
2021-10-18 21:24:30 +01:00
2021-10-18 21:24:30 +01:00
2021-10-11 08:31:39 +01:00
2021-10-21 09:02:23 +01:00
2021-10-21 09:02:23 +01:00
2021-10-21 00:26:45 +01:00
2021-10-20 12:27:19 +01:00
2021-10-18 08:01:38 +03:00
2021-10-06 23:52:40 +01:00
2021-10-21 09:02:23 +01:00
2021-10-21 09:02:23 +01:00
2021-10-20 12:27:19 +01:00
2021-10-20 12:27:19 +01:00
2021-10-13 09:55:10 +01:00
2021-10-21 09:02:23 +01:00
2021-10-21 09:02:23 +01:00
2021-10-20 12:27:19 +01:00
2021-10-20 12:27:19 +01:00
2021-10-20 12:27:19 +01:00
2021-10-20 12:27:19 +01:00
2021-10-13 09:55:10 +01:00
2021-10-11 08:31:39 +01:00
2021-10-21 09:02:23 +01:00
2021-10-21 09:02:23 +01:00
2021-10-20 12:27:19 +01:00
2021-10-20 12:27:19 +01:00
2021-10-13 09:55:10 +01:00
2021-10-21 09:02:23 +01:00
2021-10-21 09:02:23 +01:00
2021-10-20 12:27:19 +01:00
2021-10-20 12:27:19 +01:00
2021-10-13 09:55:10 +01:00
2021-10-21 09:02:23 +01:00
2021-10-21 09:02:23 +01:00
2021-10-20 12:27:19 +01:00
2021-10-20 12:27:19 +01:00
2021-10-13 09:55:10 +01:00
2021-10-07 13:00:24 +01:00
2021-10-21 09:02:23 +01:00
2021-10-21 09:02:23 +01:00
2021-10-20 12:27:19 +01:00
2021-10-20 12:27:19 +01:00
2021-10-13 09:55:10 +01:00
2021-10-21 09:02:23 +01:00
2021-10-21 09:02:23 +01:00
2021-10-20 12:27:19 +01:00
2021-10-20 12:27:19 +01:00
2021-10-18 21:24:30 +01:00
2021-10-21 09:02:23 +01:00
2021-10-21 09:02:23 +01:00
2021-10-20 12:27:19 +01:00
2021-10-20 12:27:19 +01:00
2021-10-21 09:02:23 +01:00
2021-10-21 09:02:23 +01:00
2021-10-20 12:27:19 +01:00
2021-10-20 12:27:19 +01:00