Skip to content

devtools: implement ArrayPreview in console#44196

Merged
atbrakhi merged 1 commit into
servo:mainfrom
atbrakhi:preview-array-in-console
Apr 15, 2026
Merged

devtools: implement ArrayPreview in console#44196
atbrakhi merged 1 commit into
servo:mainfrom
atbrakhi:preview-array-in-console

Conversation

@atbrakhi

Copy link
Copy Markdown
Member

Show preview of ArrayItems in console

Testing: Current tests are passing
Fixes: Part of #39858
image

Co-authored-by: eri <eri@igalia.com>
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
@atbrakhi atbrakhi requested a review from gterzian as a code owner April 14, 2026 08:32
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Apr 14, 2026
@atbrakhi atbrakhi requested a review from eerii April 14, 2026 08:33
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Apr 14, 2026
@atbrakhi atbrakhi added this pull request to the merge queue Apr 14, 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 14, 2026

@simonwuelker simonwuelker left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you write a test for this? We have existing tests for console.log.

@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Apr 14, 2026
@servo-highfive servo-highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Apr 14, 2026
@atbrakhi

Copy link
Copy Markdown
Member Author

Can you write a test for this? We have existing tests for console.log.

ofcourse! I was thinking about adding it in the function preview that we are working on! But we can add it here too.

@atbrakhi

Copy link
Copy Markdown
Member Author

@simonwuelker we ended up adding tests in #44233 that add support for function preview in the console, as we also made some structural changes there! I will try to land this, as #44233 depends on it :)

@atbrakhi atbrakhi added this pull request to the merge queue Apr 15, 2026
@servo-highfive servo-highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Apr 15, 2026
@simonwuelker

Copy link
Copy Markdown
Member

@simonwuelker we ended up adding tests in #44233 that add support for function preview in the console, as we also made some structural changes there! I will try to land this, as #44233 depends on it :)

Alright, thank you!

Merged via the queue into servo:main with commit 77458b2 Apr 15, 2026
39 checks passed
@atbrakhi atbrakhi deleted the preview-array-in-console branch April 15, 2026 11:07
@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 15, 2026
simartin added a commit to simartin/servo that referenced this pull request Apr 15, 2026
{"fail_fast": false, "matrix": [{"name": "Linux (WPT)", "workflow": "linux", "wpt": true, "profile": "release", "unit_tests": false, "build_libservo": false, "bencher": false, "coverage": false, "build_args": "", "wpt_args": "", "number_of_wpt_chunks": 20}]}
github-merge-queue Bot pushed a commit that referenced this pull request Apr 15, 2026
Testing: Added new tests for console array and function previews
Part of: #39858
Depends on: #44196

<img width="934" height="388" alt="image"
src="https://github.com/user-attachments/assets/8589ef9c-7a58-47dd-83dd-4f66607125fe"
/>

Signed-off-by: eri <eri@igalia.com>
Co-authored-by: atbrakhi <atbrakhi@igalia.com>
@eerii eerii mentioned this pull request Apr 16, 2026
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.

4 participants