Changeset 39514 in webkit
- Timestamp:
- Dec 29, 2008, 11:46:02 PM (16 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r39511 r39514 1 2008-12-29 Alexey Proskuryakov <ap@webkit.org> 2 3 Reviewed by Sam Weinig. 4 5 https://bugs.webkit.org/show_bug.cgi?id=23023 6 Remove incomplete support for opportunistic appcache entries 7 8 No change in behavior, thus no test. 9 10 * loader/appcache/ApplicationCacheResource.h: 11 (WebCore::ApplicationCacheResource::Type): Removed Opportunistic bit, will re-use when schema 12 version changes. 13 14 * loader/DocumentLoader.cpp: 15 (WebCore::DocumentLoader::scheduleApplicationCacheLoad): 16 * loader/appcache/ApplicationCacheGroup.cpp: 17 (WebCore::ApplicationCacheGroup::didFinishLoadingManifest): 18 * loader/appcache/ApplicationCacheResource.cpp: 19 (WebCore::ApplicationCacheResource::dumpType): 20 1 21 2008-12-29 Dirk Schulze <krit@webkit.org> 2 22 -
trunk/WebCore/loader/DocumentLoader.cpp
r39474 r39514 894 894 ApplicationCacheResource* resource; 895 895 if (!shouldLoadResourceFromApplicationCache(request, resource)) 896 // FIXME: Handle opportunistic caching namespaces897 896 return false; 898 897 -
trunk/WebCore/loader/appcache/ApplicationCacheGroup.cpp
r39478 r39514 469 469 } 470 470 471 // FIXME: Add the opportunistic caching namespaces and their fallbacks.472 473 471 // We have the manifest, now download the resources. 474 472 m_status = Downloading; … … 493 491 for (ApplicationCache::ResourceMap::const_iterator it = m_newestCache->begin(); it != end; ++it) { 494 492 unsigned type = it->second->type(); 495 if (type & (ApplicationCacheResource:: Opportunistic | ApplicationCacheResource::Implicit | ApplicationCacheResource::Dynamic))493 if (type & (ApplicationCacheResource::Implicit | ApplicationCacheResource::Dynamic)) 496 494 addEntry(it->first, type); 497 495 } -
trunk/WebCore/loader/appcache/ApplicationCacheResource.cpp
r33441 r39514 58 58 if (type & Fallback) 59 59 printf("fallback "); 60 if (type & Opportunistic)61 printf("opportunistic ");62 60 if (type & Dynamic) 63 61 printf("dynamic "); -
trunk/WebCore/loader/appcache/ApplicationCacheResource.h
r33051 r39514 41 41 Foreign = 1 << 3, 42 42 Fallback = 1 << 4, 43 Opportunistic = 1 << 5,43 // Bit 5 was used for opportunistic entries, which were removed from the spec. 44 44 Dynamic = 1 << 6 45 45 };
Note:
See TracChangeset
for help on using the changeset viewer.