trop[bot]
90decd4eaf
fix: add missing HandleScope in contentTracing.getTraceBufferUsage() ( #50594 )
...
The `OnTraceBufferUsageAvailable` callback creates V8 handles via
`Dictionary::CreateEmpty()` before `promise.Resolve()` enters its
`SettleScope` (which provides a `HandleScope`). When the callback
fires asynchronously from a Mojo response (i.e. when a trace session
is active), there is no `HandleScope` on the stack, causing a fatal
V8 error: "Cannot create a handle without a HandleScope".
Add an explicit `v8::HandleScope` at the top of the callback, matching
the pattern used by the other contentTracing APIs which resolve their
promises through `SettleScope` or the static `ResolvePromise` helper.
Made-with: Cursor
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Alexey Kozy <alexey@anysphere.co >
2026-03-31 10:15:13 +02:00
..
2026-03-27 08:20:36 -04:00
2026-03-05 10:12:33 -06:00
2025-08-29 12:31:47 +09:00
2025-07-08 15:20:56 +02:00
2024-09-27 10:17:06 +09:00
2025-11-24 12:30:57 -05:00
2026-03-09 23:06:57 +00:00
2026-03-05 10:12:33 -06:00
2026-03-12 01:50:13 +00:00
2026-02-02 14:21:40 +01:00
2025-08-28 10:31:41 +02:00
2026-03-26 00:49:57 -07:00
2024-10-02 19:10:44 -07:00
2026-03-31 10:15:13 +02:00
2026-03-03 09:15:37 -05:00
2025-07-16 08:39:17 -07:00
2024-10-02 19:10:44 -07:00
2024-11-20 08:55:09 -06:00
2025-06-16 12:46:06 -05:00
2026-03-27 08:20:36 -04:00
2025-05-06 14:09:35 -04:00
2025-05-29 10:24:16 -07:00
2024-10-02 19:10:44 -07:00
2024-11-18 14:44:30 -08:00
2024-11-18 14:44:30 -08:00
2025-10-30 19:16:48 +01:00
2025-02-21 10:17:52 -06:00
2026-02-05 10:58:19 -05:00
2026-02-26 16:55:19 -05:00
2025-11-04 11:15:34 +01:00
2026-03-25 15:53:31 -04:00
2024-10-02 19:10:44 -07:00
2024-10-02 19:10:44 -07:00
2026-02-17 16:19:16 -05:00
2025-05-30 15:28:13 -04:00
2025-11-24 12:30:57 -05:00
2024-10-02 19:10:44 -07:00
2025-11-24 12:30:57 -05:00
2024-10-02 19:10:44 -07:00
2025-03-09 17:37:14 -05:00
2025-12-25 17:15:53 -06:00
2024-10-02 19:10:44 -07:00
2024-10-02 19:10:44 -07:00
2025-03-14 21:00:13 -04:00
2025-01-31 09:32:45 -05:00
2026-02-03 14:00:30 -05:00
2025-11-24 12:30:57 -05:00
2026-01-26 11:57:56 +01:00
2025-07-14 13:42:37 -07:00
2025-10-21 14:26:30 -04:00
2024-10-02 19:10:44 -07:00
2025-08-07 19:25:50 +02:00
2026-03-19 18:48:27 -07:00
2025-11-14 14:46:21 +01:00
2026-03-10 12:22:32 -04:00
2026-02-24 17:18:21 -05:00
2025-10-28 11:17:29 -04:00
2025-07-14 13:42:37 -07:00
2025-12-19 23:08:40 +13:00
2024-10-02 19:10:44 -07:00
2024-10-02 19:10:44 -07:00
2026-03-16 13:56:00 -04:00
2024-10-02 19:10:44 -07:00
2026-03-09 23:26:10 +00:00
2025-08-27 09:30:50 +09:00
2025-03-25 19:33:10 +09:00
2024-10-02 19:10:44 -07:00
2024-04-30 21:13:38 -04:00
2025-10-08 10:44:09 +02:00
2025-07-21 09:32:53 -07:00
2024-10-02 19:10:44 -07:00
2024-06-21 10:31:10 -04:00
2026-03-26 11:46:12 -04:00
2026-02-19 16:10:03 -05:00
2025-05-02 16:27:29 -05:00
2026-02-18 14:01:18 +01:00
2025-08-09 09:47:47 +02:00
2026-02-25 12:56:35 -05:00
2026-03-27 08:20:36 -04:00
2024-10-02 19:10:44 -07:00
2022-08-16 15:23:13 -04:00
2024-10-02 19:10:44 -07:00
2025-12-12 13:43:12 -05:00
2024-10-18 16:07:06 -04:00
2025-11-24 12:30:57 -05:00
2023-01-18 14:46:27 +01:00
2025-12-12 13:43:12 -05:00
2024-12-12 11:51:24 -05:00
2025-09-24 13:35:14 -07:00