<?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>16799</bug_id>
          
          <creation_ts>2008-01-09 00:21:18 -0800</creation_ts>
          <short_desc>Acid3 expects HTMLObjectElement.data to canonicalize urls</short_desc>
          <delta_ts>2008-02-06 11:29:57 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>DOM</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://www.hixie.ch/tests/evil/acid/003/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>HasReduction</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>17064</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Eric Seidel (no email)">eric</reporter>
          <assigned_to name="Dave Hyatt">hyatt</assigned_to>
          <cc>fishd</cc>
    
    <cc>webkit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>66642</commentid>
    <comment_count>0</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2008-01-09 00:21:18 -0800</bug_when>
    <thetext>Test 64: FAIL (expected ./test.html, got: test.html - object elements didn&apos;t resolve URIs correctly)

    function () {
      // test 64: attributes of the &lt;object&gt; element
      var obj1 = document.createElement(&apos;object&apos;);
      obj1.setAttribute(&apos;data&apos;, &apos;test.html&apos;);
      var obj2 = document.createElement(&apos;object&apos;);
      obj2.setAttribute(&apos;data&apos;, &apos;./test.html&apos;);
      assertEquals(obj1.data, obj2.data, &quot;object elements didn&apos;t resolve URIs correctly&quot;);
      assert(obj1.data.match(/^http:/), &quot;object.data isn&apos;t absolute&quot;);
      obj1.appendChild(document.createElement(&apos;param&apos;));
      assertEquals(obj1.getElementsByTagName(&apos;param&apos;).length, 1, &quot;object is missing its only child&quot;);
      return 4;
    },</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68427</commentid>
    <comment_count>1</comment_count>
      <attachid>18735</attachid>
    <who name="Robert Blaut">webkit</who>
    <bug_when>2008-01-28 03:58:20 -0800</bug_when>
    <thetext>Created attachment 18735
Minimal test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69406</commentid>
    <comment_count>2</comment_count>
      <attachid>18921</attachid>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-02-04 15:22:02 -0800</bug_when>
    <thetext>Created attachment 18921
Make data absolute

Will land test case in bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69408</commentid>
    <comment_count>3</comment_count>
      <attachid>18921</attachid>
    <who name="Mark Rowe (bdash)">mrowe</who>
    <bug_when>2008-02-04 15:24:16 -0800</bug_when>
    <thetext>Comment on attachment 18921
Make data absolute

r=me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69409</commentid>
    <comment_count>4</comment_count>
      <attachid>18921</attachid>
    <who name="Darin Adler">darin</who>
    <bug_when>2008-02-04 15:25:56 -0800</bug_when>
    <thetext>Comment on attachment 18921
Make data absolute

+    if (dataVal.isNull())
+        return dataVal;

You don&apos;t need this. Document::completeURL already does this. It can just be a one-liner.

    return document()-&gt;completeURL(getAttribute(dataAttr));</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69478</commentid>
    <comment_count>5</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2008-02-05 08:53:04 -0800</bug_when>
    <thetext>*** Bug 14448 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69479</commentid>
    <comment_count>6</comment_count>
    <who name="Darin Fisher (:fishd, Google)">fishd</who>
    <bug_when>2008-02-05 08:57:22 -0800</bug_when>
    <thetext>you might want to review my patch in bug 14448, which includes a test case, but more importantly it had to be backed out after it was found to regress some existing layout tests!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69590</commentid>
    <comment_count>7</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-02-06 11:26:43 -0800</bug_when>
    <thetext>I will just remove those layout tests, as they make a bogus assumption.

</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>69593</commentid>
    <comment_count>8</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2008-02-06 11:29:57 -0800</bug_when>
    <thetext>Fixed in r30044.

</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>18735</attachid>
            <date>2008-01-28 03:58:20 -0800</date>
            <delta_ts>2008-01-28 03:58:20 -0800</delta_ts>
            <desc>Minimal test case</desc>
            <filename>test-case.html</filename>
            <type>text/html</type>
            <size>481</size>
            <attacher name="Robert Blaut">webkit</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEvL0VOIiAiaHR0cDov
L3d3dy53My5vcmcvVFIvaHRtbDQvc3RyaWN0LmR0ZCI+CjxodG1sPgo8aGVhZD4KPHRpdGxlPlRl
c3QgY2FzZSBmb3IgVVJJIHJlc29sdmluZyBpbiBvYmplY3QgZWxlbWVudHM8L3RpdGxlPgo8L2hl
YWQ+Cjxib2R5Pgo8cD5UaGVyZSBzaG91bGQgYmUgbm8gUkVEIG9uIHRoZSBwYWdlPC9wPgo8cD48
b2JqZWN0IGlkPSJvYmoiIGRhdGE9InRlc3QuaHRtbCI+PC9vYmplY3Q+PC9wPgo8c2NyaXB0IHR5
cGU9InRleHQvamF2YXNjcmlwdCI+CglpZiAoZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoIm9iaiIp
LmRhdGE9PSJ0ZXN0Lmh0bWwiKQoJCWRvY3VtZW50LndyaXRlKCI8cCBzdHlsZT1cImJhY2tncm91
bmQtY29sb3I6cmVkO1wiPlRFU1QgRkFJTEVEIC0gcmVzdWx0OiAndGVzdC5odG1sJzwvcD4iKTsK
PC9zY3JpcHQ+CjwvYm9keT4KPC9odG1sPg==
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>18921</attachid>
            <date>2008-02-04 15:22:02 -0800</date>
            <delta_ts>2008-02-04 15:24:16 -0800</delta_ts>
            <desc>Make data absolute</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>542</size>
            <attacher name="Dave Hyatt">hyatt</attacher>
            
              <data encoding="base64">SW5kZXg6IGh0bWwvSFRNTE9iamVjdEVsZW1lbnQuY3BwCj09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIGh0bWwvSFRN
TE9iamVjdEVsZW1lbnQuY3BwCShyZXZpc2lvbiAyOTk0MykKKysrIGh0bWwvSFRNTE9iamVjdEVs
ZW1lbnQuY3BwCSh3b3JraW5nIGNvcHkpCkBAIC0zOTEsNyArMzkxLDEwIEBAIHZvaWQgSFRNTE9i
amVjdEVsZW1lbnQ6OnNldENvZGVUeXBlKGNvbnMKIAogU3RyaW5nIEhUTUxPYmplY3RFbGVtZW50
OjpkYXRhKCkgY29uc3QKIHsKLSAgICByZXR1cm4gZ2V0QXR0cmlidXRlKGRhdGFBdHRyKTsKKyAg
ICBTdHJpbmcgZGF0YVZhbCA9IGdldEF0dHJpYnV0ZShkYXRhQXR0cik7CisgICAgaWYgKGRhdGFW
YWwuaXNOdWxsKCkpCisgICAgICAgIHJldHVybiBkYXRhVmFsOworICAgIHJldHVybiBkb2N1bWVu
dCgpLT5jb21wbGV0ZVVSTChkYXRhVmFsKTsKIH0KIAogdm9pZCBIVE1MT2JqZWN0RWxlbWVudDo6
c2V0RGF0YShjb25zdCBTdHJpbmcmIHZhbHVlKQo=
</data>
<flag name="review"
          id="8265"
          type_id="1"
          status="+"
          setter="mrowe"
    />
          </attachment>
      

    </bug>

</bugzilla>