Bug 259862
| Summary: | Setting and Getting 'audio.muted' and 'video.muted' via script-created fails | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Media | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | eric.carlson, jer.noble, webkit-bug-importer |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar, WPTImpact |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=119537 | ||
Ahmad Saleem
Hi Team,
I didn't manage to find the bug for failing 'muted.html' WPT test case, so I thought to just create it and fix these:
WPT Test Case: https://wpt.fyi/results/html/semantics/embedded-content/media-elements/user-interface/muted.html?label=master&label=experimental&aligned
WPT Live Test Case: http://wpt.live/html/semantics/embedded-content/media-elements/user-interface/muted.html
Failing test cases:
getting audio.muted with muted="" (script-created)
setting audio.muted with muted="" (script-created)
and
getting video.muted with muted="" (script-created)
setting video.muted with muted="" (script-created)
_______
Just wanted to raise for tracking.
Thanks!
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/113796341>
Ahmad Saleem
In HTMLMediaElement::attributeChanged, I tried adding:
case AttributeNames::mutedAttr:
if (attributeModificationReason == AttributeModificationReason::Parser)
m_muted = true;
return;
But it didn't work.
If I change to m_explicitlyMuted = true; then it progress these four but also fail 12 more. :-(