Bug 49221 - Chromium regression (r71562): 2 http/tests/appcache/ tests failing
Summary: Chromium regression (r71562): 2 http/tests/appcache/ tests failing
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC OS X 10.5
: P2 Normal
Assignee: Nate Chapin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-08 16:21 PST by Nate Chapin
Modified: 2010-11-08 22:15 PST (History)
5 users (show)

See Also:


Attachments
patch (1.76 KB, patch)
2010-11-08 16:22 PST, Nate Chapin
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nate Chapin 2010-11-08 16:21:10 PST
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().
Comment 1 Nate Chapin 2010-11-08 16:22:21 PST
Created attachment 73303 [details]
patch
Comment 2 Michael Nordman 2010-11-08 16:48:00 PST
Comment on attachment 73303 [details]
patch

this fix looks good to me
Comment 3 Adam Barth 2010-11-08 16:50:01 PST
Comment on attachment 73303 [details]
patch

Ok.  This change is slightly mysterious to me, but it seems ok.
Comment 4 Adam Barth 2010-11-08 16:50:24 PST
> this fix looks good to me

Thanks Michael.
Comment 5 WebKit Commit Bot 2010-11-08 21:46:10 PST
Comment on attachment 73303 [details]
patch

Rejecting patch 73303 from commit-queue.

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

Full output: http://queues.webkit.org/results/5569015
Comment 6 Adam Barth 2010-11-08 21:54:45 PST
Comment on attachment 73303 [details]
patch

wah?
Comment 7 WebKit Commit Bot 2010-11-08 22:15:40 PST
Comment on attachment 73303 [details]
patch

Clearing flags on attachment: 73303

Committed r71606: <http://trac.webkit.org/changeset/71606>
Comment 8 WebKit Commit Bot 2010-11-08 22:15:45 PST
All reviewed patches have been landed.  Closing bug.