summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-14 19:23:02 +0000
committerjstritar@chromium.org <jstritar@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-10-14 19:23:02 +0000
commitd912240b0ea16495d0147f31d18092a8dab97dd8 (patch)
tree90a4de97c57d18a68d9a5f9c7d515b2aaa47df76
parentc1080067f4fe25d3184f7ad2d751e9e378f745fe (diff)
downloadchromium_src-d912240b0ea16495d0147f31d18092a8dab97dd8.zip
chromium_src-d912240b0ea16495d0147f31d18092a8dab97dd8.tar.gz
chromium_src-d912240b0ea16495d0147f31d18092a8dab97dd8.tar.bz2
Remove redundant callbackPasses.
BUG=100301 TEST=*WebstorePrivate* Review URL: http://codereview.chromium.org/8294001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@105540 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/test/data/extensions/api_test/webstore_private/accepted.js4
-rw-r--r--chrome/test/data/extensions/api_test/webstore_private/app_install_bubble.js4
-rw-r--r--chrome/test/data/extensions/api_test/webstore_private/localized.js4
3 files changed, 6 insertions, 6 deletions
diff --git a/chrome/test/data/extensions/api_test/webstore_private/accepted.js b/chrome/test/data/extensions/api_test/webstore_private/accepted.js
index e3c42e4..f750305 100644
--- a/chrome/test/data/extensions/api_test/webstore_private/accepted.js
+++ b/chrome/test/data/extensions/api_test/webstore_private/accepted.js
@@ -34,9 +34,9 @@ var tests = [
function successfulInstall() {
// See things through all the way to a successful install.
- listenOnce(chrome.management.onInstalled, callbackPass(function(info) {
+ listenOnce(chrome.management.onInstalled, function(info) {
assertEq(info.id, extensionId);
- }));
+ });
var manifest = getManifest();
getIconData(function(icon) {
diff --git a/chrome/test/data/extensions/api_test/webstore_private/app_install_bubble.js b/chrome/test/data/extensions/api_test/webstore_private/app_install_bubble.js
index d1ac1b8..05727b1 100644
--- a/chrome/test/data/extensions/api_test/webstore_private/app_install_bubble.js
+++ b/chrome/test/data/extensions/api_test/webstore_private/app_install_bubble.js
@@ -5,9 +5,9 @@
var tests = [
function appInstallBubble() {
// See things through all the way to a successful install.
- listenOnce(chrome.management.onInstalled, callbackPass(function(info) {
+ listenOnce(chrome.management.onInstalled, function(info) {
assertEq(info.id, appId);
- }));
+ });
var manifest = getManifest("app/manifest.json");
// Begin installing.
diff --git a/chrome/test/data/extensions/api_test/webstore_private/localized.js b/chrome/test/data/extensions/api_test/webstore_private/localized.js
index 132b293..3165032 100644
--- a/chrome/test/data/extensions/api_test/webstore_private/localized.js
+++ b/chrome/test/data/extensions/api_test/webstore_private/localized.js
@@ -10,9 +10,9 @@ var tests = [
// This tests an install passing a localized name.
function localizeName() {
// See things through all the way to a successful install.
- listenOnce(chrome.management.onInstalled, callbackPass(function(info) {
+ listenOnce(chrome.management.onInstalled, function(info) {
assertEq(info.id, localizedId);
- }));
+ });
var manifest = getManifest('localized_extension/manifest.json');
var messages = getManifest('localized_extension/_locales/fr/messages.json');