This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 26202 - Variable changes name from host to domain in the host parser in the url spec
Summary: Variable changes name from host to domain in the host parser in the url spec
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: URL (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+urlspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-25 17:15 UTC by Daniel Bratell
Modified: 2014-06-25 17:23 UTC (History)
1 user (show)

See Also:


Attachments

Description Daniel Bratell 2014-06-25 17:15:53 UTC
http://url.spec.whatwg.org/#host-parsing

[[
Let host be the result of
 utf-8 decode without BOM on the
 percent decoding of
 utf-8 encode on input.
 

 Let asciiDomain be the result of running
 domain to ASCII on domain.
]]

Step 3 assigns "host".
Step 4 processes "domain".

I think they refer to the same variable so it should have the same name.