Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 37c2e6ab592c3248e8ef2adae350c05b583b92be
      
https://github.com/WebKit/WebKit/commit/37c2e6ab592c3248e8ef2adae350c05b583b92be
  Author: Jean-Yves Avenard <[email protected]>
  Date:   2025-10-09 (Thu, 09 Oct 2025)

  Changed paths:
    M 
Source/WebCore/platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm

  Log Message:
  -----------
  WebCoreAVFResourceLoader may give more data than requested.
https://bugs.webkit.org/show_bug.cgi?id=277661
rdar://133256334

Reviewed by Jer Noble.

A logic error could have caused to feed the AVAssetResourceLoadingRequest more 
data
than requested and we would unnecessarily wait for more data to come.
We can also simplify the code a bit by removing some branches.

No observable changes, covered by existing tests.

* 
Source/WebCore/platform/graphics/avfoundation/objc/WebCoreAVFResourceLoader.mm:
(WebCore::WebCoreAVFResourceLoader::responseReceived):
(WebCore::WebCoreAVFResourceLoader::newDataStoredInSharedBuffer):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to