[webkit-changes] [WebKit/WebKit] f373c6: [MSE] SourceBuffer.buffered should return the same...

Jean-Yves Avenard noreply at github.com
Sun Mar 19 17:42:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f373c652ff7f6b7fe1a00439c731a9f99dd27344
      https://github.com/WebKit/WebKit/commit/f373c652ff7f6b7fe1a00439c731a9f99dd27344
  Author: Jean-Yves Avenard <jya at apple.com>
  Date:   2023-03-19 (Sun, 19 Mar 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/media-source/mediasource-buffered-expected.txt
    M LayoutTests/imported/w3c/web-platform-tests/media-source/mediasource-buffered.html
    M Source/WebCore/Modules/mediasource/SourceBuffer.cpp
    M Source/WebCore/Modules/mediasource/SourceBuffer.h

  Log Message:
  -----------
  [MSE] SourceBuffer.buffered should return the same object if it's not modified
https://bugs.webkit.org/show_bug.cgi?id=253883
rdar://106695698

Reviewed by Eric Carlson.

Per spec https://w3c.github.io/media-source/#dom-sourcebuffer-buffered
step 5. "If intersection ranges does not contain the exact same range
information as the current value of this attribute, then update the current
value of this attribute to intersection ranges."

A change following a bug lodged in https://www.w3.org/Bugs/Public/show_bug.cgi?id=27790

* LayoutTests/imported/w3c/web-platform-tests/media-source/mediasource-buffered-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/media-source/mediasource-buffered.html:
* Source/WebCore/Modules/mediasource/SourceBuffer.cpp:
(WebCore::SourceBuffer::buffered):
(WebCore::SourceBuffer::buffered const): Deleted.
* Source/WebCore/Modules/mediasource/SourceBuffer.h:

Canonical link: https://commits.webkit.org/261848@main




More information about the webkit-changes mailing list