| Index: chrome/test/data/extensions/api_test/page_action/update.html
|
| diff --git a/chrome/test/data/extensions/api_test/page_action/update.html b/chrome/test/data/extensions/api_test/page_action/update.html
|
| new file mode 100755
|
| index 0000000000000000000000000000000000000000..ba38b7fda5bb60f912e6b6cef1eb7816f1de1ff1
|
| --- /dev/null
|
| +++ b/chrome/test/data/extensions/api_test/page_action/update.html
|
| @@ -0,0 +1,17 @@
|
| +<html>
|
| +<head>
|
| +<script>
|
| + // Test that we can change various properties of the browser action.
|
| + // The C++ verifies.
|
| + chrome.tabs.getSelected(null, function(tab) {
|
| + chrome.pageAction.show(tab.id);
|
| + chrome.pageAction.setTitle({title: "Modified", tabId: tab.id});
|
| + chrome.pageAction.setBadgeText({text: "badge", tabId: tab.id});
|
| + chrome.pageAction.setBadgeBackgroundColor(
|
| + {color: [255,255,255,255], tabId: tab.id});
|
| +
|
| + chrome.test.notifyPass();
|
| + });
|
| +</script>
|
| +</head>
|
| +</html>
|
|
|