Tim van der Lippe
8e0c2d5750
Implement WindowOrWorkerGlobalScope::reportError ( #40654 )
...
This web API is alternative API to `throw e`, which is why we can reuse
a lot of the existing machinery.
The one testcase that isn't passing yet is because it reports an empty
`TypeError`. The current logic in `ErrorInfo` only retrieves the message
data, but doesn't include the type of the exception. For that, we need
to use `(*report)._base.errorNumber` and map that back to the original
type codes. However, deferring that to a follow-up as that requires some
more work in mozjs.
Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com >
2025-11-16 09:30:16 +00:00
..
2025-11-07 01:08:00 +00:00
2025-11-16 09:30:16 +00:00
2025-11-06 11:06:03 +00:00
2025-11-15 18:35:31 +00:00
2025-11-04 07:15:51 +00:00
2025-11-15 09:10:27 +00:00
2025-11-06 11:06:03 +00:00
2025-10-02 04:17:36 +00:00
2025-11-15 09:10:27 +00:00
2025-11-16 05:51:49 +00:00
2025-11-15 09:10:27 +00:00
2025-11-07 02:56:30 +00:00
2025-11-13 09:48:17 +00:00
2025-11-15 09:19:11 +00:00
2025-11-10 10:09:03 +00:00
2025-11-10 11:41:59 +00:00
2025-11-08 14:27:35 +00:00
2025-11-06 11:06:03 +00:00
2025-11-06 11:06:03 +00:00
2025-11-08 14:27:35 +00:00
2025-11-16 09:30:16 +00:00
2025-09-13 18:34:14 +00:00
2025-11-16 04:53:54 +00:00
2025-08-19 11:07:53 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-15 17:59:57 +00:00
2025-11-01 05:32:45 +00:00
2025-11-09 22:05:12 +00:00
2025-09-27 19:23:05 +00:00
2025-11-08 14:27:35 +00:00
2025-11-13 14:53:57 +00:00
2025-11-04 18:29:06 +00:00
2025-10-05 15:12:16 +00:00
2025-11-04 20:43:59 +00:00
2025-11-04 18:29:06 +00:00
2025-11-04 18:29:06 +00:00
2025-11-05 05:22:13 +00:00
2025-11-08 14:27:35 +00:00
2025-11-10 13:45:56 +00:00
2025-11-08 14:27:35 +00:00
2025-11-04 18:29:06 +00:00
2025-11-04 18:29:06 +00:00
2025-11-15 09:19:11 +00:00
2025-11-13 09:48:17 +00:00
2025-07-09 19:07:29 +00:00
2025-11-06 11:06:03 +00:00
2025-11-01 05:32:45 +00:00
2025-10-09 18:18:03 +00:00
2025-10-23 14:02:28 +00:00
2025-10-05 15:12:16 +00:00
2025-10-05 15:12:16 +00:00
2025-10-26 03:15:20 +00:00
2025-08-12 04:53:53 +00:00
2025-11-06 19:43:52 +00:00
2025-11-05 05:22:13 +00:00
2025-11-04 18:29:06 +00:00
2025-11-04 18:29:06 +00:00
2025-11-01 05:32:45 +00:00
2025-11-04 18:29:06 +00:00
2025-11-11 11:03:41 +00:00
2025-11-13 14:53:57 +00:00
2025-11-13 14:53:57 +00:00
2025-11-13 14:53:57 +00:00
2025-11-06 11:06:03 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-06 11:06:03 +00:00
2025-10-06 17:23:03 +00:00
2025-11-01 05:32:45 +00:00
2025-09-09 08:33:46 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-10-26 01:34:06 +00:00
2025-11-01 05:32:45 +00:00
2025-11-15 17:59:57 +00:00
2025-10-26 03:29:51 +00:00
2025-11-01 05:32:45 +00:00
2025-10-26 11:36:36 +00:00
2025-11-11 22:30:40 +00:00
2025-11-16 04:53:54 +00:00
2025-11-01 05:32:45 +00:00
2025-10-02 07:51:19 +00:00
2025-11-01 05:32:45 +00:00
2025-11-06 11:06:03 +00:00
2025-11-09 22:05:12 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-16 09:30:16 +00:00
2025-11-06 11:06:03 +00:00
2025-11-01 05:32:45 +00:00
2025-08-19 11:07:53 +00:00
2025-10-25 08:53:05 +00:00
2025-11-08 23:04:03 +00:00
2025-11-03 15:19:34 +00:00
2025-11-01 05:32:45 +00:00
2025-11-06 11:06:03 +00:00
2025-11-07 01:08:00 +00:00
2025-11-01 05:32:45 +00:00
2025-11-06 11:06:03 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-12 18:44:15 +00:00
2025-11-04 18:29:06 +00:00
2025-11-13 19:14:30 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-14 12:53:33 +00:00
2025-11-13 19:14:30 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-11 22:30:40 +00:00
2025-11-01 05:32:45 +00:00
2025-11-10 11:41:59 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-08-09 18:01:00 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-08-04 16:27:00 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-11 22:30:40 +00:00
2025-11-01 05:32:45 +00:00
2025-11-08 14:27:35 +00:00
2025-11-06 11:06:03 +00:00
2025-11-01 05:32:45 +00:00
2025-09-09 08:33:46 +00:00
2025-11-13 14:53:57 +00:00
2025-11-12 07:34:47 +00:00
2025-08-31 01:00:09 +00:00
2025-08-19 11:07:53 +00:00
2025-11-09 22:05:12 +00:00
2025-10-05 15:12:16 +00:00
2025-11-06 11:06:03 +00:00
2025-11-09 22:05:12 +00:00
2025-11-11 22:30:40 +00:00
2025-10-23 14:02:28 +00:00
2025-11-01 05:32:45 +00:00
2025-11-03 15:19:34 +00:00
2025-11-06 11:06:03 +00:00
2025-11-01 05:32:45 +00:00
2025-09-26 22:12:37 +00:00
2025-11-07 01:08:00 +00:00
2025-11-06 11:06:03 +00:00
2025-11-08 14:27:35 +00:00
2025-08-19 11:07:53 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-08-31 01:00:09 +00:00
2025-11-15 10:17:19 +00:00
2025-11-07 01:08:00 +00:00
2025-11-11 11:03:41 +00:00
2025-11-04 18:29:06 +00:00
2025-11-06 11:06:03 +00:00
2025-11-06 11:06:03 +00:00
2025-11-06 11:06:03 +00:00
2025-11-06 11:06:03 +00:00
2025-11-01 05:32:45 +00:00
2025-11-06 11:06:03 +00:00
2025-11-01 05:32:45 +00:00
2025-11-06 11:06:03 +00:00
2025-11-07 01:08:00 +00:00
2025-11-02 18:20:18 +00:00
2025-09-15 08:50:16 +00:00
2025-11-01 05:32:45 +00:00
2025-11-06 11:06:03 +00:00
2025-11-06 11:06:03 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-10-15 07:42:11 +00:00
2025-10-15 07:42:11 +00:00
2025-10-15 07:42:11 +00:00
2025-11-10 13:45:56 +00:00
2025-11-06 11:06:03 +00:00
2025-11-01 05:32:45 +00:00
2025-11-06 11:06:03 +00:00
2025-10-09 18:18:03 +00:00
2025-08-31 01:00:09 +00:00
2025-10-26 03:29:51 +00:00
2025-11-13 14:53:57 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 05:32:45 +00:00
2025-11-01 10:01:15 +00:00
2025-10-29 11:41:52 +00:00
2025-11-07 01:08:00 +00:00
2025-11-07 01:08:00 +00:00
2025-11-06 11:06:03 +00:00
2025-11-01 05:32:45 +00:00
2025-11-16 09:30:16 +00:00
2025-11-12 15:37:25 +00:00
2025-11-10 11:41:59 +00:00
2025-11-10 11:41:59 +00:00
2025-11-06 11:06:03 +00:00
2025-11-06 11:06:03 +00:00
2025-10-05 15:12:16 +00:00
2025-11-01 05:32:45 +00:00
2025-11-12 10:05:46 +00:00
2025-11-12 10:05:46 +00:00
2025-10-25 23:25:01 +00:00
2025-11-06 12:24:07 +00:00
2025-11-06 12:24:07 +00:00