Skip to content

devtools: Use DebuggerValue in console - #44064

Merged
atbrakhi merged 1 commit into
servo:mainfrom
atbrakhi:use_debuggervalue_in_console
Apr 9, 2026
Merged

atbrakhi merged 1 commit into
servo:mainfrom
atbrakhi:use_debuggervalue_in_console

Conversation

@atbrakhi

@atbrakhi atbrakhi commented Apr 9, 2026

Copy link
Copy Markdown
Member

Use same DebuggerValue in console actor as well. This helps us have single source of truth!

Testing: Added a new test
Fixes: part of #39858

@atbrakhi

atbrakhi commented Apr 9, 2026

Copy link
Copy Markdown
Member Author

Depends on #44022

We will be looking into HandleValue next to see if we could avoid more duplcation. Console logs doesn't work for arrays and functions while Eval does. So we will be adding that support in coming future!

@atbrakhi
atbrakhi force-pushed the use_debuggervalue_in_console branch from 777c16e to f9001b7 Compare April 9, 2026 14:12
@atbrakhi
atbrakhi marked this pull request as ready for review April 9, 2026 14:13
@atbrakhi
atbrakhi requested review from eerii and gterzian as code owners April 9, 2026 14:13
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 9, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Apr 9, 2026
@atbrakhi
atbrakhi enabled auto-merge April 9, 2026 14:21
@atbrakhi
atbrakhi added this pull request to the merge queue Apr 9, 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 Apr 9, 2026
Merged via the queue into servo:main with commit 9e5e560 Apr 9, 2026
33 checks passed
@atbrakhi
atbrakhi deleted the use_debuggervalue_in_console branch April 9, 2026 17:36
@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 Apr 9, 2026
@eerii eerii mentioned this pull request Apr 16, 2026
24 of 37 tasks
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