Skip to content

Conversation

@yerke
Copy link
Contributor

@yerke yerke commented Nov 25, 2025

script: add CanGc as argument to methods in HTMLOptionElement

Testing: These changes do not require tests because they are a refactor.
Addresses part of #34573

@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 25, 2025
@yerke
Copy link
Contributor Author

yerke commented Nov 25, 2025

@jdm Here is one for HTMLOptionElement

@jdm
Copy link
Member

jdm commented Nov 25, 2025

@yerke Thank you! I'll merge this PR, but we're going to put a pause on further CanGc work like this, since we have a replacement API that makes the JS API safer and more precise about whether a particular API call can trigger a GC or not. If you want to help with that effort instead, it would be really useful! See servo/mozjs#647 for more info.

@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Nov 25, 2025
@jdm jdm enabled auto-merge November 25, 2025 03:29
Signed-off-by: Yerkebulan Tulibergenov <yerkebulan@gmail.com>
auto-merge was automatically disabled November 25, 2025 03:51

Head branch was pushed to by a user without write access

@yerke yerke force-pushed the replace-remaining-CanGc-note-part-25 branch from 2e41adc to f12adca Compare November 25, 2025 03:51
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Nov 25, 2025
@yerke
Copy link
Contributor Author

yerke commented Nov 25, 2025

Sorry, I forgot to run tidy before.

@jdm jdm added this pull request to the merge queue Nov 25, 2025
@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 Nov 25, 2025
Merged via the queue into servo:main with commit d0ce02a Nov 25, 2025
35 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 Nov 25, 2025
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