Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3192)

Unified Diff: chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.html

Issue 8392025: Fix Javascript typo in LazyBackgroundPageApiTest (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: use usual pattern for search() Created 9 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/lazy_background_page/broadcast_event/background.html
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 7cee993aac0df08c8fc23ce44024819bba3d2e02..24afc8d077e9ddf43e69f95c960e050422679779 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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698