Auto merge of #22347 - stevesweetney:master, r=ferjm

Implement HTMLMediaElement muted and defaultMuted attributes

<!-- Please describe your changes on the following line: -->
PR for issue  #22291

---
<!-- 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  #22291 (github issue number if applicable).
- [X] There are tests for these changes OR

<!-- 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/22347)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2019-02-25 05:05:09 -05:00 committed by GitHub
commit a28e15e4ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 44 additions and 109 deletions

View file

@ -1,20 +0,0 @@
[event_volumechange.html]
expected: TIMEOUT
[setting audio.muted fires volumechange]
expected: FAIL
[setting video.volume/muted repeatedly fires volumechange repeatedly]
expected: TIMEOUT
[setting audio.volume/muted to the same value does not fire volumechange]
expected: TIMEOUT
[setting video.muted fires volumechange]
expected: FAIL
[setting audio.volume/muted repeatedly fires volumechange repeatedly]
expected: TIMEOUT
[setting video.volume/muted to the same value does not fire volumechange]
expected: TIMEOUT

View file

@ -1,76 +1,13 @@
[muted.html]
[getting audio.muted (script-created)]
expected: FAIL
[getting audio.muted (parser-created)]
expected: FAIL
[getting audio.muted with muted="" (document.write-created)]
expected: FAIL
[getting video.muted with muted="" after load (parser-created)]
expected: FAIL
[cloning video propagates muted (innerHTML-created)]
expected: FAIL
[getting video.muted with muted="" (innerHTML-created)]
expected: FAIL
[setting audio.muted with muted="" (parser-created)]
expected: FAIL
[setting audio.muted (script-created)]
expected: FAIL
[getting video.muted with muted="" (document.write-created)]
expected: FAIL
[getting audio.muted with muted="" (innerHTML-created)]
expected: FAIL
[setting video.muted with muted="" (parser-created)]
expected: FAIL
[getting video.muted with muted="" (script-created)]
expected: FAIL
[setting video.muted (parser-created)]
expected: FAIL
[getting video.muted (parser-created)]
expected: FAIL
[setting audio.muted (parser-created)]
expected: FAIL
[setting video.muted (script-created)]
expected: FAIL
[setting audio.muted with muted="" (script-created)]
expected: FAIL
[cloning video propagates muted (script-created)]
expected: FAIL
[getting audio.muted with muted="" (parser-created)]
expected: FAIL
[getting video.muted (script-created)]
expected: FAIL
[setting video.muted with muted="" (script-created)]
expected: FAIL
[cloning audio propagates muted (innerHTML-created)]
expected: FAIL
[cloning audio propagates muted (script-created)]
expected: FAIL
[getting audio.muted with muted="" (script-created)]
expected: FAIL
[getting video.muted with muted="" (parser-created)]
expected: FAIL