Skip to content

script: Don't store rooted values inside ElementInternals and FormData - #46349

Merged
jdm merged 2 commits into
servo:mainfrom
Gae24:non-rooted-form-data
Jul 9, 2026
Merged

script: Don't store rooted values inside ElementInternals and FormData#46349
jdm merged 2 commits into
servo:mainfrom
Gae24:non-rooted-form-data

Conversation

@Gae24

@Gae24 Gae24 commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Both ElementInternals and FormData could potentially own rooted values, to fix this, an unrooted variant was added.

Testing: It compiles
Part of #39139

@Gae24
Gae24 requested a review from gterzian as a code owner July 7, 2026 16:57
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 7, 2026
@Gae24
Gae24 marked this pull request as draft July 8, 2026 08:39
@Gae24
Gae24 force-pushed the non-rooted-form-data branch from 13fbdbf to c29ff7d Compare July 8, 2026 09:19
@Gae24
Gae24 marked this pull request as ready for review July 8, 2026 09:19
Comment thread components/script/dom/form/formdata.rs
Comment thread components/script/dom/elementinternals.rs
Gae24 added 2 commits July 9, 2026 10:29
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 non-rooted-form-data branch from c29ff7d to 82ab20a Compare July 9, 2026 08:29

@jdm jdm 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.

Excellent.

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Jul 9, 2026
@jdm
jdm added this pull request to the merge queue Jul 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 Jul 9, 2026
Merged via the queue into servo:main with commit bc469fd Jul 9, 2026
31 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 Jul 9, 2026
@Gae24
Gae24 deleted the non-rooted-form-data branch July 21, 2026 19:40
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