Skip to content

devtools: Use getOffsetMetadata in Frame#42874

Merged
atbrakhi merged 1 commit intoservo:mainfrom
atbrakhi:use_getoffsetmetadata
Feb 26, 2026
Merged

devtools: Use getOffsetMetadata in Frame#42874
atbrakhi merged 1 commit intoservo:mainfrom
atbrakhi:use_getoffsetmetadata

Conversation

@atbrakhi
Copy link
Copy Markdown
Member

@atbrakhi atbrakhi commented Feb 26, 2026

Use getOffsetMetadata in Frame

By using getOffsetMetadata now, it is showing the correct line and column for each frame when breakpoint is being set.

Testing: all existing tests are passing
Fixes: Part of #36027

@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Feb 26, 2026
Copy link
Copy Markdown
Member

@eerii eerii left a comment

Choose a reason for hiding this comment

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

It's good to see the highlights in the proper place :)

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Feb 26, 2026
@eerii eerii enabled auto-merge February 26, 2026 10:25
@eerii eerii added this pull request to the merge queue Feb 26, 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 26, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Feb 26, 2026
@servo-highfive servo-highfive added S-needs-rebase There are merge conflict errors. S-awaiting-review There is new code that needs to be reviewed. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. S-needs-rebase There are merge conflict errors. labels Feb 26, 2026
@atbrakhi atbrakhi enabled auto-merge February 26, 2026 12:12
@atbrakhi atbrakhi force-pushed the use_getoffsetmetadata branch from 08e20fb to d4601c2 Compare February 26, 2026 14:06
@atbrakhi atbrakhi disabled auto-merge February 26, 2026 14:09
@atbrakhi atbrakhi enabled auto-merge February 26, 2026 14:09
@atbrakhi atbrakhi disabled auto-merge February 26, 2026 16:49
By using getOffsetMetadata now, it is showing the correct line
and column for each frame when breakpoint is being set.

Co-authored-by: eri <eri@igalia.com>
Signed-off-by: atbrakhi <atbrakhi@igalia.com>
@atbrakhi atbrakhi force-pushed the use_getoffsetmetadata branch from d4601c2 to 5055d31 Compare February 26, 2026 16:50
@atbrakhi atbrakhi added this pull request to the merge queue Feb 26, 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 26, 2026
Merged via the queue into servo:main with commit ebd0136 Feb 26, 2026
30 checks passed
@atbrakhi atbrakhi deleted the use_getoffsetmetadata branch February 26, 2026 19:56
@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 26, 2026
shubhamg13 pushed a commit to shubhamg13/servo that referenced this pull request Mar 2, 2026
Use
[`getOffsetMetadata`](https://firefox-source-docs.mozilla.org/js/Debugger/Debugger.Script.html#getoffsetmetadata-offset)
in Frame

By using getOffsetMetadata now, it is showing the correct line and
column for each frame when breakpoint is being set.

Testing: all existing tests are passing
Fixes: Part of servo#36027

Signed-off-by: atbrakhi <atbrakhi@igalia.com>
Co-authored-by: eri <eri@igalia.com>
@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

S-awaiting-review There is new code that needs to be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants