This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
There's no reason for this to be a promise<any>, since it's only resolved with undefined.
Same thing for the promise returned from update().
And close() and remove().
And setServerCertificate.
And setMediaKeys.
When these were added, void was not acceptable in the grammar. This has changed [1][2], so I will make the change. [1] http://heycam.github.io/webidl/#prod-ReturnType [2] http://heycam.github.io/webidl/#changes
Changed in https://dvcs.w3.org/hg/html-media/rev/7b3dd5a1f571.
https://dvcs.w3.org/hg/html-media/rev/673780061087 updates the algorithms to not "Resolve promise with undefined." "Resolve promise with void" doesn't sound right, so I just said "Resolve promise."