mirror of
https://github.com/servo/servo
synced 2026-05-09 00:22:16 +02:00
The `seek` method isn't explicitly exposed in the API, but is called from various places (`currentTime`, `fastSeek`, by the `media metadata` event) and doesn't itself create new DOM objects, so the `canGC` argument can be omitted. It was previously required because calling the `Seekable` method creates a new `TimeRanges` object, but it will now be replaced by the internal `seekable` method to avoid interaction with the JavaScript engine (and potential garbage collector). The `earlyest possible position` method has been changed to match the specification and use `seekable` instead of `played`. See https://html.spec.whatwg.org/multipage/#earliest-possible-position Testing: No expected changes in tests Signed-off-by: Andrei Volykhin <andrei.volykhin@gmail.com>