trop[bot]
6fd63cdba8
fix: prevent crash when calling contentTracing APIs before app is ready ( #51352 )
...
* fix: prevent crash when calling contentTracing APIs before app is ready
Added Browser::Get()->is_ready() guards to all contentTracing API functions (startRecording, stopRecording, getCategories, getTraceBufferUsage) so they reject their returned Promises with a clear error message instead of crashing when called before app.whenReady().
Added a crash-case fixture test that validates all four APIs reject properly before readiness and work normally after.
Co-authored-by: om-ghante <mr.omghante1@gmail.com >
* chore: fix linter error in `spec/fixtures/crash-cases/content-tracing-before-ready/` (#51356 )
chore: fix linter error in spec/fixtures/crash-cases/content-tracing-before-ready/
introduced earlier today in 6f2e5cd4
* chore: make linter happy
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: om-ghante <mr.omghante1@gmail.com >
Co-authored-by: Charles Kerr <charles@charleskerr.com >
2026-04-28 11:08:11 -05:00
..
2025-10-03 14:10:29 -05:00
2025-10-05 12:32:28 -05:00
2023-08-04 10:47:29 +02:00
2026-04-15 16:39:44 +09:00
2026-02-18 13:23:53 -05:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2025-04-23 17:55:18 -05:00
2026-04-20 15:25:00 -07:00
2026-04-20 15:25:00 -07:00
2026-03-18 14:53:09 -04:00
2026-03-18 14:53:09 -04:00
2026-04-28 11:08:11 -05:00
2026-02-17 16:19:16 -05:00
2026-02-17 16:19:16 -05:00
2025-07-21 16:34:38 +02:00
2024-07-25 11:25:45 +02:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2026-02-17 16:19:16 -05:00
2026-02-17 16:19:16 -05:00
2024-09-10 16:05:57 -07:00
2026-02-20 14:30:11 -05:00
2025-08-05 02:03:06 +09:00
2025-09-13 08:19:07 +09:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2025-07-21 16:34:38 +02:00
2021-11-22 16:34:31 +09:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2026-03-04 16:43:44 +01:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2026-04-15 16:39:44 +09:00
2026-04-15 16:39:44 +09:00
2026-04-15 16:39:44 +09:00
2026-04-15 16:39:44 +09:00
2026-04-15 16:39:44 +09:00
2026-04-15 16:39:44 +09:00
2026-02-05 13:09:20 -08:00
2026-02-02 14:21:40 +01:00
2026-03-25 15:53:31 -04:00
2026-03-25 15:53:31 -04:00
2026-03-25 15:53:31 -04:00
2026-04-15 16:39:44 +09:00
2026-04-15 16:39:44 +09:00
2026-03-05 11:29:27 +01:00
2026-03-05 11:29:27 +01:00
2026-03-05 15:24:12 -05:00
2026-03-05 15:24:12 -05:00
2026-03-05 15:24:12 -05:00
2026-03-05 15:24:12 -05:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2025-07-21 16:34:38 +02:00
2026-04-02 20:09:56 -07:00
2025-09-22 20:16:27 -07:00
2026-02-17 16:19:16 -05:00
2025-08-05 02:03:06 +09:00
2026-02-17 16:19:16 -05:00
2025-07-21 16:34:38 +02:00
2026-03-08 19:20:34 +01:00
2025-08-04 23:28:01 +09:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2025-11-07 10:13:45 -05:00
2025-09-10 11:16:35 -05:00
2026-02-17 16:19:16 -05:00
2026-02-17 16:19:16 -05:00
2026-02-17 16:19:16 -05:00
2026-02-17 16:19:16 -05:00
2025-10-21 14:26:30 -04:00
2026-02-17 16:19:16 -05:00
2026-04-15 16:39:44 +09:00
2026-04-15 16:39:44 +09:00
2026-03-19 18:48:27 -07:00
2026-03-19 18:48:27 -07:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2024-09-25 06:19:39 -05:00
2025-04-23 20:33:50 -05:00
2026-04-22 10:34:59 -05:00
2026-02-24 17:18:21 -05:00
2026-04-27 18:36:54 -05:00
2026-04-24 12:36:54 -04:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2026-02-17 16:19:16 -05:00
2025-11-12 12:53:00 -06:00
2025-10-23 16:28:51 -04:00
2025-09-08 12:57:15 +02:00
2025-09-22 20:16:27 -07:00
2026-02-17 16:19:16 -05:00
2026-02-17 16:19:16 -05:00
2026-02-17 16:19:16 -05:00
2026-02-17 16:19:16 -05:00
2025-08-27 09:30:50 +09:00
2025-08-05 02:03:06 +09:00
2025-08-05 02:03:06 +09:00
2024-09-17 01:38:56 -07:00
2022-02-09 18:58:52 -08:00
2024-07-25 11:25:45 +02:00
2024-07-29 12:42:57 -05:00
2022-06-29 12:55:47 -07:00
2022-06-29 12:55:47 -07:00