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 27945 - clarify the value of optional flag at host parser
Summary: clarify the value of optional flag at host parser
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: URL (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: Unsorted
Assignee: Anne
QA Contact: sideshowbarker+urlspec
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-02-03 07:58 UTC by Jxck
Modified: 2015-06-15 15:03 UTC (History)
2 users (show)

See Also:


Attachments

Description Jxck 2015-02-03 07:58:28 UTC
at step 7 of https://url.spec.whatwg.org/#concept-host-parser says

>|
Return asciiDomain if the Unicode flag is unset, and the result of running domain to Unicode on asciiDomain otherwise.
|<

in this process, unicode flag is optional.
so at this time, flag has three state.

1, given and set
2, given and unset
3, not given

and this "unset" is not clear enough, I can't be sure 2 or 2+3.
so it seems better to describe default value for flag if it isn't given.

Jxck
Comment 1 Anne 2015-02-03 08:01:45 UTC
If you're implementing now, please assume unset. I try to make all flags be unset by default.

Will clarify the specification at some later point.