Bug 213983

Summary: Allow setting empty host/hostname on URLs if they use file scheme
Product: WebKit Reporter: Rob Buis <rbuis>
Component: New BugsAssignee: Rob Buis <rbuis>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, cdumez, changseok, esprehn+autocc, ews-watchlist, gyuyoung.kim, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Rob Buis 2020-07-05 22:04:49 PDT
Allow setting empty host/hostname on URLs if they use file scheme [1, 2, 3].

[1] https://url.spec.whatwg.org/#dom-url-host
[2] https://url.spec.whatwg.org/#dom-url-hostname
[3] https://url.spec.whatwg.org/#host-state Step 1
Comment 1 Rob Buis 2020-07-05 22:12:08 PDT
Created attachment 403574 [details]
Patch
Comment 2 EWS 2020-07-06 09:51:45 PDT
Committed r263971: <https://trac.webkit.org/changeset/263971>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 403574 [details].
Comment 3 Radar WebKit Bug Importer 2020-07-06 09:52:14 PDT
<rdar://problem/65135935>