Index: chrome/test/data/extensions/trigger_actions/page_action_popup/background.html |
diff --git a/chrome/test/data/extensions/trigger_actions/page_action_popup/background.html b/chrome/test/data/extensions/trigger_actions/page_action_popup/background.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..af6c336853125980c20ce640e8c7bb014aeb3841 |
--- /dev/null |
+++ b/chrome/test/data/extensions/trigger_actions/page_action_popup/background.html |
@@ -0,0 +1,14 @@ |
+<html> |
+<head> |
+<script> |
+ // Show the page action icon for all tabs. |
+ chrome.tabs.onCreated.addListener(function(tab) { |
+ chrome.tabs.getAllInWindow(null, function(tabs) { |
+ for (var i = 0, t; t = tabs[i]; i++) { |
+ chrome.pageAction.show(t.id); |
+ } |
+ }); |
+ }); |
+</script> |
+</head> |
+</html> |