Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: be44d2f8f97f3e729b8da234f3b174a50c7cd3ac
      
https://github.com/WebKit/WebKit/commit/be44d2f8f97f3e729b8da234f3b174a50c7cd3ac
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2025-11-27 (Thu, 27 Nov 2025)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/media-source/mediasource-changetype-play-implicit-expected.txt
    M 
LayoutTests/media/media-source/media-source-multiple-initialization-segments-expected.txt
    M 
LayoutTests/media/media-source/media-source-multiple-initialization-segments.html
    M LayoutTests/platform/mac-wk2/TestExpectations
    M LayoutTests/platform/mac/TestExpectations
    M Source/WebCore/Modules/mediasource/SourceBuffer.cpp

  Log Message:
  -----------
  [MSE] 
imported/w3c/web-platform-tests/media-source/mediasource-changetype-play-implicit
 times out.
https://bugs.webkit.org/show_bug.cgi?id=302692
rdar://164942617

Reviewed by Youenn Fablet.

webkit.org/b/303124 and webkit.org/b/303126 were responsible for error and 
timeouts respectively.
Also, our SourceBuffer was based on an old spec version that forbade switching 
codec
to one different than the one in the original init segment, without calling 
changeType.
This requirement was removed and it become a "MAY". As our architecture supports
changing codecs on the fly (but not container), we completely remove this
artificial limitation.

Covered by existing test, expectations updated.
* 
LayoutTests/imported/w3c/web-platform-tests/media-source/mediasource-changetype-play-implicit-expected.txt:
* 
LayoutTests/media/media-source/media-source-multiple-initialization-segments-expected.txt:
* 
LayoutTests/media/media-source/media-source-multiple-initialization-segments.html:
 Remove test no longer valid per last spec.
* LayoutTests/platform/mac-wk2/TestExpectations:
* LayoutTests/platform/mac/TestExpectations:
* Source/WebCore/Modules/mediasource/SourceBuffer.cpp:
(WebCore::SourceBuffer::validateInitializationSegment):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to