Skip to content

Implement srcObject logic for Blob media providers#23103

Merged
bors-servo merged 1 commit intoservo:masterfrom
ferjm:srcObject
Apr 3, 2019
Merged

Implement srcObject logic for Blob media providers#23103
bors-servo merged 1 commit intoservo:masterfrom
ferjm:srcObject

Conversation

@ferjm
Copy link
Copy Markdown
Contributor

@ferjm ferjm commented Mar 26, 2019

  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • There are tests for these changes

This change is Reviewable

@highfive
Copy link
Copy Markdown

Heads up! This PR modifies the following files:

  • @asajeffrey: components/script/dom/webidls/HTMLMediaElement.webidl, components/script/dom/htmlmediaelement.rs
  • @KiChjang: components/script/dom/webidls/HTMLMediaElement.webidl, components/script/dom/htmlmediaelement.rs

@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Mar 26, 2019
@highfive
Copy link
Copy Markdown

warning Warning warning

  • These commits include an empty title element (<title></title>). Consider adding appropriate metadata.

@servo-wpt-sync
Copy link
Copy Markdown
Collaborator

Opened new PR for upstreamable changes.

Completed upstream sync of web-platform-test changes at web-platform-tests/wpt#16088.

@CYBAI
Copy link
Copy Markdown
Member

CYBAI commented Mar 27, 2019

AppVeyor failed with timeout and Travis complained about WPT manifest 👀

 0:09.30 INFO Diffing old and new manifests /home/travis/build/servo/servo/tests/wpt/mozilla/meta/MANIFEST.json
 0:09.41 /home/travis/build/servo/servo/tests/wpt/mozilla/meta/MANIFEST.json  0  error  mozilla/movie_5.mp4 in manifest but removed from source.  (wpt-manifest)
 0:09.41 ERROR Manifest /home/travis/build/servo/servo/tests/wpt/mozilla/meta/MANIFEST.json is outdated, use |./mach update-manifest| to fix.
 0:09.41 INFO Diffing old and new manifests /home/travis/build/servo/servo/tests/wpt/metadata/MANIFEST.json
 0:15.47 WARNING Manifest /home/travis/build/servo/servo/tests/wpt/metadata/MANIFEST.json contains correct tests but file hashes changed.
 0:15.60 ERROR Manifest /home/travis/build/servo/servo/tests/wpt/metadata/MANIFEST.json is outdated, use |./mach update-manifest| to fix.
 0:15.60 INFO Diffing old and new manifests /home/travis/build/servo/servo/tests/wpt/webgl/meta/MANIFEST.json

@CYBAI CYBAI removed the S-needs-rebase There are merge conflict errors. label Mar 27, 2019
@CYBAI
Copy link
Copy Markdown
Member

CYBAI commented Mar 27, 2019

I saw there's a forced push after @jdm labeled the S-needs-rebase so I removed it 🙇

@servo-wpt-sync
Copy link
Copy Markdown
Collaborator

Transplanted upstreamable changes to existing PR.

Completed upstream sync of web-platform-test changes at web-platform-tests/wpt#16088.

@ferjm
Copy link
Copy Markdown
Contributor Author

ferjm commented Mar 27, 2019

@bors-servo try=wpt

@bors-servo
Copy link
Copy Markdown
Contributor

⌛ Trying commit d156400 with merge 32893f8...

bors-servo pushed a commit that referenced this pull request Mar 27, 2019
Implement srcObject logic for Blob media providers

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes

<!-- 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/23103)
<!-- Reviewable:end -->
@ferjm
Copy link
Copy Markdown
Contributor Author

ferjm commented Mar 27, 2019

r? @Manishearth

I realize that this might not be very useful for the MediaStream case, as we are using the fetch_request path for blobs as well. I guess we would need to generalize and replicate some of the logic of the FetchResponseListener implementation for HTMLMediaElementFetchListener for the MediaStream and MediaSource cases.

@highfive highfive assigned Manishearth and unassigned SimonSapin Mar 27, 2019
@bors-servo
Copy link
Copy Markdown
Contributor

☀️ Test successful - linux-rel-css, linux-rel-wpt, status-taskcluster
State: approved= try=True

@Manishearth
Copy link
Copy Markdown
Member

@bors-servo r+

looks good!

@bors-servo
Copy link
Copy Markdown
Contributor

📌 Commit d156400 has been approved by Manishearth

@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Apr 3, 2019
@bors-servo
Copy link
Copy Markdown
Contributor

⌛ Testing commit d156400 with merge 9454086...

bors-servo pushed a commit that referenced this pull request Apr 3, 2019
Implement srcObject logic for Blob media providers

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes

<!-- 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/23103)
<!-- Reviewable:end -->
@bors-servo
Copy link
Copy Markdown
Contributor

💔 Test failed - linux-rel-wpt

@highfive highfive added S-tests-failed The changes caused existing tests to fail. and removed S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. labels Apr 3, 2019
@bors-servo
Copy link
Copy Markdown
Contributor

⌛ Testing commit d156400 with merge b9b729c...

bors-servo pushed a commit that referenced this pull request Apr 3, 2019
Implement srcObject logic for Blob media providers

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] There are tests for these changes

<!-- 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/23103)
<!-- Reviewable:end -->
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-tests-failed The changes caused existing tests to fail. labels Apr 3, 2019
@bors-servo
Copy link
Copy Markdown
Contributor

☀️ Test successful - android-mac, arm32, arm64, linux-rel-css, linux-rel-wpt, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, magicleap, status-taskcluster
Approved by: Manishearth
Pushing b9b729c to master...

@bors-servo bors-servo merged commit d156400 into servo:master Apr 3, 2019
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants