diff options
author | tessamac@chromium.org <tessamac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-29 02:07:45 +0000 |
---|---|---|
committer | tessamac@chromium.org <tessamac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-29 02:07:45 +0000 |
commit | 4e93852207a92fe2ae30f7f3c078fd7d09172a7b (patch) | |
tree | db54439a03aff9167c8ccdcd8a843531342eb85f | |
parent | e4c18be545e5a4aab1ca8143744ecda5076cf34d (diff) | |
download | chromium_src-4e93852207a92fe2ae30f7f3c078fd7d09172a7b.zip chromium_src-4e93852207a92fe2ae30f7f3c078fd7d09172a7b.tar.gz chromium_src-4e93852207a92fe2ae30f7f3c078fd7d09172a7b.tar.bz2 |
Fix Javascript typo in LazyBackgroundPageApiTest
BUG=
TEST=
Review URL: http://codereview.chromium.org/8392025
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107850 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.html b/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.html index 7cee993..24afc8d 100644 --- a/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.html +++ b/chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.html @@ -1,7 +1,7 @@ <script> chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { // TODO: look for 'stegosaurus' in the page contents. - if (tab.url.search("stegosaurus")) + if (tab.url.search("stegosaurus") > -1) chrome.pageAction.show(tabId); else chrome.pageAction.hide(tabId); |