| Index: chrome/test/data/extensions/api_test/old_page_actions/background.html
|
| ===================================================================
|
| --- chrome/test/data/extensions/api_test/old_page_actions/background.html (revision 0)
|
| +++ chrome/test/data/extensions/api_test/old_page_actions/background.html (revision 0)
|
| @@ -0,0 +1,18 @@
|
| +<html>
|
| +<head>
|
| +<script>
|
| +
|
| +chrome.pageActions["action"].addListener(function(actionId, info) {
|
| + if (actionId == "action" && typeof(info.tabId) == "number" &&
|
| + typeof(info.tabUrl) == "string" && info.button == 1) {
|
| + chrome.test.notifyPass();
|
| + } else {
|
| + chrome.test.notifyFail("pageActions listener failed");
|
| + }
|
| +});
|
| +
|
| +chrome.test.notifyPass();
|
| +
|
| +</script>
|
| +</head>
|
| +</html>
|
|
|
| Property changes on: chrome\test\data\extensions\api_test\old_page_actions\background.html
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|