Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 42e0cc55104de790da07c2365361218e6586ae3a
      
https://github.com/WebKit/WebKit/commit/42e0cc55104de790da07c2365361218e6586ae3a
  Author: Ryan Reno <[email protected]>
  Date:   2026-03-03 (Tue, 03 Mar 2026)

  Changed paths:
    M Source/WebCore/loader/FrameLoader.cpp
    M Source/WebCore/loader/PingLoader.cpp
    M Source/WebCore/loader/ResourceLoader.cpp
    M Source/WebCore/loader/cache/CachedResourceLoader.cpp

  Log Message:
  -----------
  Content rule list results are used after move in various places during loads.
https://bugs.webkit.org/show_bug.cgi?id=309095
rdar://171597378

Reviewed by Brent Fulgham.

In various places we'll move the results of applying content rule lists and 
then immediately after
check to see if we should block the load based on those results. This will not 
necessarily work
as intended since we've just moved from that object.

No new tests since there is no new behavior.

* Source/WebCore/loader/FrameLoader.cpp:
(WebCore::FrameLoader::loadResourceSynchronously):
* Source/WebCore/loader/PingLoader.cpp:
(WebCore::processContentRuleListsForLoad):
* Source/WebCore/loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::willSendRequestInternal):
* Source/WebCore/loader/cache/CachedResourceLoader.cpp:
(WebCore::CachedResourceLoader::requestResource):

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



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

Reply via email to