| Index: chrome/common/extensions/permissions/permission_set_unittest.cc
|
| diff --git a/chrome/common/extensions/permissions/permission_set_unittest.cc b/chrome/common/extensions/permissions/permission_set_unittest.cc
|
| index 41c8e8012765aa818fb88d8f1b1ee746906d375e..97fb12e1098347f8ee35565b864cbfde026faa48 100644
|
| --- a/chrome/common/extensions/permissions/permission_set_unittest.cc
|
| +++ b/chrome/common/extensions/permissions/permission_set_unittest.cc
|
| @@ -768,20 +768,21 @@ TEST(PermissionsTest, DefaultFunctionAccess) {
|
| { "bookmarks", false },
|
| { "cookies", false },
|
| { "history", false },
|
| - { "tabs.onUpdated", false },
|
| // Make sure we find the module name after stripping '.' and '/'.
|
| { "browserAction/abcd/onClick", true },
|
| { "browserAction.abcd.onClick", true },
|
| // Test Tabs functions.
|
| { "tabs.create", true},
|
| { "tabs.update", true},
|
| - { "tabs.getSelected", false},
|
| + { "tabs.getSelected", true},
|
| + { "tabs.onUpdated", true },
|
| };
|
|
|
| scoped_refptr<PermissionSet> empty = new PermissionSet();
|
| for (size_t i = 0; i < ARRAYSIZE_UNSAFE(kTests); ++i) {
|
| EXPECT_EQ(kTests[i].expect_success,
|
| - empty->HasAccessToFunction(kTests[i].permission_name));
|
| + empty->HasAccessToFunction(kTests[i].permission_name))
|
| + << "Permission being tested: " << kTests[i].permission_name;
|
| }
|
| }
|
|
|
|
|