[webkit-changes] [WebKit/WebKit] dc0bb4: Bug: ResourceMonitor uses moved Identifier.

Basuke Suzuki noreply at github.com
Thu Dec 19 18:56:37 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dc0bb4d4dbbfaf15c93cf981af2a6b72d2fec3eb
      https://github.com/WebKit/WebKit/commit/dc0bb4d4dbbfaf15c93cf981af2a6b72d2fec3eb
  Author: Basuke Suzuki <basuke at apple.com>
  Date:   2024-12-19 (Thu, 19 Dec 2024)

  Changed paths:
    M Source/WebKit/WebProcess/WebProcess.cpp

  Log Message:
  -----------
  Bug: ResourceMonitor uses moved Identifier.
https://bugs.webkit.org/show_bug.cgi?id=284992
rdar://141789462

Reviewed by Chris Dumez.

In 288017 at main, the content rule list is delivered from UIProcess to Web Process. When
ContentRuleList is stored in ContentExtensionsBackend, identifier must be supplied. Unfortunately
the identifier value is already moved into the ContentExtension and the value was empty.

To solve this coping the identifier string before use.

* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::setResourceMonitorContentRuleList):

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