<?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>49221</bug_id>
          
          <creation_ts>2010-11-08 16:21:10 -0800</creation_ts>
          <short_desc>Chromium regression (r71562): 2 http/tests/appcache/ tests failing</short_desc>
          <delta_ts>2010-11-08 22:15:45 -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>WebCore Misc.</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></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="Nate Chapin">japhet</reporter>
          <assigned_to name="Nate Chapin">japhet</assigned_to>
          <cc>abarth</cc>
    
    <cc>ap</cc>
    
    <cc>commit-queue</cc>
    
    <cc>koivisto</cc>
    
    <cc>michaeln</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>306443</commentid>
    <comment_count>0</comment_count>
    <who name="Nate Chapin">japhet</who>
    <bug_when>2010-11-08 16:21:10 -0800</bug_when>
    <thetext>http/tests/appcache/fallback.html and http/tests/appcache/offline-access.html are failing after http://trac.webkit.org/changeset/71562

It appears that, in chromium, ApplicationCacheHost::maybeLoadResource() can modify its ResourceRequest parameter.  Before r71562, we then immediately called ResourceHandle::create() with the modified ResourceRequest.  Now, the ResourceRequest changes are lost.

I think that the call to maybeLoadResource() should be in ResourceLoader::start() instead of ResourceLoader::load(), similar to the call to DocumentLoader::scheduleArchiveLoad().</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>306445</commentid>
    <comment_count>1</comment_count>
      <attachid>73303</attachid>
    <who name="Nate Chapin">japhet</who>
    <bug_when>2010-11-08 16:22:21 -0800</bug_when>
    <thetext>Created attachment 73303
patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>306463</commentid>
    <comment_count>2</comment_count>
      <attachid>73303</attachid>
    <who name="Michael Nordman">michaeln</who>
    <bug_when>2010-11-08 16:48:00 -0800</bug_when>
    <thetext>Comment on attachment 73303
patch

this fix looks good to me</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>306466</commentid>
    <comment_count>3</comment_count>
      <attachid>73303</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-11-08 16:50:01 -0800</bug_when>
    <thetext>Comment on attachment 73303
patch

Ok.  This change is slightly mysterious to me, but it seems ok.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>306467</commentid>
    <comment_count>4</comment_count>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-11-08 16:50:24 -0800</bug_when>
    <thetext>&gt; this fix looks good to me

Thanks Michael.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>306605</commentid>
    <comment_count>5</comment_count>
      <attachid>73303</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-11-08 21:46:10 -0800</bug_when>
    <thetext>Comment on attachment 73303
patch

Rejecting patch 73303 from commit-queue.

Failed to run &quot;[&apos;./WebKitTools/Scripts/webkit-patch&apos;, &apos;--status-host=queues.webkit.org&apos;, &apos;--bot-id=abarth-cq-sl&apos;, &apos;apply-attachment&apos;, &apos;--force-clean&apos;, &apos;--non-interactive&apos;, 73303]&quot; exit_code: 1
Traceback (most recent call last):
  File &quot;./WebKitTools/Scripts/webkit-patch&quot;, line 70, in &lt;module&gt;
    main()
  File &quot;./WebKitTools/Scripts/webkit-patch&quot;, line 63, in main
    from webkitpy.tool.main import WebKitPatch
  File &quot;/Users/abarth/git/webkit-queue/WebKitTools/Scripts/webkitpy/tool/main.py&quot;, line 42, in &lt;module&gt;
    from webkitpy.common.net.rietveld import Rietveld
ImportError: No module named rietveld

Full output: http://queues.webkit.org/results/5569015</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>306611</commentid>
    <comment_count>6</comment_count>
      <attachid>73303</attachid>
    <who name="Adam Barth">abarth</who>
    <bug_when>2010-11-08 21:54:45 -0800</bug_when>
    <thetext>Comment on attachment 73303
patch

wah?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>306615</commentid>
    <comment_count>7</comment_count>
      <attachid>73303</attachid>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-11-08 22:15:40 -0800</bug_when>
    <thetext>Comment on attachment 73303
patch

Clearing flags on attachment: 73303

Committed r71606: &lt;http://trac.webkit.org/changeset/71606&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>306616</commentid>
    <comment_count>8</comment_count>
    <who name="WebKit Commit Bot">commit-queue</who>
    <bug_when>2010-11-08 22:15:45 -0800</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>73303</attachid>
            <date>2010-11-08 16:22:21 -0800</date>
            <delta_ts>2010-11-08 22:15:40 -0800</delta_ts>
            <desc>patch</desc>
            <filename>patch.txt</filename>
            <type>text/plain</type>
            <size>1806</size>
            <attacher name="Nate Chapin">japhet</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA3MTU4MykKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNv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>

          </attachment>
      

    </bug>

</bugzilla>