Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 98b2a211bb5343e6bac6144a68fcc572bd33e940
      
https://github.com/WebKit/WebKit/commit/98b2a211bb5343e6bac6144a68fcc572bd33e940
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2023-02-27 (Mon, 27 Feb 2023)

  Changed paths:
    M 
LayoutTests/media/media-source/media-managedmse-memorypressure-expected.txt
    M LayoutTests/media/media-source/media-managedmse-memorypressure.html
    M Source/WebCore/html/HTMLMediaElement.cpp
    M Source/WebCore/page/MemoryRelease.cpp

  Log Message:
  -----------
  ManagedMediaSource content should be evicted whenever it is under memory 
pressure
https://bugs.webkit.org/show_bug.cgi?id=252938
rdar://105908445

Reviewed by Youenn Fablet.

Let the MediaElement control when eviction under memory pressure should
occur.

* LayoutTests/media/media-source/media-managedmse-memorypressure-expected.txt:
* LayoutTests/media/media-source/media-managedmse-memorypressure.html:
* Source/WebCore/html/HTMLMediaElement.cpp:
(WebCore::HTMLMediaElement::purgeBufferedDataIfPossible):
* Source/WebCore/page/MemoryRelease.cpp:
(WebCore::releaseCriticalMemory):

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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to