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

Unified Diff: chrome/test/data/extensions/samples/test_browser_action/background.html

Issue 306004: Revert 29457, because this is making ExtensionBrowserTest.PageAction crash on... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 2 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/samples/test_browser_action/background.html
===================================================================
--- chrome/test/data/extensions/samples/test_browser_action/background.html (revision 29508)
+++ chrome/test/data/extensions/samples/test_browser_action/background.html (working copy)
@@ -5,7 +5,6 @@
var clicks = 0;
chrome.browserAction.onClicked.addListener(function() {
chrome.browserAction.setIcon({iconIndex:clicks});
- chrome.browserAction.setBadgeText({text:""+i});
clicks++;
// We only have 1 icon, but cycle through 3 icons to test the
// out-of-bounds index bug.
« no previous file with comments | « chrome/common/extensions/extension_action.cc ('k') | chrome/test/data/extensions/samples/test_page_action/background.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698