Bug 233170

Summary: [Win][MiniBrowser][WK2] Show a message box for a provisional navigation failure
Product: WebKit Reporter: Fujii Hironori <Hironori.Fujii>
Component: Tools / TestsAssignee: Fujii Hironori <Hironori.Fujii>
Status: RESOLVED FIXED    
Severity: Normal CC: don.olmstead, ross.kirsling, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Fujii Hironori 2021-11-15 22:20:14 PST
[Win][MiniBrowser][WK2] Show a message box for a navigation error

1. Start WinCairo MiniBrowser
2. Go to https://twitter.com/kmiura/status/1459521026153345033
3. Click the link
4. the page not loaded, but no error message shown
Comment 1 Fujii Hironori 2021-11-15 22:24:51 PST
The link redirects to <https://timeway.vivian.jp/kougi-1.html>.
But, the web site has an SSL error.
Chrome, Firefox, Safari fallback to http <http://timeway.vivian.jp/kougi-1.html>.
Comment 2 Fujii Hironori 2021-11-15 22:33:40 PST
Created attachment 444347 [details]
Patch
Comment 3 Fujii Hironori 2021-11-15 23:28:36 PST
(In reply to Fujii Hironori from comment #1)
> Chrome, Firefox, Safari fallback to http
> <http://timeway.vivian.jp/kougi-1.html>.

No. This isn't correct.
Twitter's short URL <https://t.co/GivMLMKP7d?amp=1> sends the http URL for the browsers by checking User-Agent.
Comment 4 Fujii Hironori 2021-11-16 11:50:03 PST
Comment on attachment 444347 [details]
Patch

Clearing flags on attachment: 444347

Committed r285876 (244302@main): <https://commits.webkit.org/244302@main>
Comment 5 Fujii Hironori 2021-11-16 11:50:07 PST
All reviewed patches have been landed.  Closing bug.
Comment 6 Radar WebKit Bug Importer 2021-11-16 11:51:26 PST
<rdar://problem/85468484>