Bug 244629

Summary: Hyperlink navigations to unparseable URLs should never attempt to navigate
Product: WebKit Reporter: Dominic Farolino <domfarolino>
Component: Page LoadingAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: achristensen, ap, beidson, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Dominic Farolino 2022-08-31 13:03:47 PDT
This is basically a duplicate of https://bugs.chromium.org/p/chromium/issues/detail?id=1358340.

As per the navigation and session history rewrite (https://github.com/whatwg/html/pull/6315) we are changing the error case for hyperlink navigations to unparseable URLs to silently fail to navigate.

Safari currently attempts to navigate, and ends up on a broken page with the URL bar updated to the unparseable URL. This should all be caught earlier in WebKit, in HTMLAnchorElement or something.
Comment 1 Radar WebKit Bug Importer 2022-09-07 13:04:17 PDT
<rdar://problem/99661370>