Linus Groh
e07490ce13
LibJS: Don't assume value for index < size in IndexedPropertyIterator
...
This assumption only works for the m_packed_elements Vector where a
missing value at a certain index still returns an empty value, but not
for the m_sparse_elements HashMap, which is being used for indices
>= 200 - in that case the Optional<ValueAndAttributes> result will not
have a value.
This fixes a crash in the js REPL where printing an array with a hole at
any index >= 200 would crash.
2020-10-14 00:52:47 +02:00
..
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-09-25 21:18:17 +02:00
2020-09-08 16:20:34 +02:00
2020-10-13 23:57:45 +02:00
2020-07-23 17:31:08 +02:00
2020-10-13 23:57:45 +02:00
2020-07-23 17:31:08 +02:00
2020-09-27 20:26:58 +02:00
2020-10-06 18:37:58 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-09-27 20:26:58 +02:00
2020-06-21 15:15:52 +02:00
2020-10-13 23:57:45 +02:00
2020-07-23 17:31:08 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-09-27 20:26:58 +02:00
2020-06-21 15:15:52 +02:00
2020-10-13 23:57:45 +02:00
2020-07-23 17:31:08 +02:00
2020-10-13 23:57:45 +02:00
2020-10-04 17:03:33 +02:00
2020-10-04 17:03:33 +02:00
2020-10-04 17:03:33 +02:00
2020-10-14 00:10:49 +02:00
2020-10-14 00:10:49 +02:00
2020-07-23 17:31:08 +02:00
2020-09-27 20:26:58 +02:00
2020-10-04 19:22:02 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-09-25 21:18:17 +02:00
2020-10-13 23:57:45 +02:00
2020-06-21 15:15:52 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-09-25 21:18:17 +02:00
2020-09-25 21:18:17 +02:00
2020-10-04 19:22:02 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-10-04 17:03:33 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-07-23 17:31:08 +02:00
2020-10-13 23:57:45 +02:00
2020-10-13 23:57:45 +02:00
2020-10-14 00:52:47 +02:00
2020-09-08 13:43:03 +02:00
2020-10-13 23:57:45 +02:00
2020-09-08 14:15:13 +02:00
2020-09-27 20:26:58 +02:00
2020-07-23 17:31:08 +02:00
2020-10-14 00:10:49 +02:00
2020-09-27 20:26:58 +02:00
2020-09-29 16:41:28 +02:00
2020-09-29 16:41:28 +02:00
2020-09-08 13:43:03 +02:00
2020-09-08 13:43:03 +02:00
2020-10-13 23:57:45 +02:00
2020-07-23 17:31:08 +02:00
2020-10-04 17:03:33 +02:00
2020-10-04 17:03:33 +02:00
2020-09-27 20:26:58 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-09-27 20:26:58 +02:00
2020-07-15 18:24:55 +02:00
2020-10-14 00:10:49 +02:00
2020-07-23 17:31:08 +02:00
2020-10-13 23:57:45 +02:00
2020-10-06 17:43:51 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-07-23 17:31:08 +02:00
2020-09-27 20:26:58 +02:00
2020-09-27 20:26:58 +02:00
2020-06-06 22:13:01 +02:00
2020-09-25 21:18:17 +02:00
2020-10-08 10:02:47 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-09-27 20:26:58 +02:00
2020-06-21 15:15:52 +02:00
2020-10-04 19:22:02 +02:00
2020-09-29 16:45:39 +02:00
2020-10-13 23:57:45 +02:00
2020-07-23 17:31:08 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-10-04 19:22:02 +02:00
2020-06-21 15:15:52 +02:00
2020-09-27 20:26:58 +02:00
2020-06-21 15:15:52 +02:00
2020-10-13 23:57:45 +02:00
2020-10-04 17:03:33 +02:00
2020-10-10 23:25:00 +02:00
2020-10-05 20:53:00 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-09-25 21:18:17 +02:00
2020-07-13 15:07:29 +02:00
2020-10-13 23:57:45 +02:00
2020-07-23 17:31:08 +02:00
2020-09-27 20:26:58 +02:00
2020-06-21 15:15:52 +02:00
2020-10-05 17:35:27 +02:00
2020-10-13 23:57:45 +02:00
2020-07-23 17:31:08 +02:00
2020-09-27 20:26:58 +02:00
2020-10-04 19:22:02 +02:00
2020-10-13 23:57:45 +02:00
2020-09-27 20:26:58 +02:00
2020-09-27 20:26:58 +02:00
2020-07-09 23:29:28 +02:00
2020-10-13 23:57:45 +02:00
2020-07-23 17:31:08 +02:00
2020-10-13 23:57:45 +02:00
2020-06-21 15:15:52 +02:00
2020-10-13 23:57:45 +02:00
2020-10-02 18:01:27 +02:00
2020-10-13 23:57:45 +02:00
2020-10-13 23:57:45 +02:00