Index: chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.js |
diff --git a/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.js b/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.js |
index 2c0a0a1c2169377f7dc9b9b2df23cc64fdaf4216..9ea9419ae3d93f2b52f238e71ad4cc04c4e0fad8 100644 |
--- a/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.js |
+++ b/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.js |
@@ -1,9 +1,10 @@ |
-// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { |
- if (tab.url.search("test_file.html") > -1) |
+ // TODO: look for 'stegosaurus' in the page contents. |
+ if (tab.url.search("stegosaurus") > -1) |
chrome.pageAction.show(tabId); |
else |
chrome.pageAction.hide(tabId); |