Implement HTMLMediaElement defaultPlaybackRate and playbackRate attributes

This commit is contained in:
George Roman 2018-11-29 22:31:10 +02:00
parent 44344452e2
commit deb02ab6d7
6 changed files with 126 additions and 57 deletions

View file

@ -1041,10 +1041,10 @@
expected: FAIL
[HTMLMediaElement interface: document.createElement("video") must inherit property "defaultPlaybackRate" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: document.createElement("video") must inherit property "playbackRate" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: document.createElement("video") must inherit property "played" with the proper type]
expected: FAIL
@ -1113,10 +1113,10 @@
expected: FAIL
[HTMLMediaElement interface: document.createElement("audio") must inherit property "defaultPlaybackRate" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: document.createElement("audio") must inherit property "playbackRate" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: document.createElement("audio") must inherit property "played" with the proper type]
expected: FAIL
@ -1248,10 +1248,10 @@
expected: FAIL
[HTMLMediaElement interface: new Audio() must inherit property "defaultPlaybackRate" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: new Audio() must inherit property "playbackRate" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: new Audio() must inherit property "played" with the proper type]
expected: FAIL
@ -1401,10 +1401,10 @@
expected: FAIL
[HTMLMediaElement interface: attribute defaultPlaybackRate]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: attribute playbackRate]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: attribute played]
expected: FAIL
@ -6775,10 +6775,10 @@
expected: FAIL
[HTMLMediaElement interface: document.createElement("video") must inherit property "defaultPlaybackRate" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: document.createElement("video") must inherit property "playbackRate" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: document.createElement("video") must inherit property "seekable" with the proper type]
expected: FAIL
@ -6820,10 +6820,10 @@
expected: FAIL
[HTMLMediaElement interface: document.createElement("audio") must inherit property "defaultPlaybackRate" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: document.createElement("audio") must inherit property "playbackRate" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: document.createElement("audio") must inherit property "seekable" with the proper type]
expected: FAIL
@ -6865,10 +6865,10 @@
expected: FAIL
[HTMLMediaElement interface: new Audio() must inherit property "defaultPlaybackRate" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: new Audio() must inherit property "playbackRate" with the proper type]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: new Audio() must inherit property "seekable" with the proper type]
expected: FAIL
@ -6985,10 +6985,10 @@
expected: FAIL
[HTMLMediaElement interface: attribute defaultPlaybackRate]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: attribute playbackRate]
expected: FAIL
expected: PASS
[HTMLMediaElement interface: attribute seekable]
expected: FAIL

View file

@ -1,27 +0,0 @@
[playbackRate.html]
type: testharness
expected: TIMEOUT
[playbackRate initial value]
expected: FAIL
[setting playbackRate]
expected: TIMEOUT
[playbackRate set to small positive value]
expected: TIMEOUT
[playbackRate set to large positive value]
expected: TIMEOUT
[playbackRate set to small negative value]
expected: TIMEOUT
[playbackRate set to large negative value]
expected: TIMEOUT
[playbackRate set to 0]
expected: TIMEOUT
[playbackRate set to -1]
expected: TIMEOUT