Bug 255601 - Form tag with name "host" freezes the tab on submit
Summary: Form tag with name "host" freezes the tab on submit
Status: RESOLVED MOVED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Forms (show other bugs)
Version: Safari 16
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-04-18 06:38 PDT by manu
Modified: 2023-04-23 14:48 PDT (History)
6 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description manu 2023-04-18 06:38:53 PDT
Submitting a form with name "host" causes Safari 16.4 to crash.
Changing the name to anything else avoids the problem.

Reproduce with this markup:

<form name="host" method="GET">
<input type="submit" value="Submit this form. It may break your Safari browser.">
</form>
Comment 1 Alexey Proskuryakov 2023-04-23 14:48:09 PDT
Thank you for the report. I can reproduce with Safari 16.5 beta on macOS, and this appears to be a Safari issue, not a WebKit one. Moving it over for Apple engineers working on Safari to investigate.
Comment 2 Radar WebKit Bug Importer 2023-04-23 14:48:22 PDT
<rdar://problem/108430465>