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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>27138</bug_id>
          
          <creation_ts>2009-07-09 17:09:51 -0700</creation_ts>
          <short_desc>LayoutTests/fast/dom/anchor-toString.html is unnecessarily platform-specific</short_desc>
          <delta_ts>2009-07-10 13:27:04 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://trac.webkit.org/browser/trunk/LayoutTests/fast/dom/anchor-toString.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dirk Pranke">dpranke</reporter>
          <assigned_to name="Dirk Pranke">dpranke</assigned_to>
          <cc>darin</cc>
    
    <cc>dglazkov</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>130772</commentid>
    <comment_count>0</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2009-07-09 17:09:51 -0700</bug_when>
    <thetext>the above test refers to an &lt;a href=&quot;/sometestfile.html&quot;&gt; and checks that the resulting toString() produces valid output. If the test is being run over a filesystem, this will translate to &quot;/sometestfile.html&quot; on most unix systems, but on Windows this is actually implementation-dependent, and could legitimately return either &quot;file:///sometestfile.html&quot; or &quot;file://C:/sometestfile.html&quot; (or another drive letter). 

Since this test doesn&apos;t really seem to be testing the semantics of relative-URL parsing on file: URLs, I think it makes sense to change it to &quot;http://localhost/sometestfile.html&quot; to get something platform-independent.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130775</commentid>
    <comment_count>1</comment_count>
      <attachid>32541</attachid>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2009-07-09 17:21:40 -0700</bug_when>
    <thetext>Created attachment 32541
patch to make test case less platform-specific</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130777</commentid>
    <comment_count>2</comment_count>
      <attachid>32541</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-07-09 17:24:13 -0700</bug_when>
    <thetext>Comment on attachment 32541
patch to make test case less platform-specific

How exactly is file:/// platform-specific? Are there platforms that don&apos;t use file URLs?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130783</commentid>
    <comment_count>3</comment_count>
      <attachid>32541</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-07-09 17:42:30 -0700</bug_when>
    <thetext>Comment on attachment 32541
patch to make test case less platform-specific

&gt; +                * fast/dom/anchor-toString-expected.txt:
&gt; +        * fast/dom/anchor-toString.html:

Strange indentation here.

r=me

Sorry, I missed the comment explaining what &quot;platform-dependent&quot; meant. I think the comment would have been a lot clearer if it just specifically called out Windows drive letters in URLs as the issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130784</commentid>
    <comment_count>4</comment_count>
    <who name="Darin Adler">darin</who>
    <bug_when>2009-07-09 17:43:09 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Since this test doesn&apos;t really seem to be testing the semantics of relative-URL
&gt; parsing on file: URLs

What do you mean about relative-URL parsing? Aren&apos;t these absolute URLs?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130788</commentid>
    <comment_count>5</comment_count>
    <who name="Dirk Pranke">dpranke</who>
    <bug_when>2009-07-09 17:51:00 -0700</bug_when>
    <thetext>The test case has &lt;a href=&quot;/sometestfile.html&quot;&gt;, which is a relative URL, not an absolute URL. You are right that the comment probably would&apos;ve been clearer if I&apos;d just mentioned windows drive letters. Also, the formatting in the changelog was off due to tabs not expanding properly, I think.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130930</commentid>
    <comment_count>6</comment_count>
    <who name="Dimitri Glazkov (Google)">dglazkov</who>
    <bug_when>2009-07-10 13:27:04 -0700</bug_when>
    <thetext>Landed as http://trac.webkit.org/changeset/45722.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>32541</attachid>
            <date>2009-07-09 17:21:40 -0700</date>
            <delta_ts>2009-07-09 17:42:30 -0700</delta_ts>
            <desc>patch to make test case less platform-specific</desc>
            <filename>patch_bug27138.txt</filename>
            <type>text/plain</type>
            <size>1768</size>
            <attacher name="Dirk Pranke">dpranke</attacher>
            
              <data encoding="base64">SW5kZXg6IExheW91dFRlc3RzL0NoYW5nZUxvZwo9PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09Ci0tLSBMYXlvdXRUZXN0cy9D
aGFuZ2VMb2cJKHJldmlzaW9uIDQ1NjgzKQorKysgTGF5b3V0VGVzdHMvQ2hhbmdlTG9nCSh3b3Jr
aW5nIGNvcHkpCkBAIC0xLDMgKzEsMTUgQEAKKzIwMDktMDctMDkgIERpcmsgUHJhbmtlICA8ZHBy
YW5rZUBjaHJvbWl1bS5vcmc+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISku
CisKKyAgICAgICAgQ2hhbmdpbmcgdGhlIHRlc3Qgc3RyaW5nIGZyb20gYSBwbGF0Zm9ybS1kZXBl
bmRlbnQgZmlsZTovLy8gdG8gYSBtb3JlCisgICAgICAgIGdlbmVyaWMgaHR0cDovLworCisgICAg
ICAgIGh0dHBzOi8vYnVncy53ZWJraXQub3JnL3Nob3dfYnVnLmNnaT9pZD0yNzEzOAorCisgICA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oKSBtZXRob2QgLSBmaWxlOi8vL3NvbWV0ZXN0ZmlsZS5odG1sCitXcml0aW5nIHRoZSBy
ZXN1bHQgb2YgdGhlIGFuY2hvcidzIHRvU3RyaW5nKCkgbWV0aG9kIC0gaHR0cDovL2xvY2FsaG9z
dC9zb21ldGVzdGZpbGUuaHRtbApJbmRleDogTGF5b3V0VGVzdHMvZmFzdC9kb20vYW5jaG9yLXRv
U3RyaW5nLmh0bWwKPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PQotLS0gTGF5b3V0VGVzdHMvZmFzdC9kb20vYW5jaG9yLXRv
U3RyaW5nLmh0bWwJKHJldmlzaW9uIDQ1NjgzKQorKysgTGF5b3V0VGVzdHMvZmFzdC9kb20vYW5j
aG9yLXRvU3RyaW5nLmh0bWwJKHdvcmtpbmcgY29weSkKQEAgLTEsNCArMSw0IEBACi08YSBocmVm
PSIvc29tZXRlc3RmaWxlLmh0bWwiIGlkPSJhbmNob3IiPgorPGEgaHJlZj0iaHR0cDovL2xvY2Fs
aG9zdC9zb21ldGVzdGZpbGUuaHRtbCIgaWQ9ImFuY2hvciI+CiBBIGxpbmshCiA8L2E+CiA8YnI+
Cg==
</data>
<flag name="review"
          id="16963"
          type_id="1"
          status="+"
          setter="darin"
    />
          </attachment>
      

    </bug>

</bugzilla>