Auto merge of #21999 - asajeffrey:script-dummy-media-position-changed, r=ferjm

Update servo-media

<!-- Please describe your changes on the following line: -->

Get servo to compile against servo-media master.

---
<!-- 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 do not require tests because updating a dependency

<!-- 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. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21999)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-10-23 15:24:24 -04:00 committed by GitHub
commit b19f9d9c5b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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