Skip to content

script: Pass &mut JSContext to children_changed and adopting_steps#43219

Merged
TimvdLippe merged 6 commits into
servo:mainfrom
Gae24:children-changed
Mar 13, 2026
Merged

script: Pass &mut JSContext to children_changed and adopting_steps#43219
TimvdLippe merged 6 commits into
servo:mainfrom
Gae24:children-changed

Conversation

@Gae24

@Gae24 Gae24 commented Mar 12, 2026

Copy link
Copy Markdown
Contributor

Switch VirtualMethods::children_changed and VirtualMethods::adopting_steps to &mut JSContext.

Testing: No behaviour change, a successful build is enough.
Part of #40600

@TimvdLippe TimvdLippe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

It's a lot, but luckily it's all mechanical. I would prefer smaller PRs, but I also know that for these that's near impossible. Just couple of nits for issue bookkeeping, so we don't forget to clean these up

Comment thread components/script/dom/element.rs
Comment thread components/script/dom/node.rs
Comment thread components/script/dom/node.rs
Gae24 added 5 commits March 13, 2026 12:05
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
@Gae24 Gae24 force-pushed the children-changed branch from 161020d to fd0f926 Compare March 13, 2026 11:51
@Gae24 Gae24 marked this pull request as ready for review March 13, 2026 11:53
@Gae24 Gae24 requested a review from gterzian as a code owner March 13, 2026 11:53
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Mar 13, 2026
Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
@Gae24 Gae24 force-pushed the children-changed branch from fd0f926 to a7ff882 Compare March 13, 2026 12:05
@Gae24 Gae24 added this pull request to the merge queue Mar 13, 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 Mar 13, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Mar 13, 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 Mar 13, 2026
@TimvdLippe TimvdLippe added this pull request to the merge queue Mar 13, 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 Mar 13, 2026
Merged via the queue into servo:main with commit 048612f Mar 13, 2026
37 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 Mar 13, 2026
@Gae24 Gae24 deleted the children-changed branch March 24, 2026 16:21
offline-ant pushed a commit to offline-ant/havi that referenced this pull request Jun 4, 2026
…ps` (servo#43219)

Switch `VirtualMethods::children_changed` and
`VirtualMethods::adopting_steps` to `&mut JSContext`.

Testing: No behaviour change, a successful build is enough.
Part of servo#40600

---------

Signed-off-by: Gae24 <96017547+Gae24@users.noreply.github.com>
(cherry picked from commit 048612f)
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