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 upImplement HTMLMediaElement.loop Attribute #23236
Conversation
highfive
commented
Apr 20, 2019
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @SimonSapin (or someone else) soon. |
highfive
commented
Apr 20, 2019
|
Heads up! This PR modifies the following files:
|
|
I am deeply sorry for the late PR. |
|
Also I didn't know where to mention it but I believe that the Fixme comment here, Refers to the can-autoplay-flag, which seems to be the purpose of autoplaying from it's use, servo/components/script/dom/htmlmediaelement.rs Line 1015 in 3282446 So it's probably an arbitary comment. Extremely sorry if it should not be mentioned here. |
|
Thanks for the PR! The code looks good, but we need to change the test expectations a little bit before merging it. I needed to check locally to see why the Please, revert the changes done to |
No need to apologize :). This is a good place to mention it. A new issue would have also work. Indeed, it seems that we can remove this comment from the code. This is likely a spec related question instead. cc @nox Thanks for raising up the issue. |
I filed #23241 |
|
Ok thanks. Will fix up the tests ASAP. |
Rebased and updated the test expectations for HTMLMediaElement in |
|
@bors-servo try=wpt |
[WIP] Implement HTMLMediaElement.loop Attribute <!-- Please describe your changes on the following line: --> Work done for Implementing HTMLMediaElement.loop Attribute, - Uncomment `loop` attribute from webidl - Add make_bool macros for Loop and SetLoop functions - Update the required tests --- <!-- 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 #22290 <!-- Either: --> - [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/23236) <!-- Reviewable:end -->
|
|
|
Thanks! @bors-servo r+ |
|
|
|
@bors-servo r+ |
|
|
Implement HTMLMediaElement.loop Attribute <!-- Please describe your changes on the following line: --> Work done for Implementing HTMLMediaElement.loop Attribute, - Uncomment `loop` attribute from webidl - Add make_bool macros for Loop and SetLoop functions - Update the required tests --- <!-- 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 #22290 <!-- Either: --> - [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/23236) <!-- Reviewable:end -->
|
|
|
@bors-servo retry
|
|
|
Implement HTMLMediaElement.loop Attribute <!-- Please describe your changes on the following line: --> Work done for Implementing HTMLMediaElement.loop Attribute, - Uncomment `loop` attribute from webidl - Add make_bool macros for Loop and SetLoop functions - Update the required tests --- <!-- 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 #22290 <!-- Either: --> - [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/23236) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
Implement HTMLMediaElement.loop Attribute <!-- Please describe your changes on the following line: --> Work done for Implementing HTMLMediaElement.loop Attribute, - Uncomment `loop` attribute from webidl - Add make_bool macros for Loop and SetLoop functions - Update the required tests --- <!-- 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 #22290 <!-- Either: --> - [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/23236) <!-- Reviewable:end -->
|
|
|
Aren't the passing tests supposed to be removed? |
They will be removed in next Sync WPT PR :) |
It doesn't look like they were. |
Update test expectations <!-- Please describe your changes on the following line: --> Some of these tests are passing as of #23236. Were these supposed to be removed? --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- 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/23480) <!-- Reviewable:end -->
Update test expectations <!-- Please describe your changes on the following line: --> Some of these tests are passing as of #23236. Were these supposed to be removed? --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #___ (GitHub issue number if applicable) <!-- 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/23480) <!-- Reviewable:end -->
swarnimarun commentedApr 20, 2019
•
edited by ferjm
Work done for Implementing HTMLMediaElement.loop Attribute,
loopattribute from webidl./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is