Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2502369f53465396d09122b4d4761f76eda161ec
      
https://github.com/WebKit/WebKit/commit/2502369f53465396d09122b4d4761f76eda161ec
  Author: Taher Ali <[email protected]>
  Date:   2026-08-04 (Tue, 04 Aug 2026)

  Changed paths:
    A 
LayoutTests/http/tests/webarchive/subresource-with-fragment-identifier-expected.txt
    A 
LayoutTests/http/tests/webarchive/subresource-with-fragment-identifier.html
    M Source/WebCore/loader/DocumentLoader.cpp

  Log Message:
  -----------
  DocumentLoader::subresource() should remove the fragment identifier before 
looking up a resource
https://bugs.webkit.org/show_bug.cgi?id=320918
rdar://183950261

Reviewed by Chris Dumez.

CachedResourceLoader::cachedResource(const URL&) requires its caller to have
already removed the fragment identifier otherwise it asserts.

* Source/WebCore/loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::subresource const):
* 
LayoutTests/http/tests/webarchive/subresource-with-fragment-identifier-expected.txt:
 Added.
* LayoutTests/http/tests/webarchive/subresource-with-fragment-identifier.html: 
Added.

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



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

Reply via email to