mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Auto merge of #24885 - shnmorimoto:implement_mediasession_set_positon_state, r=ferjm
Implement mediasession set positon state <!-- Please describe your changes on the following line: --> fix #24808 > Bonus points if you want to tweak the existing UI by adding a progress bar, and the info about the current position and total duration. I haven't implemented this yet. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #24808 (GitHub issue number if applicable) <!-- Either: --> - [x] There are tests for these changes OR <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
This commit is contained in:
commit
f31a88d85d
13 changed files with 183 additions and 34 deletions
|
@ -1,13 +1,4 @@
|
|||
[idlharness.window.html]
|
||||
[MediaSession interface: calling setPositionState(MediaPositionState) on navigator.mediaSession with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[MediaSession interface: navigator.mediaSession must inherit property "setPositionState(MediaPositionState)" with the proper type]
|
||||
expected: FAIL
|
||||
|
||||
[MediaSession interface: operation setPositionState(MediaPositionState)]
|
||||
expected: FAIL
|
||||
|
||||
[MediaMetadata interface: attribute artwork]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,19 +0,0 @@
|
|||
[positionstate.html]
|
||||
[Test setPositionState with a null value]
|
||||
expected: FAIL
|
||||
|
||||
[Test setPositionState with zero duration]
|
||||
expected: FAIL
|
||||
|
||||
[Test setPositionState with a valid value for forward playback]
|
||||
expected: FAIL
|
||||
|
||||
[Test setPositionState with optional position]
|
||||
expected: FAIL
|
||||
|
||||
[Test setPositionState with only duration]
|
||||
expected: FAIL
|
||||
|
||||
[Test setPositionState with optional playback rate]
|
||||
expected: FAIL
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue