This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
We would like to add an exception when a media playback is rejected by the UA/system to the HTML specification [1] and there isn't really an exception matching the error we want to pin point: - SecurityError is too strong. - InvalidStateError would mean that the object isn't in a valid state which isn't true (could be the browser, the page, ...). - AbortError isn't so bad but already used for user aborted. - OperationError is quite hand-wavy. I believe that a NotAllowedError could be a good error for UA/system blocked requests when done for reasons other than security (user experience mostly). WDYT? :) [1] https://github.com/whatwg/html/issues/505
This was fixed at some point: https://heycam.github.io/webidl/#notallowederror