Skip to content

script: Add CanGc to Seekable method in HtmlMediaElement#40033

Merged
jdm merged 3 commits intoservo:mainfrom
willypuzzle:39944-HTMLMediaElement-Seekable-needs-a-CanGc-argument
Oct 21, 2025
Merged

script: Add CanGc to Seekable method in HtmlMediaElement#40033
jdm merged 3 commits intoservo:mainfrom
willypuzzle:39944-HTMLMediaElement-Seekable-needs-a-CanGc-argument

Conversation

@willypuzzle
Copy link
Copy Markdown
Contributor

Refactored Seekable and Seek method in HtmlMediaElement, adding CanGC argument on all its calls.

Testing: No tests needed
Fixes: #39944

@willypuzzle willypuzzle requested a review from gterzian as a code owner October 20, 2025 17:03
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 20, 2025
@jdm jdm changed the title #39944 - Refactored Seekable method in HtmlMediaElement script: Added CanGc to Seekable method in HtmlMediaElement Oct 20, 2025
@jdm jdm changed the title script: Added CanGc to Seekable method in HtmlMediaElement script: Add CanGc to Seekable method in HtmlMediaElement Oct 20, 2025
Copy link
Copy Markdown
Member

@jdm jdm left a comment

Choose a reason for hiding this comment

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

Thanks, this is great! This has a much bigger impact than I originally guessed.

@servo-highfive servo-highfive added S-needs-code-changes Changes have not yet been made that were requested by a reviewer. S-awaiting-review There is new code that needs to be reviewed. and removed S-awaiting-review There is new code that needs to be reviewed. S-needs-code-changes Changes have not yet been made that were requested by a reviewer. labels Oct 20, 2025
@servo-highfive servo-highfive removed the S-awaiting-review There is new code that needs to be reviewed. label Oct 21, 2025
@willypuzzle willypuzzle force-pushed the 39944-HTMLMediaElement-Seekable-needs-a-CanGc-argument branch from 0acbbaa to 1ce4784 Compare October 21, 2025 12:41
@servo-highfive servo-highfive added the S-awaiting-review There is new code that needs to be reviewed. label Oct 21, 2025
@willypuzzle
Copy link
Copy Markdown
Contributor Author

@jdm how can I correct the linting errors in the pipeline?

@Gae24
Copy link
Copy Markdown
Contributor

Gae24 commented Oct 21, 2025

@jdm how can I correct the linting errors in the pipeline?

Rebasing is enough, it was fixed in a previous pr.

@willypuzzle willypuzzle force-pushed the 39944-HTMLMediaElement-Seekable-needs-a-CanGc-argument branch from 1ce4784 to b3499ac Compare October 21, 2025 18:52
@jdm jdm added this pull request to the merge queue Oct 21, 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 Oct 21, 2025
Merged via the queue into servo:main with commit 26ec583 Oct 21, 2025
30 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 Oct 21, 2025
@willypuzzle willypuzzle deleted the 39944-HTMLMediaElement-Seekable-needs-a-CanGc-argument branch October 22, 2025 08:19
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.

HTMLMediaElement::Seekable needs a CanGc argument

5 participants