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

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

Issue 9350024: Unrevert again r119770 - "Event pages: remember events that the page registered for,"" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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
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 9ea9419ae3d93f2b52f238e71ad4cc04c4e0fad8..2c0a0a1c2169377f7dc9b9b2df23cc64fdaf4216 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,10 +1,9 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2012 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) {
- // TODO: look for 'stegosaurus' in the page contents.
- if (tab.url.search("stegosaurus") > -1)
+ if (tab.url.search("test_file.html") > -1)
chrome.pageAction.show(tabId);
else
chrome.pageAction.hide(tabId);

Powered by Google App Engine
This is Rietveld 408576698