Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate a trait abstracting over all known DOM interfaces #34357

Merged
merged 3 commits into from
Nov 24, 2024

Conversation

jdm
Copy link
Member

@jdm jdm commented Nov 23, 2024

As part of #1799, we need a trait with associated types for all DOM interfaces so the generated bindings do not need to refer to concrete types. This PR generates that trait and parameterizes all generated interface traits over it, without changing any other binding logic. This remove a source of rebase pain from #33416, and helps minimize the code generation logic changes for the remaining work.


jdm added 3 commits November 23, 2024 12:05
…ted Methods traits over it.

Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
Signed-off-by: Josh Matthews <josh@joshmatthews.net>
@jdm jdm added this pull request to the merge queue Nov 24, 2024
Merged via the queue into servo:main with commit e956f31 Nov 24, 2024
21 checks passed
@jdm jdm deleted the extra-methods-type branch November 24, 2024 08:41
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.

2 participants