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

Unified Diff: chrome/common/extensions/manifest_tests/extension_manifests_offline_unittest.cc

Issue 181233007: kiosk: Fix network check skipped regression. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: offline_enabled default value from webview permission Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/manifest_tests/extension_manifests_offline_unittest.cc
diff --git a/chrome/common/extensions/manifest_tests/extension_manifests_offline_unittest.cc b/chrome/common/extensions/manifest_tests/extension_manifests_offline_unittest.cc
index 76c2b40e2fb0fded69fe76e07ba131508f907c61..be0628d621dc556e0b631b6ee26da751bc1b54ad 100644
--- a/chrome/common/extensions/manifest_tests/extension_manifests_offline_unittest.cc
+++ b/chrome/common/extensions/manifest_tests/extension_manifests_offline_unittest.cc
@@ -36,6 +36,9 @@ TEST_F(ExtensionManifestOfflineEnabledTest, OfflineEnabled) {
scoped_refptr<Extension> extension_5(
LoadAndExpectSuccess("offline_default_platform_app.json"));
EXPECT_TRUE(OfflineEnabledInfo::IsOfflineEnabled(extension_5.get()));
+ scoped_refptr<Extension> extension_6(
+ LoadAndExpectSuccess("offline_default_platform_app_with_webview.json"));
+ EXPECT_FALSE(OfflineEnabledInfo::IsOfflineEnabled(extension_6.get()));
}
} // namespace extensions

Powered by Google App Engine
This is Rietveld 408576698