WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 297077
296016
Page crash when loading http: after https:
https://bugs.webkit.org/show_bug.cgi?id=296016
Summary
Page crash when loading http: after https:
Jeff Johnson
Reported
2025-07-15 16:14:04 PDT
Safari Technology Preview 223 on macOS 15.5. The crash does not occur in Safari 18.5. Steps to reproduce: 1. Enter
https://www.kobo.com
in the Safari address bar and press return to open the page 2. Enter
http://www.kobo.com
in the Safari address bar and press return to open the page "This webpage was reloaded because a problem occurred." The bug does not occur if I just load
http://www.kobo.com
by itself (which is promoted to https). I actually discovered the bug using slightly different URLs in the address bar: 1.
https://help.kobo.com/hc/en-us/articles/4408228476567-About-Kobo-Web-Reader
2. kobo.com
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2025-07-16 12:53:56 PDT
I am unable to reproduce this with STP 223 on macOS Tahoe beta, nor in macOS 15.6 beta, not even in an older build of macOS 15.4 that I have around. Could you please attach a crash log? Or if there isn't one, system logs from com.apple.WebKit.* processes would be helpful.
Jeff Johnson
Comment 2
2025-07-16 13:34:55 PDT
Now that you mention it, I can reproduce the bug on macOS Tahoe too. Do you have "Preload Top Hit in the background" enabled (as it is by default)? If so, that may be why you're not seeing it. Please try disabling that setting, or else in step 2, open the web inspector and enter location="
http://www.kobo.com
"
Alexey Proskuryakov
Comment 3
2025-07-16 14:15:16 PDT
It was on, however I still cannot reproduce with it off, and neither when navigating via DOM API like this.
Jeff Johnson
Comment 4
2025-07-16 15:23:08 PDT
Ok, I've figured this out: it's actually a Safari extensions bug! Specifically, it seems, a declarativeNetRequest bug. I can only reproduce the bug if this Safari extension is enabled:
https://apps.apple.com/app/changetheheaders-for-safari/id6743129567
Bizarrely, the bug occurs even if the extension has no access to any website. The extension just needs to be enabled in Safari/STP Extensions Settings.
Radar WebKit Bug Importer
Comment 5
2025-07-16 15:23:18 PDT
<
rdar://problem/156005090
>
Jeff Johnson
Comment 6
2025-09-23 18:35:03 PDT
This bug now exists in Safari 26.0.1 (20622.1.22.118.4), and I can also reproduce it on other websites. For example, if I first load
https://www.cnn.com/2025/09/23/health/health-study-participation-wellness
and then enter cnn.com or
http://cnn.com
in the Safari address bar, it crashes.
Alexey Proskuryakov
Comment 7
2025-09-24 12:58:02 PDT
Thank you for the follow up! This ended up getting fixed via
bug 297077
, and should be resolved in macOS 26.1 first public beta. *** This bug has been marked as a duplicate of
bug 297077
***
Alexey Proskuryakov
Comment 8
2025-09-24 13:30:56 PDT
Please watch
https://developer.apple.com/download/all/
for upcoming Safari 26.1 betas for older OS versions, too.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug