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

Chore: Fix overloading in WebIDL #194

Open
noamr opened this issue Nov 27, 2023 · 0 comments
Open

Chore: Fix overloading in WebIDL #194

noamr opened this issue Nov 27, 2023 · 0 comments
Assignees

Comments

@noamr
Copy link
Contributor

noamr commented Nov 27, 2023

WebIDL doesn't have a concept of "overloading", where a method is declared in an interface and has new steps in a subclass that inherits from it.
The proper way to do this in WebIDL is to redefine that method in the sub-interface, and define new steps for it.

This is true for PerformanceNavigationTiming that inherits from PerformanceResourceTiming, but also for all the other types of entries that inherit from PerformanceEntry.

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

No branches or pull requests

1 participant