Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 27d7600dce159dcc750aa966c7dd835c7e1c9a6a
      
https://github.com/WebKit/WebKit/commit/27d7600dce159dcc750aa966c7dd835c7e1c9a6a
  Author: Ruthvik Konda <[email protected]>
  Date:   2026-03-06 (Fri, 06 Mar 2026)

  Changed paths:
    M 
LayoutTests/http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt
    M 
LayoutTests/http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame.html
    M 
LayoutTests/http/tests/security/mixedContent/resources/frame-with-redirect-https-to-http-frame.html
    R 
LayoutTests/platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt

  Log Message:
  -----------
  [Site Isolation] Fix redirect-https-to-http-iframe-in-main-frame mixed 
content test
https://bugs.webkit.org/show_bug.cgi?id=309312
rdar://171852022

Reviewed by Sihui Liu.

The redirect-https-to-http-iframe-in-main-frame mixed content test uses
testRunner.dumpFrameLoadCallbacks(), which produces frame load ordering
output that is non-deterministic with Site Isolation enabled. These frame
load callbacks are unnecessary to verify test success — the actual mixed
content blocking is validated via the console message in the expected output.

Remove dumpFrameLoadCallbacks and replace the ad-hoc alert() failure
check with a shouldBe() assertion from js-test-pre.js, matching
conventions used by sibling mixed content tests. Also update the resource
file to use setTimeout instead of onload per rdar://161348735.

No new tests needed (test fix).

* 
LayoutTests/http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt:
* 
LayoutTests/http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame.html:
* 
LayoutTests/http/tests/security/mixedContent/resources/frame-with-redirect-https-to-http-frame.html:
* 
LayoutTests/platform/wk2/http/tests/security/mixedContent/redirect-https-to-http-iframe-in-main-frame-expected.txt:
 Removed.

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



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

Reply via email to