Lines Matching refs:manifest

18   AppCacheManifest manifest;
20 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
22 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
27 AppCacheManifest manifest;
33 "cache manifest ", // wrong case
43 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
61 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
66 AppCacheManifest manifest;
72 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
73 EXPECT_TRUE(manifest.explicit_urls.empty());
74 EXPECT_TRUE(manifest.fallback_namespaces.empty());
75 EXPECT_TRUE(manifest.online_whitelist_namespaces.empty());
76 EXPECT_FALSE(manifest.online_whitelist_all);
80 AppCacheManifest manifest;
100 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
101 EXPECT_TRUE(manifest.fallback_namespaces.empty());
102 EXPECT_TRUE(manifest.online_whitelist_namespaces.empty());
103 EXPECT_FALSE(manifest.online_whitelist_all);
105 base::hash_set<std::string> urls = manifest.explicit_urls;
117 manifest = AppCacheManifest();
119 PARSE_MANIFEST_PER_STANDARD, manifest));
120 EXPECT_TRUE(manifest.fallback_namespaces.empty());
121 EXPECT_TRUE(manifest.online_whitelist_namespaces.empty());
122 EXPECT_FALSE(manifest.online_whitelist_all);
124 urls = manifest.explicit_urls;
136 AppCacheManifest manifest;
156 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
157 EXPECT_TRUE(manifest.explicit_urls.empty());
158 EXPECT_TRUE(manifest.fallback_namespaces.empty());
159 EXPECT_TRUE(manifest.intercept_namespaces.empty());
160 EXPECT_FALSE(manifest.online_whitelist_all);
162 const AppCacheNamespaceVector& online = manifest.online_whitelist_namespaces;
177 AppCacheManifest manifest;
203 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
204 EXPECT_TRUE(manifest.explicit_urls.empty());
205 EXPECT_TRUE(manifest.online_whitelist_namespaces.empty());
206 EXPECT_FALSE(manifest.online_whitelist_all);
208 const AppCacheNamespaceVector& fallbacks = manifest.fallback_namespaces;
237 EXPECT_TRUE(manifest.intercept_namespaces.empty());
241 AppCacheManifest manifest;
254 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
255 EXPECT_TRUE(manifest.explicit_urls.empty());
256 EXPECT_TRUE(manifest.online_whitelist_namespaces.empty());
257 EXPECT_FALSE(manifest.online_whitelist_all);
259 const AppCacheNamespaceVector& fallbacks = manifest.fallback_namespaces;
278 EXPECT_TRUE(manifest.intercept_namespaces.empty());
282 AppCacheManifest manifest;
297 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
298 EXPECT_TRUE(manifest.fallback_namespaces.empty());
299 EXPECT_TRUE(manifest.explicit_urls.empty());
300 EXPECT_TRUE(manifest.online_whitelist_namespaces.empty());
301 EXPECT_FALSE(manifest.online_whitelist_all);
303 const AppCacheNamespaceVector& intercepts = manifest.intercept_namespaces;
323 manifest = AppCacheManifest();
325 PARSE_MANIFEST_PER_STANDARD, manifest));
326 EXPECT_TRUE(manifest.fallback_namespaces.empty());
327 EXPECT_TRUE(manifest.explicit_urls.empty());
328 EXPECT_TRUE(manifest.online_whitelist_namespaces.empty());
329 EXPECT_TRUE(manifest.intercept_namespaces.empty());
330 EXPECT_FALSE(manifest.online_whitelist_all);
334 AppCacheManifest manifest;
356 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
357 EXPECT_TRUE(manifest.online_whitelist_all);
359 base::hash_set<std::string> urls = manifest.explicit_urls;
367 const AppCacheNamespaceVector& online = manifest.online_whitelist_namespaces;
379 const AppCacheNamespaceVector& fallbacks = manifest.fallback_namespaces;
393 EXPECT_TRUE(manifest.intercept_namespaces.empty());
397 AppCacheManifest manifest;
403 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
404 base::hash_set<std::string> urls = manifest.explicit_urls;
410 AppCacheManifest manifest;
416 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
418 base::hash_set<std::string> urls = manifest.explicit_urls;
423 AppCacheManifest manifest;
433 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
434 EXPECT_TRUE(manifest.fallback_namespaces.empty());
435 EXPECT_TRUE(manifest.online_whitelist_namespaces.empty());
437 base::hash_set<std::string> urls = manifest.explicit_urls;
451 const GURL kUrl("http://foo.com/manifest");
469 AppCacheManifest manifest;
472 PARSE_MANIFEST_ALLOWING_INTERCEPTS, manifest));
473 EXPECT_TRUE(manifest.online_whitelist_all);
474 EXPECT_EQ(1u, manifest.explicit_urls.size());
475 EXPECT_EQ(3u, manifest.intercept_namespaces.size());
476 EXPECT_EQ(2u, manifest.fallback_namespaces.size());
477 EXPECT_EQ(2u, manifest.online_whitelist_namespaces.size());
479 manifest.intercept_namespaces[0].type);
480 EXPECT_EQ(APPCACHE_FALLBACK_NAMESPACE, manifest.fallback_namespaces[0].type);
482 manifest.online_whitelist_namespaces[0].type);
483 EXPECT_FALSE(manifest.intercept_namespaces[0].is_pattern);
484 EXPECT_TRUE(manifest.intercept_namespaces[1].is_pattern);
485 EXPECT_TRUE(manifest.intercept_namespaces[2].is_pattern);
486 EXPECT_FALSE(manifest.fallback_namespaces[0].is_pattern);
487 EXPECT_TRUE(manifest.fallback_namespaces[1].is_pattern);
488 EXPECT_FALSE(manifest.online_whitelist_namespaces[0].is_pattern);
489 EXPECT_TRUE(manifest.online_whitelist_namespaces[1].is_pattern);
492 manifest.intercept_namespaces[2].namespace_url);
495 manifest.intercept_namespaces[2].target_url);
498 manifest.fallback_namespaces[1].namespace_url);
501 manifest.fallback_namespaces[1].target_url);
504 manifest.online_whitelist_namespaces[0].namespace_url);
507 manifest.online_whitelist_namespaces[0].target_url);
510 manifest.online_whitelist_namespaces[1].namespace_url);
513 manifest.online_whitelist_namespaces[1].target_url);