summaryrefslogtreecommitdiffstats
path: root/chrome/test/data/extensions/subscribe_page_action/feed_finder.js
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/data/extensions/subscribe_page_action/feed_finder.js')
-rw-r--r--chrome/test/data/extensions/subscribe_page_action/feed_finder.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/chrome/test/data/extensions/subscribe_page_action/feed_finder.js b/chrome/test/data/extensions/subscribe_page_action/feed_finder.js
index d5c4f2a..5261264 100644
--- a/chrome/test/data/extensions/subscribe_page_action/feed_finder.js
+++ b/chrome/test/data/extensions/subscribe_page_action/feed_finder.js
@@ -2,10 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-if (window == top) {
- findFeeds();
- window.addEventListener("focus", findFeeds);
-}
+findFeeds();
+window.addEventListener("focus", findFeeds);
function findFeeds() {
// Find all the RSS link elements.