Closed Bug 1382780 Opened 7 years ago Closed 7 years ago

Throw NotSupportedError DomException when playbackRate is unsupported.

Categories

(Core :: Audio/Video: Playback, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla57
Tracking Status
firefox57 --- fixed

People

(Reporter: apacible, Assigned: alwu)

Details

Attachments

(4 files)

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/61.0.3162.0 Safari/537.36




Expected results:

Change to the standard:
https://github.com/whatwg/html/pull/2829

Rendered: search for "the playbackRate attribute gives" in https://html.spec.whatwg.org/multipage/media.html#playing-the-media-resource

Change to tests: https://github.com/w3c/web-platform-tests/pull/6522

Note: this is a change that all browsers need to make.
Component: Untriaged → Audio/Video: Playback
Product: Firefox → Core
Blake - this should be a small job. Can you find someone to do?
Flags: needinfo?(bwu)
Alastor, 
It should be a piece of cake to you. Interested?
Flags: needinfo?(bwu) → needinfo?(alwu)
Assignee: nobody → alwu
Flags: needinfo?(alwu)
Comment on attachment 8900600 [details]
Bug 1382780 - part1 : return NS_ERROR_DOM_NOT_SUPPORTED_ERR for the negative playback rate.

https://reviewboard.mozilla.org/r/171998/#review177334
Attachment #8900600 - Flags: review?(cpearce) → review+
Comment on attachment 8900601 [details]
Bug 1382780 - part2 : separate the value of actual playback rate and media element's attribute.

https://reviewboard.mozilla.org/r/172000/#review177336
Attachment #8900601 - Flags: review?(cpearce) → review+
Comment on attachment 8900602 [details]
Bug 1382780 - part3 : remove the corresponding wpt .ini file.

https://reviewboard.mozilla.org/r/172002/#review177338
Attachment #8900602 - Flags: review?(cpearce) → review+
Comment on attachment 8900639 [details]
Bug 1382780 - part4 : modify tests.

https://reviewboard.mozilla.org/r/172044/#review177346
Attachment #8900639 - Flags: review?(cpearce) → review+
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/12895c62f332
part1 : return NS_ERROR_DOM_NOT_SUPPORTED_ERR for the negative playback rate. r=cpearce
https://hg.mozilla.org/integration/autoland/rev/7f230fbf1a5e
part2 : separate the value of actual playback rate and media element's attribute. r=cpearce
https://hg.mozilla.org/integration/autoland/rev/1a458c014157
part3 : remove the corresponding wpt .ini file. r=cpearce
https://hg.mozilla.org/integration/autoland/rev/7985d03d93db
part4 : modify tests. r=cpearce
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: