Timothy Flynn
1ffda6a805
LibWeb: Propagate OOM in Body::fully_read() through its error callback
...
Fetched bodies can be on the order of gigabytes, so rather than crashing
when we hit OOM here, we can simply invoke the error callback with a DOM
exception. We use "UnknownError" here as the spec directly supports this
for OOM errors:
UnknownError: The operation failed for an unknown transient reason
(e.g. out of memory).
This is still an ad-hoc implementation. We should be using streams, and
we do have the AOs available to do so. But they need to be massaged to
be compatible with callers of Body::fully_read. And once we do use
streams, this function will become infallible - so making it infallible
here is at least a step in the right direction.
2024-04-27 07:08:14 +02:00
..
2024-04-08 14:25:36 +02:00
2024-03-30 08:15:49 +01:00
2024-04-16 07:40:01 +02:00
2024-04-20 18:11:01 +02:00
2024-04-24 16:50:01 -04:00
2024-04-27 07:08:14 +02:00
2024-04-17 07:16:52 +02:00
2024-04-14 22:08:22 +02:00
2024-03-30 19:28:20 +01:00
2024-04-26 12:21:57 -04:00
2024-04-26 12:21:57 -04:00
2024-04-26 12:21:57 -04:00
2024-04-26 20:01:58 +02:00
2024-04-26 20:01:58 +02:00
2024-04-16 07:40:01 +02:00
2024-03-16 16:35:54 +01:00
2024-04-08 14:25:36 +02:00
2024-04-08 14:25:36 +02:00
2024-04-08 14:25:36 +02:00
2024-03-16 16:35:54 +01:00
2024-03-22 11:29:57 +01:00
2024-03-16 16:35:54 +01:00
2024-04-09 09:13:06 +02:00
2024-04-16 07:40:01 +02:00
2024-04-13 09:19:00 -07:00
2024-04-04 11:23:21 +02:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-04-26 20:01:58 +02:00
2024-03-16 16:35:54 +01:00
2024-04-15 01:02:51 -07:00
2024-04-15 01:02:51 -07:00
2024-04-15 01:02:51 -07:00
2024-04-14 18:53:58 -07:00
2024-04-11 21:25:06 +02:00
2024-03-28 15:34:52 +01:00
2024-04-01 14:41:00 +02:00
2024-04-01 14:41:00 +02:00
2024-04-01 14:41:00 +02:00
2024-04-04 17:17:57 -04:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-18 14:06:28 -04:00
2024-04-19 10:58:45 +02:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-04-24 15:23:45 +02:00
2024-04-24 15:23:45 +02:00
2024-04-24 15:23:45 +02:00
2024-03-16 16:35:54 +01:00
2024-03-29 06:57:07 +01:00
2024-03-29 06:57:07 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-18 14:06:28 -04:00
2024-03-18 14:06:28 -04:00
2024-04-26 20:01:58 +02:00
2024-04-25 09:30:30 +02:00
2024-04-14 22:08:22 +02:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-04-16 07:40:01 +02:00
2024-04-07 07:03:13 +02:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-04-05 20:01:37 -04:00
2024-03-18 14:06:28 -04:00
2024-04-11 18:41:57 +02:00
2024-04-11 18:41:57 +02:00
2024-04-17 07:16:52 +02:00
2024-04-11 18:41:57 +02:00
2024-04-26 20:01:58 +02:00
2024-04-26 20:01:58 +02:00
2024-03-23 12:46:37 +01:00
2024-03-23 12:46:37 +01:00
2024-03-23 12:46:37 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-04-27 07:08:14 +02:00
2024-04-22 06:43:05 +02:00
2024-04-24 15:23:45 +02:00
2024-04-24 15:23:45 +02:00
2024-04-24 15:23:45 +02:00
2024-03-16 16:35:54 +01:00
2024-04-27 07:08:14 +02:00
2024-04-26 12:21:57 -04:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-04-18 08:09:51 +00:00
2024-04-18 08:09:51 +00:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-04-09 09:23:57 +02:00
2024-04-09 09:23:57 +02:00
2024-04-09 09:23:57 +02:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-18 11:16:35 +01:00
2024-03-16 16:35:54 +01:00
2024-04-15 10:11:54 +02:00
2024-04-15 10:11:54 +02:00
2024-04-14 22:08:22 +02:00
2024-04-09 09:23:57 +02:00
2024-04-09 09:23:57 +02:00
2024-04-09 09:23:57 +02:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-04-26 20:01:58 +02:00
2024-04-26 20:01:58 +02:00
2024-03-16 13:11:57 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-04-27 07:08:14 +02:00
2024-04-26 09:49:11 +02:00
2024-04-08 14:25:36 +02:00
2024-04-08 14:25:36 +02:00
2024-04-08 14:25:36 +02:00
2024-04-15 11:27:34 +02:00
2024-03-30 19:29:14 +01:00
2024-03-30 19:29:14 +01:00
2024-03-18 14:06:28 -04:00
2024-03-18 14:06:28 -04:00
2024-03-18 14:06:28 -04:00
2024-03-18 14:06:28 -04:00
2024-04-16 07:40:01 +02:00
2024-03-28 15:34:52 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-04-16 07:40:01 +02:00
2024-04-20 18:11:01 +02:00
2024-04-19 16:38:55 -04:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-04-27 07:08:14 +02:00
2024-04-26 20:01:58 +02:00
2024-04-26 20:01:58 +02:00
2024-04-08 09:07:18 +02:00
2024-04-16 07:40:01 +02:00
2024-04-20 18:11:01 +02:00
2024-04-09 09:13:06 +02:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-18 14:06:28 -04:00
2024-03-27 18:07:07 +01:00
2024-04-24 17:04:43 +02:00
2024-04-22 17:10:11 +02:00
2024-03-16 16:35:54 +01:00
2024-04-12 09:08:46 +02:00
2024-04-12 09:08:46 +02:00
2024-04-12 09:08:46 +02:00
2024-04-27 07:08:14 +02:00
2024-04-06 07:20:22 +02:00
2024-03-18 14:06:28 -04:00
2024-03-16 16:35:54 +01:00
2024-03-18 07:09:37 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-04-11 21:25:06 +02:00
2024-04-11 21:25:06 +02:00
2024-04-11 21:25:06 +02:00
2024-03-18 14:06:28 -04:00
2024-03-18 14:06:28 -04:00
2024-03-16 16:35:54 +01:00
2024-04-19 06:34:07 -04:00
2024-04-08 17:24:48 -04:00
2024-04-08 17:24:48 -04:00
2024-04-13 09:19:00 -07:00
2024-04-13 09:19:00 -07:00
2024-04-17 07:16:52 +02:00
2024-04-10 17:18:03 +02:00
2024-04-27 07:08:14 +02:00
2024-03-18 14:06:28 -04:00
2024-03-18 14:06:28 -04:00
2024-03-16 16:35:54 +01:00
2024-03-30 21:26:37 +01:00
2024-03-20 09:16:01 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-04-17 07:16:52 +02:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-03-16 16:35:54 +01:00
2024-04-26 20:01:58 +02:00
2024-04-26 20:01:58 +02:00
2024-04-26 12:21:57 -04:00
2024-04-26 09:49:11 +02:00
2024-04-26 12:21:57 -04:00
2024-04-26 12:21:57 -04:00
2024-04-20 18:11:01 +02:00
2024-04-15 10:11:54 +02:00
2024-04-14 10:45:43 +02:00
2024-04-23 12:32:04 -06:00
2024-04-08 14:25:36 +02:00
2024-04-08 14:25:36 +02:00
2024-04-04 11:23:21 +02:00
2024-04-05 20:01:37 -04:00
2024-03-18 14:06:28 -04:00
2024-04-19 16:38:55 -04:00
2024-03-18 14:06:28 -04:00
2024-04-21 09:12:25 +02:00
2024-04-21 09:12:25 +02:00
2024-03-16 16:35:54 +01:00
2024-04-08 14:25:36 +02:00
2024-03-18 14:06:28 -04:00
2024-03-16 16:35:54 +01:00