[webkit-changes] [WebKit/WebKit] b73789: Fix the logic of resource eligibility check by Res...

Basuke Suzuki noreply at github.com
Wed Feb 19 15:58:41 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b73789151968b8f4f32b4c218a0c6ad5f633fb19
      https://github.com/WebKit/WebKit/commit/b73789151968b8f4f32b4c218a0c6ad5f633fb19
  Author: Basuke Suzuki <basuke at apple.com>
  Date:   2025-02-19 (Wed, 19 Feb 2025)

  Changed paths:
    A LayoutTests/http/tests/iframe-monitor/just-use-eligible-subresource-expected.txt
    A LayoutTests/http/tests/iframe-monitor/just-use-eligible-subresource.html
    A LayoutTests/http/tests/iframe-monitor/resources/iframe-with-eligible-subresource.html
    M Source/WebCore/loader/ResourceLoader.cpp

  Log Message:
  -----------
  Fix the logic of resource eligibility check by ResourceMonitoring.
https://bugs.webkit.org/show_bug.cgi?id=287988
rdar://145155530

Reviewed by Chris Dumez.

If the iframe is not eligible and it just uses eligible sub resources, we shouldn't treat the iframe as eligible.

* LayoutTests/http/tests/iframe-monitor/just-use-eligible-subresource-expected.txt: Added.
* LayoutTests/http/tests/iframe-monitor/just-use-eligible-subresource.html: Added.
* LayoutTests/http/tests/iframe-monitor/resources/iframe-with-eligible-subresource.html: Added.
* Source/WebCore/loader/ResourceLoader.cpp:
(WebCore::ResourceLoader::didReceiveResponse):

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