Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 93b599ee4b957ae9f803c133528d4bc33c88b02e
      
https://github.com/WebKit/WebKit/commit/93b599ee4b957ae9f803c133528d4bc33c88b02e
  Author: Basuke Suzuki <[email protected]>
  Date:   2025-03-11 (Tue, 11 Mar 2025)

  Changed paths:
    M 
LayoutTests/http/tests/security/mixedContent/insecure-localhost-image-in-main-frame-UpgradeMixedContent-expected.txt
    M 
LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-localhost-image.html
    M Source/WebCore/loader/MixedContentChecker.cpp
    M Source/WebCore/loader/MixedContentChecker.h
    M Tools/TestWebKitAPI/Tests/WebCore/MixedContentChecker.cpp

  Log Message:
  -----------
  REGRESSION (iOS 18): Loading is blocked when trying to load localhost content 
from HTTPS website
https://bugs.webkit.org/show_bug.cgi?id=279249
rdar://135479521

Reviewed by Matthew Finkel.

Those are treated as potentially trustworthy origin. It is defined in secure 
context.
https://w3c.github.io/webappsec-secure-contexts/#is-url-trustworthy

* 
LayoutTests/http/tests/security/mixedContent/insecure-localhost-image-in-main-frame-UpgradeMixedContent-expected.txt:
* 
LayoutTests/http/tests/security/mixedContent/resources/frame-with-insecure-localhost-image.html:
* Source/WebCore/loader/MixedContentChecker.cpp:
(WebCore::logConsoleWarningForUpgrade):
(WebCore::MixedContentChecker::shouldUpgradeInsecureContent):
(WebCore::MixedContentChecker::canModifyRequest):
(WebCore::shouldBlockInsecureContent):
* Source/WebCore/loader/MixedContentChecker.h:
* Tools/TestWebKitAPI/Tests/WebCore/MixedContentChecker.cpp:
(TestWebKitAPI::TEST(MixedContentChecker, CanModifyRequest)):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to