Bug 244629 - Hyperlink navigations to unparseable URLs should never attempt to navigate
Summary: Hyperlink navigations to unparseable URLs should never attempt to navigate
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-08-31 13:03 PDT by Dominic Farolino
Modified: 2022-09-07 13:04 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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>