mirror of
https://github.com/electron/electron.git
synced 2026-05-02 03:00:22 -04:00
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.