<?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>27515</bug_id>
          
          <creation_ts>2014-12-04 14:07:56 +0000</creation_ts>
          <short_desc>Last changes breake external references</short_desc>
          <delta_ts>2015-06-02 11:21:23 +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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</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="Arkadiusz Michalski (Spirit)">crimsteam</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>annevk</cc>
    
    <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>115920</commentid>
    <comment_count>0</comment_count>
    <who name="Arkadiusz Michalski (Spirit)">crimsteam</who>
    <bug_when>2014-12-04 14:07:56 +0000</bug_when>
    <thetext>Hi, I see that last URL spec change a lot of ids, and potentialy may break some external references (like for MDN site). Of course no big deal and external references can always be corrected (if this form is more convenient for the URL specification). New solution looks better, I check this version: https://specs.webplatform.org/url/webspecs/develop/

But I noticed one strange change. Definitions for terms or algorithms now always use uppercase interface&apos;s name:

get the base &gt;&gt; #concept-URLUtils-get-the-base
update steps &gt;&gt; #concept-URLUtils-update
input &gt;&gt; #concept-URLUtils-input
url objects &gt;&gt; #concept-URLSearchParams-url-object
etc.

but all other things use always lowercase names and before change they were always lowercase (like urlutils or urlsearchparams). This applies to all interfaces. Other specifications always use lowercase names for interfaces. Maybe it&apos;s better to use a consistent convention?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115924</commentid>
    <comment_count>1</comment_count>
    <who name="Sam Ruby">rubys</who>
    <bug_when>2014-12-04 15:12:58 +0000</bug_when>
    <thetext>Fixed by https://github.com/whatwg/url/commit/63d5f08b1ce359d980f20920818494df44a20989</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116250</commentid>
    <comment_count>2</comment_count>
    <who name="Arkadiusz Michalski (Spirit)">crimsteam</who>
    <bug_when>2014-12-13 02:15:13 +0000</bug_when>
    <thetext>Back to this bug from:
https://www.w3.org/Bugs/Public/show_bug.cgi?id=27507#c5

So once again:

Last URL spec (WHATWG) break refers around API (https://url.spec.whatwg.org/#api), especialy for &quot;6.3. URLUtils and URLUtilsReadOnly members&quot;.

Example of one that id:
#dom-urlutils-href (now)
#dom-url-href (before)

and other ids for attributes or methods like protocol, username, password etc. (but not algos and concepts &lt;&lt; this are the same)...

So if other docs use them then aren&apos;t work now:
https://developer.mozilla.org/en-US/docs/Web/API/URLUtils.href#Specifications
https://developer.mozilla.org/en-US/docs/Web/API/URLUtils.host#Specifications
https://developer.mozilla.org/en-US/docs/Web/API/URLUtils.port#Specifications

But in my opinion this new wariant is better, all this stuff are definded for URLUtils and URLUtilsReadOnly, not for URL.

And in this document https://specs.webplatform.org/url/webspecs/develop/ you use two nested &lt;dfn&gt;, one for URLUtils and one for URLUtilsReadOnly, and make it more clear:
&lt;dfn id=&quot;dom-urlutilsreadonly-href&quot;&gt;
  &lt;dfn id=&quot;dom-urlutils-href&quot;&gt;&lt;code&gt;href&lt;/code&gt;&lt;/dfn&gt;
&lt;/dfn&gt;

===

But I caught another change; in IDL all ids for interface name have &quot;dom-&quot; prefix, so all old references break now:

Fetch spec refer to URLSearchParams
https://fetch.spec.whatwg.org/#bodyinit
https://fetch.spec.whatwg.org/#concept-bodyinit-extract

MDN
https://developer.mozilla.org/en-US/docs/Web/API/URLUtils#Specifications
https://developer.mozilla.org/en-US/docs/Web/API/URLUtilsReadOnly#Specifications

In other specs from WHATWG (including HTML, and some W3C snapshots) this &quot;dom-&quot; prefix in IDL never exist.

Old solution can be fast checked in this snapshot:
http://w3ctag.github.io/url/

External references can always be corrected but Anne asked me to open bug for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116274</commentid>
    <comment_count>3</comment_count>
    <who name="Sam Ruby">rubys</who>
    <bug_when>2014-12-14 00:30:03 +0000</bug_when>
    <thetext>First, sorry about this.  I developed the conversion to bikeshed in a separate branch and tried not to integrate it until it was ready.  Clearly it wasn&apos;t.

I&apos;ve opened an issue on bikeshed which will account for a number of these differences:

https://github.com/tabatkins/bikeshed/issues/308

Once bikeshed has been updated, I&apos;ll circle back and try to address the remainder of these differences.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120241</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-05-09 09:35:34 +0000</bug_when>
    <thetext>I think the issues from comment 2 are now resolved. Anything left Arkadiusz?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120653</commentid>
    <comment_count>5</comment_count>
    <who name="Arkadiusz Michalski (Spirit)">crimsteam</who>
    <bug_when>2015-06-02 09:45:01 +0000</bug_when>
    <thetext>Probably correct links in MDN but this is job for people from Mozilla.

Btw., what is the future of this spec? Now we have two documents, WHATWAG/W3C and Web Platform Specs which slightly differ (second use railroad diagrams for parser). It&apos;s a bit confusing, I don&apos;t know which version is more recent and more forward-looking.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120656</commentid>
    <comment_count>6</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-06-02 11:20:34 +0000</bug_when>
    <thetext>The version at url.spec.whatwg.org is canonical.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>