Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 07e272b41843c268e00821ed6a92a2afbab9bcbc
      
https://github.com/WebKit/WebKit/commit/07e272b41843c268e00821ed6a92a2afbab9bcbc
  Author: Roberto Rodriguez <[email protected]>
  Date:   2026-06-03 (Wed, 03 Jun 2026)

  Changed paths:
    M 
LayoutTests/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt
    M 
LayoutTests/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials.html
    M LayoutTests/platform/ios-site-isolation/TestExpectations
    M LayoutTests/platform/mac-site-isolation/TestExpectations
    R 
LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt

  Log Message:
  -----------
  [Site Isolation] authentication-after-redirect-stores-wrong-credentials.html 
test reports wrong frame load callbacks
https://bugs.webkit.org/show_bug.cgi?id=316140
rdar://178563457

Reviewed by Sihui Liu.

When site isolation is enabled, the iframe in this test navigates across site 
boundaries (localhost and 127.0.0.1) multiple
times. Each cross-site navigation causes a process swap, which routes through 
different code paths that produce a small number
of callbacks unique to each configuration (for example, 
didReceiveServerRedirectForProvisionalLoadForFrame only fires without
site isolation, while with site isolation a second 
didStartProvisionalLoadForFrame fires instead). The core behavior being
tested, that HTTP credentials stored for one origin are not sent to a different 
origin, works correctly however.

Fix by removing dumpFrameLoadCallbacks from the test so it only checks the 
security-relevant text output. Remove the now
unnecessary wk2 platform expected result and the failure entries from the site 
isolation TestExpectations.

* 
LayoutTests/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt:
* 
LayoutTests/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials.html:
* LayoutTests/platform/ios-site-isolation/TestExpectations:
* LayoutTests/platform/mac-site-isolation/TestExpectations:
* 
LayoutTests/platform/wk2/http/tests/loading/authentication-after-redirect-stores-wrong-credentials/authentication-after-redirect-stores-wrong-credentials-expected.txt:
 Removed.

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



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

Reply via email to