Index: webkit/appcache/appcache_update_job.cc |
=================================================================== |
--- webkit/appcache/appcache_update_job.cc (revision 194203) |
+++ webkit/appcache/appcache_update_job.cc (working copy) |
@@ -892,7 +892,10 @@ |
manifest.intercept_namespaces; |
for (std::vector<Namespace>::const_iterator it = intercepts.begin(); |
it != intercepts.end(); ++it) { |
- AddUrlToFileList(it->target_url, AppCacheEntry::INTERCEPT); |
+ int flags = AppCacheEntry::INTERCEPT; |
+ if (it->is_executable) |
+ flags |= AppCacheEntry::EXECUTABLE; |
+ AddUrlToFileList(it->target_url, flags); |
} |
const std::vector<Namespace>& fallbacks = |