Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd task source for media element #21879
Conversation
ghost
commented
Oct 6, 2018
No Taskcluster jobs started for this pull requestThe `allowPullRequests` configuration for this repository (in `.taskcluster.yml` on the
default branch) does not allow starting tasks for this pull request. |
highfive
commented
Oct 6, 2018
|
Heads up! This PR modifies the following files:
|
highfive
commented
Oct 6, 2018
| @@ -619,9 +615,7 @@ impl HTMLMediaElement { | |||
| let this = Trusted::new(self); | |||
| let generation_id = self.generation_id.get(); | |||
| self.take_pending_play_promises(Err(Error::NotSupported)); | |||
| // FIXME(nox): Why are errors silenced here? | |||
This comment has been minimized.
This comment has been minimized.
|
@ferjm Ok.Thanks for your review. |
09ba080
to
5f62b64
|
Looks better now :) Thanks for the rebase. I think there are only two things left to fix here:
|
| use task_source::{TaskSource, TaskSourceName}; | ||
|
|
||
| #[derive(Clone, JSTraceable)] | ||
| pub struct MediaElementTaskSource(pub Sender<MainThreadScriptMsg>, pub PipelineId); |
This comment has been minimized.
This comment has been minimized.
ferjm
Oct 10, 2018
Member
This Sender needs to be a servo_channel::Sender instead of a std::sync::mpsc::Sender
5f62b64
to
3e50fda
|
One last change ;) https://travis-ci.org/servo/servo/jobs/439558351#L447 Tip: you can check that tidy is happy with the patch by running |
3e50fda
to
7b3cf27
|
@bors-servo try |
Add task source for media element <!-- Please describe your changes on the following line: --> --- <!-- 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 fix #21612 . - [x] These changes do not require tests because the existing test should cover this code. <!-- 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/21879) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
Add task source for media element <!-- Please describe your changes on the following line: --> --- <!-- 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 fix #21612 . - [x] These changes do not require tests because the existing test should cover this code. <!-- 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/21879) <!-- Reviewable:end -->
|
|
|
@bors-servo try retry |
Add task source for media element <!-- Please describe your changes on the following line: --> --- <!-- 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 fix #21612 . - [x] These changes do not require tests because the existing test should cover this code. <!-- 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/21879) <!-- Reviewable:end -->
|
|
|
@bors-servo r+ |
|
|
Add task source for media element <!-- Please describe your changes on the following line: --> --- <!-- 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 fix #21612 . - [x] These changes do not require tests because the existing test should cover this code. <!-- 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/21879) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
|
|
|
|
chansuke commentedOct 6, 2018
•
edited by SimonSapin
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is