<?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>87889</bug_id>
          
          <creation_ts>2012-05-30 13:09:52 -0700</creation_ts>
          <short_desc>REGRESSION(118913): webarchive/test-xml-stylesheet.xml is failing</short_desc>
          <delta_ts>2012-05-31 08:36:45 -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>WebCore Misc.</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar, LayoutTestFailure, MakingBotsRed, Regression</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>87891</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Horton">thorton</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ap</cc>
    
    <cc>kling</cc>
    
    <cc>koivisto</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>637587</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2012-05-30 13:09:52 -0700</bug_when>
    <thetext>http://trac.webkit.org/changeset/118913 seems to have caused webarchive/test-xml-stylesheet.xml to fail:

-     &lt;key&gt;WebSubresources&lt;/key&gt;
-     &lt;array&gt;
-         &lt;dict&gt;
-             &lt;key&gt;WebResourceData&lt;/key&gt;
-             &lt;string&gt;#test {
-   background: green;
- }
- &lt;/string&gt;
-             &lt;key&gt;WebResourceMIMEType&lt;/key&gt;
-             &lt;string&gt;text/css&lt;/string&gt;
-             &lt;key&gt;WebResourceResponse&lt;/key&gt;
-             &lt;dict&gt;
-                 &lt;key&gt;MIMEType&lt;/key&gt;
-                 &lt;string&gt;text/css&lt;/string&gt;
-                 &lt;key&gt;URL&lt;/key&gt;
-                 &lt;string&gt;file:///LayoutTests/webarchive/resources/test-xml-stylesheet.css&lt;/string&gt;
-                 &lt;key&gt;expectedContentLength&lt;/key&gt;
-                 &lt;integer&gt;31&lt;/integer&gt;
-             &lt;/dict&gt;
-             &lt;key&gt;WebResourceURL&lt;/key&gt;
-             &lt;string&gt;file:///LayoutTests/webarchive/resources/test-xml-stylesheet.css&lt;/string&gt;
-         &lt;/dict&gt;
-     &lt;/array&gt;

I will check in failing results.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>637588</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2012-05-30 13:10:53 -0700</bug_when>
    <thetext>&lt;rdar://problem/11559199&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>637600</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-05-30 13:22:16 -0700</bug_when>
    <thetext>-    addSubresourceAttributeURLs(urls);
+    if (!isElementNode())
+        return;
+    static_cast&lt;const Element*&gt;(this)-&gt;collectSubresourceURLsFromAttributes(urls);

This means that we&apos;re not collecting from ProcessingInstructions anyway. An OVERRIDE annotation would have caught that.

I think that the patch should be rolled out. Given that these functions are collecting URLs from more than just element attributes, new names seem misleading (and that&apos;s how the regression got introduced anyway). Some kind of renaming (with OVERRIDE) seems appropriate, but it seems easier to do in a new patch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>637602</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-05-30 13:23:06 -0700</bug_when>
    <thetext>s/anyway/any more/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>637639</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2012-05-30 13:36:57 -0700</bug_when>
    <thetext>Rolling out in https://bugs.webkit.org/show_bug.cgi?id=87891</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>638431</commentid>
    <comment_count>5</comment_count>
    <who name="Antti Koivisto">koivisto</who>
    <bug_when>2012-05-31 08:15:00 -0700</bug_when>
    <thetext>Please don&apos;t roll out large patches for such minor reasons. This would have been a trivial fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>638453</commentid>
    <comment_count>6</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2012-05-31 08:36:45 -0700</bug_when>
    <thetext>Antti, you may have not read comment 2. The idea of this patch was wrong.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>