Skip to content

Commit

Permalink
Add the original HTMLMediaError alias for Firefox
Browse files Browse the repository at this point in the history
MediaError is the type of object used for video.error, which was
shipped in Firefox 3.5. When TimeRanges was being implemented for
Firefox 4, it was discovered that MediaError was incorrectly called
HTMLMediaError, and manual testing in Firefox 3.6 confirms that
interface object was exposed. It was fixed here:
https://bugzilla.mozilla.org/show_bug.cgi?id=589561#c4
https://hg.mozilla.org/mozilla-central/rev/37f61e9d618a

The point of this is to avoid the situation in
mdn#7963, where looking for
MediaError makes it seem like it was shipped in Firefox 4.
  • Loading branch information
foolip committed Jan 13, 2021
1 parent 2c12afe commit 1d67427
Showing 1 changed file with 12 additions and 5 deletions.
17 changes: 12 additions & 5 deletions api/MediaError.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,18 @@
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "3.5"
},
"firefox": [
{
"version_added": "4"
},
{
"alternative_name": "HTMLMediaError",
"version_added": "3.5",
"version_removed": "4"
}
],
"firefox_android": {
"version_added": true
"version_added": "4"
},
"ie": {
"version_added": "9"
Expand Down Expand Up @@ -64,7 +71,7 @@
"version_added": "3.5"
},
"firefox_android": {
"version_added": true
"version_added": "4"
},
"ie": {
"version_added": "9"
Expand Down

0 comments on commit 1d67427

Please sign in to comment.