-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
html: The queued <media> volumechange event should be cancellable
#40763
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
🔨 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 <andrei.volykhin@gmail.com>
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