[webkit-changes] [WebKit/WebKit] aba282: [DEBUG] ASSERTION FAILED: m_associatedResources.is...

Przemyslaw Gorszkowski noreply at github.com
Tue Dec 17 22:38:30 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: aba282581bdd1ff1af9b8228557702c034f1be3e
      https://github.com/WebKit/WebKit/commit/aba282581bdd1ff1af9b8228557702c034f1be3e
  Author: Przemyslaw Gorszkowski <pgorszkowski at igalia.com>
  Date:   2024-12-17 (Tue, 17 Dec 2024)

  Changed paths:
    M Source/WebCore/loader/MediaResourceLoader.cpp

  Log Message:
  -----------
  [DEBUG] ASSERTION FAILED: m_associatedResources.isEmptyIgnoringNullReferences().
https://bugs.webkit.org/show_bug.cgi?id=284814

Reviewed by Philippe Normand.

With debug build, when we do a seek during playing the regular video(mp4)
and WPE_SHELL_DISABLE_MEDIA_DISK_CACHE=1 there is an assert:
ASSERTION FAILED: m_associatedResources.isEmptyIgnoringNullReferences().

To solve it, we need to remove MediaResource from the associated resources
on destruction of MediaResouce.

* Source/WebCore/loader/MediaResourceLoader.cpp:
(WebCore::MediaResource::~MediaResource):

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



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


More information about the webkit-changes mailing list