[webkit-changes] [WebKit/WebKit] 2a3c80: [WebInspector] assert in NetworkResourcesData with...

Przemyslaw Gorszkowski noreply at github.com
Wed Jan 29 22:50:08 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2a3c800a3d23f72b48d9ed96f66f7feac06254e4
      https://github.com/WebKit/WebKit/commit/2a3c800a3d23f72b48d9ed96f66f7feac06254e4
  Author: Przemyslaw Gorszkowski <pgorszkowski at igalia.com>
  Date:   2025-01-29 (Wed, 29 Jan 2025)

  Changed paths:
    M Source/WebCore/inspector/NetworkResourcesData.cpp

  Log Message:
  -----------
  [WebInspector] assert in NetworkResourcesData with resources containing an UTF8 NBSP character
https://bugs.webkit.org/show_bug.cgi?id=286678

Reviewed by Devin Rousso.

The assert in NetworkResourcesData::ResourceData::decodeDataToContent is
incorrect because there can be situations that the content after
decoding is smaller than the input, so this assert can be removed.

* Source/WebCore/inspector/NetworkResourcesData.cpp:
(WebCore::NetworkResourcesData::ResourceData::decodeDataToContent):

Canonical link: https://commits.webkit.org/289547@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