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

Unified Diff: chrome/common/extensions/extension_manifests_unittest.cc

Issue 9837074: Make it so that allow_js_access: false can be used with background pages created by window.open. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix indentation. Created 8 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/extension_manifests_unittest.cc
diff --git a/chrome/common/extensions/extension_manifests_unittest.cc b/chrome/common/extensions/extension_manifests_unittest.cc
index e1883c4b4d52850a613fd67b3d1e2b81deae7aed..9f141b52a53a8faf9cea76a197238519202fc710 100644
--- a/chrome/common/extensions/extension_manifests_unittest.cc
+++ b/chrome/common/extensions/extension_manifests_unittest.cc
@@ -1215,6 +1215,10 @@ TEST_F(ExtensionManifestTest, BackgroundAllowNoJsAccess) {
extension = LoadAndExpectSuccess("background_allow_no_js_access.json");
ASSERT_TRUE(extension);
EXPECT_FALSE(extension->allow_background_js_access());
+
+ extension = LoadAndExpectSuccess("background_allow_no_js_access2.json");
+ ASSERT_TRUE(extension);
+ EXPECT_FALSE(extension->allow_background_js_access());
}
TEST_F(ExtensionManifestTest, PageActionManifestVersion2) {

Powered by Google App Engine
This is Rietveld 408576698