Skip to content

devtools: Avoid creating unnecessary new frame actors#42906

Merged
atbrakhi merged 1 commit intoservo:mainfrom
eerii:reuse-frame-actors
Feb 27, 2026
Merged

devtools: Avoid creating unnecessary new frame actors#42906
atbrakhi merged 1 commit intoservo:mainfrom
eerii:reuse-frame-actors

Conversation

@eerii
Copy link
Copy Markdown
Member

@eerii eerii commented Feb 27, 2026

Before we were creating a new frame actor each time we paused, even if the frame object in debugger.js was the same. Now we avoid this by reusing the same frame actor id.

This helps our upcoming work on onStep, onPop, and onEnterFrame hooks.

Testing: Ran mach test-devtools and manually check that it works
Part of: #36027

Before we were creating a new frame actor each time we paused, even if
the frame object in debugger.js was the same. Now we avoid this by
reusing the same frame actor id.

This helps our upcoming work on onStep, onPop, and onEnterFrame hooks.

Signed-off-by: eri <eri@igalia.com>
Co-authored-by: atbrakhi <atbrakhi@igalia.com>
@eerii eerii requested a review from gterzian as a code owner February 27, 2026 11:20
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Feb 27, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Feb 27, 2026
@atbrakhi atbrakhi added this pull request to the merge queue Feb 27, 2026
@servo-highfive servo-highfive added the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Feb 27, 2026
Merged via the queue into servo:main with commit b2b27d8 Feb 27, 2026
33 checks passed
@servo-highfive servo-highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Feb 27, 2026
@eerii eerii deleted the reuse-frame-actors branch March 2, 2026 09:05
@eerii eerii mentioned this pull request Mar 4, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants