mirror of
https://github.com/servo/servo.git
synced 2025-08-07 06:25:32 +01:00
Implement load, canPlayType, and error APIs for media elements.
This commit is contained in:
parent
eae27adc4a
commit
5960fbe604
13 changed files with 121 additions and 148 deletions
|
@ -2619,9 +2619,6 @@
|
|||
[HTMLVideoElement interface: document.createElement("video") must inherit property "poster" with the proper type (4)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "error" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "crossOrigin" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2631,15 +2628,6 @@
|
|||
[HTMLMediaElement interface: document.createElement("video") must inherit property "buffered" with the proper type (10)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "load" with the proper type (11)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "canPlayType" with the proper type (12)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: calling canPlayType(DOMString) on document.createElement("video") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("video") must inherit property "seeking" with the proper type (19)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2721,9 +2709,6 @@
|
|||
[HTMLMediaElement interface: calling addTextTrack(TextTrackKind,DOMString,DOMString) on document.createElement("video") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "error" with the proper type (0)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "crossOrigin" with the proper type (3)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -2733,15 +2718,6 @@
|
|||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "buffered" with the proper type (10)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "load" with the proper type (11)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "canPlayType" with the proper type (12)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: calling canPlayType(DOMString) on document.createElement("audio") with too few arguments must throw TypeError]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: document.createElement("audio") must inherit property "seeking" with the proper type (19)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3078,9 +3054,6 @@
|
|||
[HTMLTrackElement interface: document.createElement("track") must inherit property "track" with the proper type (10)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute error]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute crossOrigin]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3090,12 +3063,6 @@
|
|||
[HTMLMediaElement interface: attribute buffered]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: operation load()]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: operation canPlayType(DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[HTMLMediaElement interface: attribute seeking]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -3171,45 +3138,6 @@
|
|||
[HTMLMediaElement interface: operation addTextTrack(TextTrackKind,DOMString,DOMString)]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: existence and properties of interface object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface object length]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: existence and properties of interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: existence and properties of interface prototype object's "constructor" property]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_ABORTED on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_ABORTED on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_NETWORK on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_NETWORK on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_DECODE on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_DECODE on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_SRC_NOT_SUPPORTED on interface object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: constant MEDIA_ERR_SRC_NOT_SUPPORTED on interface prototype object]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface: attribute code]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError must be primary interface of errorVideo.error]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -8259,9 +8187,6 @@
|
|||
[HTMLPictureElement interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[MediaError interface object name]
|
||||
expected: FAIL
|
||||
|
||||
[AudioTrackList interface object name]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,18 +1,12 @@
|
|||
[error.html]
|
||||
type: testharness
|
||||
expected: TIMEOUT
|
||||
[audio.error initial value]
|
||||
expected: FAIL
|
||||
|
||||
[audio.error after successful load]
|
||||
expected: TIMEOUT
|
||||
|
||||
[audio.error after setting src to the empty string]
|
||||
expected: TIMEOUT
|
||||
|
||||
[video.error initial value]
|
||||
expected: FAIL
|
||||
|
||||
[video.error after successful load]
|
||||
expected: TIMEOUT
|
||||
|
||||
|
|
|
@ -6,18 +6,12 @@
|
|||
[video/x-new-fictional-format]
|
||||
expected: FAIL
|
||||
|
||||
[audio/mp4 (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[audio/mp4; codecs="mp4a.40.2" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[audio/mp4 with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[audio/ogg (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[audio/ogg; codecs="opus" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -27,18 +21,12 @@
|
|||
[audio/ogg with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[audio/wav (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[audio/wav; codecs="1" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[audio/wav with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[audio/webm (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[audio/webm; codecs="opus" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -48,27 +36,15 @@
|
|||
[audio/webm with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[video/3gpp (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/3gpp; codecs="samr" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/3gpp; codecs="mp4v.20.8" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/3gpp codecs subset]
|
||||
expected: FAIL
|
||||
|
||||
[video/3gpp codecs order]
|
||||
expected: FAIL
|
||||
|
||||
[video/3gpp with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4 (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4; codecs="mp4a.40.2" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -90,18 +66,9 @@
|
|||
[video/mp4; codecs="mp4v.20.240" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4 codecs subset]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4 codecs order]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4 with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[video/ogg (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/ogg; codecs="opus" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -111,18 +78,9 @@
|
|||
[video/ogg; codecs="theora" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/ogg codecs subset]
|
||||
expected: FAIL
|
||||
|
||||
[video/ogg codecs order]
|
||||
expected: FAIL
|
||||
|
||||
[video/ogg with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[video/webm (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/webm; codecs="opus" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
|
@ -141,12 +99,30 @@
|
|||
[video/webm; codecs="vp9.0" (optional)]
|
||||
expected: FAIL
|
||||
|
||||
[video/webm codecs subset]
|
||||
expected: FAIL
|
||||
|
||||
[video/webm codecs order]
|
||||
expected: FAIL
|
||||
|
||||
[video/webm with bogus codec]
|
||||
expected: FAIL
|
||||
|
||||
[audio/mp4 with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
[audio/ogg with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
[audio/wav with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
[audio/webm with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
[video/3gpp with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
[video/mp4 with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
[video/ogg with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
[video/webm with and without codecs]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
[tex-image-and-sub-image-2d-with-video-rgb565.html]
|
||||
type: testharness
|
||||
[WebGL test #0: video.canPlayType required method missing]
|
||||
expected: FAIL
|
||||
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
[tex-image-and-sub-image-2d-with-video-rgba4444.html]
|
||||
type: testharness
|
||||
[WebGL test #0: video.canPlayType required method missing]
|
||||
expected: FAIL
|
||||
|
||||
expected: TIMEOUT
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
[tex-image-and-sub-image-2d-with-video-rgba5551.html]
|
||||
type: testharness
|
||||
[WebGL test #0: video.canPlayType required method missing]
|
||||
expected: FAIL
|
||||
|
||||
expected: TIMEOUT
|
||||
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
[tex-image-and-sub-image-2d-with-video.html]
|
||||
type: testharness
|
||||
[WebGL test #0: video.canPlayType required method missing]
|
||||
expected: FAIL
|
||||
|
||||
expected: TIMEOUT
|
||||
[WebGL test #0: Unable to fetch WebGL rendering context for Canvas]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -192,6 +192,7 @@ var interfaceNamesInGlobalScope = [
|
|||
"Image",
|
||||
"KeyboardEvent",
|
||||
"Location",
|
||||
"MediaError",
|
||||
"MessageEvent",
|
||||
"MimeType",
|
||||
"MimeTypeArray",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue