Commit 4e938522 authored by tessamac@chromium.org's avatar tessamac@chromium.org

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
parent e4c18be5
<script> <script>
chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) { chrome.tabs.onUpdated.addListener(function(tabId, changeInfo, tab) {
// TODO: look for 'stegosaurus' in the page contents. // TODO: look for 'stegosaurus' in the page contents.
if (tab.url.search("stegosaurus")) if (tab.url.search("stegosaurus") > -1)
chrome.pageAction.show(tabId); chrome.pageAction.show(tabId);
else else
chrome.pageAction.hide(tabId); chrome.pageAction.hide(tabId);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment