<script>
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
  // TODO: look for 'stegosaurus' in the page contents.
  if (tab.url.search("stegosaurus"))
    chrome.pageAction.show(tabId);
  else
    chrome.pageAction.hide(tabId);
});
</script>

<script>
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
  // TODO: look for 'stegosaurus' in the page contents.
  if (tab.url.search("stegosaurus") > -1)
    chrome.pageAction.show(tabId);
  else
    chrome.pageAction.hide(tabId);
});
</script>

Fix Javascript typo in LazyBackgroundPageApiTest
Fix Javascript typo in LazyBackgroundPageApiTest

BUG=
TEST=


Review URL: http://codereview.chromium.org/8392025

git-svn-id: de016e52bd170d2d4f2344f9bf92d50478b649e0@107850 0039d316-1c4b-4281-b951-d872f2087c98
