Skip to content

script: Configure cx context for all HTMLElement interface bindings - #45673

Merged
Taym95 merged 4 commits into
servo:mainfrom
ivomurrell:htmlelement-jscontext
Jun 14, 2026
Merged

script: Configure cx context for all HTMLElement interface bindings#45673
Taym95 merged 4 commits into
servo:mainfrom
ivomurrell:htmlelement-jscontext

Conversation

@ivomurrell

Copy link
Copy Markdown
Contributor

Move all the bindings for HTMLElement and its child interfaces to use &mut JSContext, including setters that were previously implicitly using the cx setting.

Testing: it compiles
Part of #42638

Signed-off-by: Ivo Murrell <ivo@cherry.computer>
Signed-off-by: Ivo Murrell <ivo@cherry.computer>
Signed-off-by: Ivo Murrell <ivo@cherry.computer>
Signed-off-by: Ivo Murrell <ivo@cherry.computer>
@ivomurrell
ivomurrell requested a review from gterzian as a code owner June 14, 2026 14:27
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jun 14, 2026
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jun 14, 2026
@Taym95
Taym95 enabled auto-merge June 14, 2026 14:30
@Taym95
Taym95 added this pull request to the merge queue Jun 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 Jun 14, 2026
Merged via the queue into servo:main with commit 62106ae Jun 14, 2026
34 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 Jun 14, 2026
TG199 pushed a commit to TG199/servo that referenced this pull request Jun 21, 2026
…gs (servo#45673)

Move all the bindings for `HTMLElement` and its child interfaces to use
`&mut JSContext`, including setters that were previously implicitly
using the `cx` setting.

Testing: it compiles
Part of servo#42638

---------

Signed-off-by: Ivo Murrell <ivo@cherry.computer>
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