<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>27945</bug_id>
          
          <creation_ts>2015-02-03 07:58:28 +0000</creation_ts>
          <short_desc>clarify the value of optional flag at host parser</short_desc>
          <delta_ts>2015-06-15 15:03:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>URL</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jxck">block.rxckin.beats</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>mike</cc>
    
    <cc>rubys</cc>
          
          <qa_contact>sideshowbarker+urlspec</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>117662</commentid>
    <comment_count>0</comment_count>
    <who name="Jxck">block.rxckin.beats</who>
    <bug_when>2015-02-03 07:58:28 +0000</bug_when>
    <thetext>at step 7 of https://url.spec.whatwg.org/#concept-host-parser says

&gt;|
Return asciiDomain if the Unicode flag is unset, and the result of running domain to Unicode on asciiDomain otherwise.
|&lt;

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 &quot;unset&quot; is not clear enough, I can&apos;t be sure 2 or 2+3.
so it seems better to describe default value for flag if it isn&apos;t given.

Jxck</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>117663</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-02-03 08:01:45 +0000</bug_when>
    <thetext>If you&apos;re implementing now, please assume unset. I try to make all flags be unset by default.

Will clarify the specification at some later point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120997</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-06-15 15:03:01 +0000</bug_when>
    <thetext>https://github.com/whatwg/url/commit/468be056536ff579e265a65ca7cacf470f2f8040</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>