Linus Groh
44e70d1bc0
LibJS+LibWeb: Let WrapperGenerator deal with legacy_null_to_empty_string
...
This concept is not present in ECMAScript, and it bothers me every time
I see it.
It's only used by WrapperGenerator, and even there only relevant in two
places, so let's fully remove it from LibJS and use a simple ternary
expression instead:
cpp_name = js_name.is_null() && legacy_null_to_empty_string
? String::empty()
: js_name.to_string(global_object);
2021-10-11 23:36:03 +01:00
..
2021-10-10 15:18:55 -07:00
2021-10-01 20:17:15 +02:00
2021-10-11 23:36:03 +01:00
2021-04-22 09:55:48 +02:00
2021-10-05 02:08:08 +02:00
2021-06-25 15:19:09 +02:00
2021-07-20 15:12:19 +02:00
2021-05-16 22:50:46 +01:00
2021-08-18 10:59:50 +02:00
2021-09-15 19:04:52 +04:30
2021-09-14 21:33:15 +04:30
2021-04-19 09:19:31 +02:00
2021-10-10 15:18:55 -07:00
2021-08-14 12:40:55 +02:00
2021-08-14 12:40:55 +02:00
2021-09-17 09:16:40 +00:00
2021-07-20 15:12:19 +02:00
2021-08-30 22:47:02 +02:00
2021-05-27 17:28:41 +04:30
2021-07-18 22:08:03 +02:00
2021-07-18 22:08:03 +02:00
2021-07-18 22:08:03 +02:00
2021-04-20 15:27:52 +02:00
2021-10-10 15:18:55 -07:00
2021-08-14 12:40:55 +02:00
2021-09-07 20:46:34 +01:00
2021-04-29 22:16:18 +02:00
2021-08-30 20:49:37 +02:00
2021-05-05 21:26:37 +02:00
2021-08-13 21:12:17 +04:30
2021-09-15 20:21:19 +00:00
2021-09-26 23:14:01 +00:00
2021-08-18 14:27:37 +02:00
2021-06-16 10:40:01 +02:00
2021-10-07 18:34:13 +03:00
2021-06-18 13:34:17 +01:00