<?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>26197</bug_id>
          
          <creation_ts>2014-06-25 14:56:14 +0000</creation_ts>
          <short_desc>Example for &quot;not file&quot; uses a file URL</short_desc>
          <delta_ts>2014-06-26 12:00:38 +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>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Bratell">bratell</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>mike</cc>
          
          <qa_contact>sideshowbarker+urlspec</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>108321</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Bratell">bratell</who>
    <bug_when>2014-06-25 14:56:14 +0000</bug_when>
    <thetext>http://url.spec.whatwg.org/#parsing

[[
If url&apos;s scheme is not
      &quot;file&quot;, set
      url&apos;s host to
      base&apos;s host and
      url&apos;s port to
      base&apos;s port.

      file:/example.org/
]]

The example for the &quot;scheme is not &quot;file&quot;, ...&quot; uses a file url. Strange.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>108382</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-06-26 12:00:38 +0000</bug_when>
    <thetext>Well, clearly I&apos;m an idiot for thinking that example would be enough. It was introduced here:

https://github.com/whatwg/url/commit/68468e10868914541ca4b36542d413e081916f14

Attempted to clarify it a bit here:

https://github.com/whatwg/url/commit/e3820283d2ca3526b17d9037b86be3d06d2d3b7a

file URL parsing in general needs to be more carefully studied. See bug 23550.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>