Bug 213983 - Allow setting empty host/hostname on URLs if they use file scheme
Summary: Allow setting empty host/hostname on URLs if they use file scheme
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: Safari Technology Preview
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Rob Buis
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-07-05 22:04 PDT by Rob Buis
Modified: 2020-07-06 09:52 PDT (History)
7 users (show)

See Also:


Attachments
Patch (5.43 KB, patch)
2020-07-05 22:12 PDT, Rob Buis
no flags Details | Formatted Diff | Diff

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