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

Include MediaSource overload for createObjectURL #100

Closed
saschanaz opened this issue Jun 11, 2018 · 2 comments
Closed

Include MediaSource overload for createObjectURL #100

saschanaz opened this issue Jun 11, 2018 · 2 comments

Comments

@saschanaz
Copy link
Member

saschanaz commented Jun 11, 2018

Currently the MSE spec adds overload for createObjectURL using partial interface, but the Web IDL spec says:

Operations must not be overloaded across interface, partial interface, interface mixin, and partial interface mixin definitions.

We should directly include the overload in the original definition.

@saschanaz saschanaz changed the title Include MediaStream overload for createObjectURL Include MediaSource overload for createObjectURL Jun 11, 2018
@annevk
Copy link
Member

annevk commented Jun 11, 2018

Another reason this is a good idea is that we don't really want to spread this pattern further. It's incredibly leaky and error-prone.

@wolenetz
Copy link
Member

Further: "If [Exposed] appears on an overloaded operation, then it must appear identically on all overloads." per https://heycam.github.io/webidl/#Exposed (as noted by @bzbarsky w3c/media-source#168 (comment))

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

3 participants