Skip to content

devtools: Handle messages in object actor - #42186

Merged
jdm merged 1 commit into
servo:mainfrom
eerii:object-messages
Jan 27, 2026
Merged

jdm merged 1 commit into
servo:mainfrom
eerii:object-messages

Conversation

@eerii

@eerii eerii commented Jan 27, 2026

Copy link
Copy Markdown
Member

Handle enumProperties, enumSymbols and prototype messages.

Create PropertyIteratorActor and SymbolIteratorActor.

This shows hover information when paused in the debugger, but only for built-in Javascript objects. Next step would be to fix evaluateJSAsync to take into account the frame / context in which we are evaluating messages, so that we can do the same for local variables and functions.

Testing: Ran mach test-tidy and manual testing.
Part-of: #36027

@atbrakhi

Handle enumProperties, enumSymbols and prototype messages.

Create PropertiesIterator and SymbolsIterator actors.

Signed-off-by: eri <[email protected]>
Co-authored-by: atbrakhi <[email protected]>
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jan 27, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jan 27, 2026
@jdm
jdm added this pull request to the merge queue Jan 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 Jan 27, 2026
github-merge-queue Bot pushed a commit that referenced this pull request Jan 27, 2026
Handle `enumProperties`, `enumSymbols` and `prototype` messages.

Create `PropertyIteratorActor` and `SymbolIteratorActor`.

This shows hover information when paused in the debugger, but only for
built-in Javascript objects. Next step would be to fix `evaluateJSAsync`
to take into account the frame / context in which we are evaluating
messages, so that we can do the same for local variables and functions.

Testing: Ran `mach test-tidy` and manual testing.
Part-of: #36027

@atbrakhi

Signed-off-by: eri <[email protected]>
Co-authored-by: atbrakhi <[email protected]>
Merged via the queue into servo:main with commit 33bb35c Jan 27, 2026
@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 Jan 27, 2026
@eerii eerii mentioned this pull request Mar 4, 2026
@eerii eerii mentioned this pull request Apr 16, 2026
24 of 37 tasks
@eerii
eerii deleted the object-messages branch May 20, 2026 18:34
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