Closed saschanaz closed 5 years ago
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.
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 https://github.com/w3c/media-source/issues/168#issuecomment-410269436)
Currently the MSE spec adds overload for createObjectURL using partial interface, but the Web IDL spec says:
We should directly include the overload in the original definition.