mirror of
https://github.com/servo/servo
synced 2026-05-09 08:32:31 +02:00
devtools: Make `why` attribute use `PauseReasons` Currently we have why attribute hardcoded as per the event. In this PR we introduce `PAUSE_REASON` and make sure `why` attribute is using `PAUSE_REASONS`. This is in order to support the upcoming work on `onStep`, `onPop`, and `onEnterFrame` hook. Testing: all existing tests are passing Fixes: Part of #36027 Signed-off-by: atbrakhi <atbrakhi@igalia.com> Co-authored-by: eri <eri@igalia.com>