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

Unified Diff: chrome/test/data/extensions/api_test/events/background.js

Issue 10025007: Convert tabs, windows, and extension APIs to feature system. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: blah Created 8 years, 8 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/test/data/extensions/api_test/events/background.js
diff --git a/chrome/test/data/extensions/api_test/events/background.js b/chrome/test/data/extensions/api_test/events/background.js
index 4477c20424c96bdb43021950effa028c59b9b214..4fc287f2b7619680199da5d82285073c0b8f5cc6 100644
--- a/chrome/test/data/extensions/api_test/events/background.js
+++ b/chrome/test/data/extensions/api_test/events/background.js
@@ -12,11 +12,9 @@ chrome.test.runTests([
chrome.test.fail();
} catch (e) {
chrome.test.assertTrue(
- e.message.search("You do not have permission") >= 0,
+ e.message.search("cannot be used in this context.") >= 0,
e.message);
}
- chrome.test.assertFalse(chrome.tabs.onUpdated.hasListeners());
- chrome.tabs.onUpdated.removeListener(dummy); // browser should not DCHECK
chrome.test.succeed();
},

Powered by Google App Engine
This is Rietveld 408576698