diff options
author | mkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-09 12:45:58 +0000 |
---|---|---|
committer | mkwst@chromium.org <mkwst@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-05-09 12:45:58 +0000 |
commit | 1d78aec8fca8682d2aa5296520c4258c16840171 (patch) | |
tree | c5db4853f4ee1085e142b3075420e2ca2834f121 /chrome/test/data | |
parent | 288e35016c7dc7517dabdf1f686e28eceb83d2c3 (diff) | |
download | chromium_src-1d78aec8fca8682d2aa5296520c4258c16840171.zip chromium_src-1d78aec8fca8682d2aa5296520c4258c16840171.tar.gz chromium_src-1d78aec8fca8682d2aa5296520c4258c16840171.tar.bz2 |
Rephrasing extension permission warnings to remove the "access" prefix.
This will enable us to verb noun clauses in ways other than "access". We could "detect", for instance. Or "read and write", or "manage", or any of a variety of activities that were previously difficult to construct.
BUG=107577
TEST=
Review URL: https://chromiumcodereview.appspot.com/10262016
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@136021 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/data')
-rw-r--r-- | chrome/test/data/extensions/api_test/management/test/basics.js | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/chrome/test/data/extensions/api_test/management/test/basics.js b/chrome/test/data/extensions/api_test/management/test/basics.js index 7e99432..087e195 100644 --- a/chrome/test/data/extensions/api_test/management/test/basics.js +++ b/chrome/test/data/extensions/api_test/management/test/basics.js @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -97,12 +97,14 @@ var tests = [ chrome.management.getPermissionWarningsByManifest( manifest_str, callback(function(warnings) { chrome.test.assertEq(5, warnings.length); - chrome.test.assertEq("Your data on *.flickr.com and api.flickr.com", - warnings[0]); - chrome.test.assertEq("Your bookmarks", warnings[1]); - chrome.test.assertEq("Your physical location", warnings[2]); - chrome.test.assertEq("Your browsing history", warnings[3]); - chrome.test.assertEq("Your tabs and browsing activity", warnings[4]); + chrome.test.assertEq( + "Access your data on *.flickr.com and api.flickr.com", warnings[0]); + chrome.test.assertEq("Read and modify your bookmarks", warnings[1]); + chrome.test.assertEq("Detect your physical location", warnings[2]); + chrome.test.assertEq("Read and modify your browsing history", + warnings[3]); + chrome.test.assertEq("Access your tabs and browsing activity", + warnings[4]); })); chrome.management.getAll(callback(function(items) { @@ -110,7 +112,7 @@ var tests = [ chrome.management.getPermissionWarningsById(extension.id, callback(function(warnings) { chrome.test.assertEq(1, warnings.length); - chrome.test.assertEq("Your list of apps, extensions, and themes", + chrome.test.assertEq("Manage your apps, extensions, and themes", warnings[0]); })); })); |