[Webkit-unassigned] [Bug 225630] [MSE] QuotaExceededError Exception not thrown even if the sum of totalTrackBufferSize and appendBuffer size exceeds maximumBufferSize.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat May 15 19:20:37 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=225630

Peng Liu <peng.liu6 at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |peng.liu6 at apple.com

--- Comment #4 from Peng Liu <peng.liu6 at apple.com> ---
Comment on attachment 428237
  --> https://bugs.webkit.org/attachment.cgi?id=428237
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=428237&action=review

> Source/WebCore/Modules/mediasource/SourceBuffer.cpp:494
> +    if (m_private->bufferFull() || m_private->totalTrackBufferSizeInBytes() + m_pendingAppendData.capacity() + size >= maximumBufferSize()) {

Looks like this won't work when "Media in GPU Process" is enabled. `SourceBufferPrivateRemote` does not provide a correct implementation of totalTrackBufferSizeInBytes().

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210516/6bfc074a/attachment-0001.htm>


More information about the webkit-unassigned mailing list