Updated servo-media

This commit is contained in:
Alan Jeffrey 2018-10-22 10:01:03 -05:00
parent 2304f02123
commit 4282141c14
4 changed files with 14 additions and 8 deletions

10
Cargo.lock generated
View file

@ -3259,7 +3259,7 @@ dependencies = [
[[package]]
name = "servo-media"
version = "0.1.0"
source = "git+https://github.com/servo/media#b274b9636d4f90e44835735279674c1279e75592"
source = "git+https://github.com/servo/media#a9cfeabf1616ef680473836098784884388156ee"
dependencies = [
"servo-media-audio 0.1.0 (git+https://github.com/servo/media)",
"servo-media-gstreamer 0.1.0 (git+https://github.com/servo/media)",
@ -3269,7 +3269,7 @@ dependencies = [
[[package]]
name = "servo-media-audio"
version = "0.1.0"
source = "git+https://github.com/servo/media#b274b9636d4f90e44835735279674c1279e75592"
source = "git+https://github.com/servo/media#a9cfeabf1616ef680473836098784884388156ee"
dependencies = [
"boxfnonce 0.1.0 (registry+https://github.com/rust-lang/crates.io-index)",
"byte-slice-cast 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
@ -3286,7 +3286,7 @@ dependencies = [
[[package]]
name = "servo-media-gstreamer"
version = "0.1.0"
source = "git+https://github.com/servo/media#b274b9636d4f90e44835735279674c1279e75592"
source = "git+https://github.com/servo/media#a9cfeabf1616ef680473836098784884388156ee"
dependencies = [
"byte-slice-cast 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)",
"glib 0.6.0 (registry+https://github.com/rust-lang/crates.io-index)",
@ -3304,7 +3304,7 @@ dependencies = [
[[package]]
name = "servo-media-player"
version = "0.1.0"
source = "git+https://github.com/servo/media#b274b9636d4f90e44835735279674c1279e75592"
source = "git+https://github.com/servo/media#a9cfeabf1616ef680473836098784884388156ee"
dependencies = [
"ipc-channel 0.11.0 (registry+https://github.com/rust-lang/crates.io-index)",
"serde 1.0.66 (registry+https://github.com/rust-lang/crates.io-index)",
@ -3400,7 +3400,7 @@ dependencies = [
[[package]]
name = "servo_media_derive"
version = "0.1.0"
source = "git+https://github.com/servo/media#b274b9636d4f90e44835735279674c1279e75592"
source = "git+https://github.com/servo/media#a9cfeabf1616ef680473836098784884388156ee"
dependencies = [
"quote 0.5.1 (registry+https://github.com/rust-lang/crates.io-index)",
"syn 0.13.1 (registry+https://github.com/rust-lang/crates.io-index)",

View file

@ -1038,6 +1038,9 @@ impl HTMLMediaElement {
},
_ => {},
},
PlayerEvent::PositionChanged(_) => {
// TODO: Support for HTMLMediaElement seeking and related API properties #21998
},
PlayerEvent::EndOfStream => {
// https://html.spec.whatwg.org/multipage/#media-data-processing-steps-list
// => "If the media data can be fetched but is found by inspection to be in

View file

@ -1,9 +1,8 @@
[event_timeupdate_noautoplay.html]
type: testharness
expected: TIMEOUT
[calling play() on a sufficiently long audio should trigger timeupdate event]
expected: NOTRUN
expected: FAIL
[calling play() on a sufficiently long video should trigger timeupdate event]
expected: NOTRUN
expected: FAIL

View file

@ -0,0 +1,4 @@
[readyState_during_loadeddata.html]
type: testharness
[video.readyState should be >= HAVE_CURRENT_DATA during loadeddata event]
expected: FAIL