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 upImplementing HTMLMediaElement.volume attribute #22324
Conversation
highfive
commented
Nov 30, 2018
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @Manishearth (or someone else) soon. |
highfive
commented
Nov 30, 2018
|
Heads up! This PR modifies the following files:
|
highfive
commented
Nov 30, 2018
|
Thanks for your work on this! I only have minor comments, once you address them, please squash your commits and we can land this! |
|
Before we merge this, we'll want to pass the volume to the actual player. |
Sorry, I didn't get it. |
5d574be
to
e00b016
|
Right now all we do is store and retrieve a value from a local member. The volume of the media stream is not affected; we need to add |
Sure, it makes sense, so, I've created this P.R. handling it. As @ferjm said I don't think get_volume at player trait should be necessary. |
e00b016
to
207f95e
Yeah, I don't think we need a getter in this case as we have the value already available on the DOM side. |
|
Hi Sirs, |
|
|
@bors-servo try=wpt |
…lume_attribute, r=<try> Implementing HTMLMediaElement.volume attribute <!-- Please describe your changes on the following line: --> Work In Progress. Do not Accept. This P.R. is going to implement the volume attribute to the HTMLMediaElement --- <!-- 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 #22292. <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/22324) <!-- Reviewable:end -->
|
|
|
That failure is #22062. |
We are missing the
Did you try the |
…lume_attribute, r=<try> Implementing HTMLMediaElement.volume attribute <!-- Please describe your changes on the following line: --> Work In Progress. Do not Accept. This P.R. is going to implement the volume attribute to the HTMLMediaElement --- <!-- 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 #22292. <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- 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/22324) <!-- Reviewable:end -->
|
|
|
It seems that this patch makes an extra test pass :). Update the test expectations for /html/semantics/embedded-content/media-elements/playing-the-media-resource/pause-remove-from-document.html and squash the commits please. |
|
|
46c4fc7
to
211f358
d43265e
to
a2020fc
Done sir, And how about this conflict, I don't know what's going on. |
|
The merge conflict means that your patch does not apply cleanly on the current master. You need to rebase your patch on top of the current master. |
a2020fc
to
e7be09d
e7be09d
to
ad3ec61
|
@bors-servo r+ |
|
|
…lume_attribute, r=ferjm Implementing HTMLMediaElement.volume attribute <!-- Please describe your changes on the following line: --> This P.R. is going to implement the volume attribute to the HTMLMediaElement --- <!-- 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 #22292. <!-- Either: --> - [x] There are tests for these changes <!-- 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/22324) <!-- Reviewable:end -->
|
@bors-servo retry |
…lume_attribute, r=ferjm Implementing HTMLMediaElement.volume attribute <!-- Please describe your changes on the following line: --> This P.R. is going to implement the volume attribute to the HTMLMediaElement --- <!-- 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 #22292. <!-- Either: --> - [x] There are tests for these changes <!-- 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/22324) <!-- Reviewable:end -->
|
|
lucasfantacuci commentedNov 30, 2018
•
edited
This P.R. is going to implement the volume attribute to the HTMLMediaElement
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is