Bug 255185
Summary: | MediaPlayer::buffered() & co. should return a PlatformTimeRanges() | ||
---|---|---|---|
Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
Component: | Media | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Jean-Yves Avenard [:jya]
The current code continuously allocates objects on the heap when ultimately there's no need for it.
Likely also the case for MediaPlayer::seekable() and similar; though the HTMLMediaElement has an unfortunate history of returning a new object for all its buffered range attribute.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/107775841>
Jean-Yves Avenard [:jya]
Pull request: https://github.com/WebKit/WebKit/pull/12552
EWS
Committed 262863@main (fc4da4586f6b): <https://commits.webkit.org/262863@main>
Reviewed commits have been landed. Closing PR #12552 and removing active labels.