Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(66)

Issue 6727006: Select a more appropiate appcache based on the opener or the parent of the new document. (Closed)

Created:
9 years, 9 months ago by michaeln
Modified:
9 years, 7 months ago
Reviewers:
michaeln1, jennb, adamk
CC:
chromium-reviews, michaeln, darin-cc_chromium.org
Visibility:
Public.

Description

Select a more appropiate appcache based on the opener or the parent or the target frame of the new document. The change determines a 'preferred manifest url' in these cases: * <iframe> loading, we prefer the parent frame's manifest url * window.open() loading, we prefer the opener frame's manifest url * href clicking to navigate a frame in place, we prefer the manifest url of the document in the frame when the navigation starts BUG=68479 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=81801

Patch Set 1 #

Patch Set 2 : '' #

Patch Set 3 : '' #

Patch Set 4 : '' #

Patch Set 5 : '' #

Patch Set 6 : '' #

Patch Set 7 : '' #

Patch Set 8 : '' #

Patch Set 9 : '' #

Patch Set 10 : '' #

Patch Set 11 : '' #

Patch Set 12 : '' #

Patch Set 13 : '' #

Patch Set 14 : '' #

Patch Set 15 : '' #

Total comments: 60

Patch Set 16 : '' #

Patch Set 17 : '' #

Patch Set 18 : '' #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+420 lines, -137 lines) Patch
M webkit/appcache/appcache_backend_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -2 lines 0 comments Download
M webkit/appcache/appcache_host.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +19 lines, -0 lines 2 comments Download
M webkit/appcache/appcache_host.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 6 chunks +18 lines, -2 lines 0 comments Download
M webkit/appcache/appcache_host_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -0 lines 0 comments Download
M webkit/appcache/appcache_request_handler.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +10 lines, -1 line 0 comments Download
M webkit/appcache/appcache_request_handler_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 5 chunks +10 lines, -1 line 0 comments Download
M webkit/appcache/appcache_service.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +2 lines, -2 lines 0 comments Download
M webkit/appcache/appcache_storage.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -1 line 0 comments Download
M webkit/appcache/appcache_storage_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +4 lines, -1 line 0 comments Download
M webkit/appcache/appcache_storage_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 9 chunks +195 lines, -85 lines 0 comments Download
M webkit/appcache/appcache_storage_impl_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 10 chunks +134 lines, -27 lines 0 comments Download
M webkit/appcache/mock_appcache_storage.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +2 lines, -1 line 0 comments Download
M webkit/appcache/mock_appcache_storage.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +3 lines, -1 line 0 comments Download
M webkit/appcache/mock_appcache_storage_unittest.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 7 chunks +7 lines, -7 lines 0 comments Download
M webkit/appcache/web_application_cache_host_impl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 chunk +1 line, -1 line 0 comments Download
M webkit/appcache/web_application_cache_host_impl.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 2 chunks +10 lines, -5 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
michaeln
hi again, this is a follow up the the earlier appcache CL (plumbing) that you ...
9 years, 8 months ago (2011-04-11 15:49:44 UTC) #1
adamk
Mostly style stuff, I'll appreciate jennb's comments on the meat of the change itself (though ...
9 years, 8 months ago (2011-04-11 20:45:16 UTC) #2
jennb
http://codereview.chromium.org/6727006/diff/38027/webkit/appcache/appcache_host.h File webkit/appcache/appcache_host.h (right): http://codereview.chromium.org/6727006/diff/38027/webkit/appcache/appcache_host.h#newcode76 webkit/appcache/appcache_host.h:76: // that created this host is used to break ...
9 years, 8 months ago (2011-04-12 00:07:56 UTC) #3
michaeln1
Thnx for looking, i'll take a stab at breaking FindMainResponseTask::Run into smaller pieces (thnx for ...
9 years, 8 months ago (2011-04-12 00:29:29 UTC) #4
michaeln
I still haven't split FindMainResponseTask::Run() into bite sized chunks, but i think i've addressed the ...
9 years, 8 months ago (2011-04-14 23:41:23 UTC) #5
michaeln
PTAL http://codereview.chromium.org/6727006/diff/38027/webkit/appcache/appcache_storage_impl.cc File webkit/appcache/appcache_storage_impl.cc (right): http://codereview.chromium.org/6727006/diff/38027/webkit/appcache/appcache_storage_impl.cc#newcode643 webkit/appcache/appcache_storage_impl.cc:643: bool IsValidForMainResponse(const AppCacheDatabase::EntryRecord& entry_record, On 2011/04/11 20:45:16, adamk ...
9 years, 8 months ago (2011-04-15 02:07:00 UTC) #6
adamk
lgtm, with a request for an additional comment. http://codereview.chromium.org/6727006/diff/47006/webkit/appcache/appcache_host.h File webkit/appcache/appcache_host.h (right): http://codereview.chromium.org/6727006/diff/47006/webkit/appcache/appcache_host.h#newcode78 webkit/appcache/appcache_host.h:78: const ...
9 years, 8 months ago (2011-04-15 17:20:51 UTC) #7
michaeln
http://codereview.chromium.org/6727006/diff/47006/webkit/appcache/appcache_host.h File webkit/appcache/appcache_host.h (right): http://codereview.chromium.org/6727006/diff/47006/webkit/appcache/appcache_host.h#newcode78 webkit/appcache/appcache_host.h:78: const AppCacheHost* GetSpawningHost() const; On 2011/04/15 17:20:51, adamk wrote: ...
9 years, 8 months ago (2011-04-15 19:33:34 UTC) #8
jennb
9 years, 8 months ago (2011-04-15 20:16:06 UTC) #9
LGTM

Powered by Google App Engine
This is Rietveld 408576698