Index: chrome/test/data/extensions/samples/test_page_action/background.html |
diff --git a/chrome/test/data/extensions/samples/test_page_action/background.html b/chrome/test/data/extensions/samples/test_page_action/background.html |
index 2c5685de9fcd2986b117c59fcec78eb4460d22ea..d8d9d7831a6d0f3aceb18a05322393e363241769 100644 |
--- a/chrome/test/data/extensions/samples/test_page_action/background.html |
+++ b/chrome/test/data/extensions/samples/test_page_action/background.html |
@@ -14,12 +14,12 @@ |
chrome.pageAction.show(info.tabId); |
} else { |
chrome.pageAction.hide(info.tabId); |
- setTimeout(function() { chrome.pageAction.show(info.tabId); }, 1000); |
+ setTimeout(function() { chrome.pageAction.show(info.tabId); }, 200); |
} |
chrome.pageAction.setTitle({title: "click:" + clicks, tabId: info.tabId}); |
chrome.pageAction.setBadgeTextColor({ |
tabId: info.tabId, |
- color: [0, 255, clicks * 50, 255] |
+ color: [255, 255, clicks * 50, 255] |
}); |
chrome.pageAction.setBadgeBackgroundColor({ |
tabId: info.tabId, |
@@ -27,7 +27,7 @@ |
}); |
chrome.pageAction.setBadgeText({ |
tabId: info.tabId, |
- text: clicks + "" |
+ text: i + "" |
}); |
// We only have 2 icons, but cycle through 3 icons to test the |