Closed Bug 1474621 Opened Last year Closed 6 months ago
Playback Rate fires ratechange event when it has not actually changed
47 bytes, text/x-phabricator-request
|Details | Review|
User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180703192103 Steps to reproduce: When setting defaultPlaybackRate on an HTML5 audio element to the value it already has, a `ratechange` event fires. See: https://jsfiddle.net/hkqe7Ljv/ Actual results: See above Expected results: No ratechange event should fire, since the value has not actually changed. This is the also the behaviour in Chrome.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3
Assignee: nobody → apehrson
Status: NEW → ASSIGNED
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/4900d67574d7 Ignore same values in SetDefaultPlaybackRate. r=jya
You need to log in before you can comment on or make changes to this bug.