html: The queued <media> volumechange event should be cancellable#40763
html: The queued <media> volumechange event should be cancellable#40763TimvdLippe merged 1 commit intoservo:mainfrom
volumechange event should be cancellable#40763Conversation
|
🔨 Triggering try run (#19535681410) for Linux (WPT) |
|
Test results for linux-wpt from try job (#19535681410): Flaky unexpected result (38)
Stable unexpected results that are known to be intermittent (25)
|
|
✨ Try run (#19535681410) succeeded. |
TimvdLippe
left a comment
There was a problem hiding this comment.
The changes LGTM, but please add a WPT test, given none started passing with this fix.
e49a9cc to
570bf30
Compare
|
🤖 Opened new upstream WPT pull request (web-platform-tests/wpt#56139) with upstreamable changes. |
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#56139) title and body. |
570bf30 to
33fe43b
Compare
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#56139). |
|
✍ Updated existing upstream WPT pull request (web-platform-tests/wpt#56139) title and body. |
Following the HTML specification, on the `volume` or `mute` attrubute changes the user agent must queue a media element task given the media element to fire an event named `volumechange` at the media element (the `generation_id` value will be captured to allow cancel this task - `media-element-load-algorithm` steps 3-5) See https://html.spec.whatwg.org/multipage/#event-media-volumechange See https://html.spec.whatwg.org/multipage/#media-element-load-algorithm Changed the naming of the `playbackRate` and `defaultPlaybackRate` members to match Rust naming conventions (`snake_case`). Testing: Added the `cancellable` subtest to `event_volumechange` test - html/semantics/embedded-content/media-elements/event_volumechange.html Signed-off-by: Andrei Volykhin <[email protected]>
33fe43b to
f9319e9
Compare
|
|
📝 Transplanted new upstreamable changes to existing upstream WPT pull request (web-platform-tests/wpt#56139). |
Following the HTML specification, on the
volumeormuteattrubute changes the user agent must queue a media element task given the media element to fire an event namedvolumechangeat the media element (thegeneration_idvalue will be captured to allow cancel this task -media-element-load-algorithmsteps 3-5)See https://html.spec.whatwg.org/multipage/#event-media-volumechange
See https://html.spec.whatwg.org/multipage/#media-element-load-algorithm
Changed the naming of the
playbackRateanddefaultPlaybackRatemembers to match Rust naming conventions (snake_case).Testing: Added the
cancellablesubtest toevent_volumechangetest