summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-03-15 10:51:12 -0400
committerKris Maglione <maglione.k@gmail.com>2011-03-15 10:51:12 -0400
commita0ca379cfddde5b88007211d6f6ebdf9748f7409 (patch)
tree04ebcdf1d58069fe2c7d7c9e480ecbf3ad9d0afb
parentefcf07c68b02bdb060eea3a232234d42fefaa63d (diff)
downloadpentadactyl-a0ca379cfddde5b88007211d6f6ebdf9748f7409.tar.gz
Work around inane bug in Google's Page Speed extension. Closes issue #438.
-rw-r--r--common/content/tabs.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/content/tabs.js b/common/content/tabs.js
index dec2dcca..efb44b43 100644
--- a/common/content/tabs.js
+++ b/common/content/tabs.js
@@ -103,7 +103,8 @@ var Tabs = Module("tabs", {
get browsers() {
let browsers = config.tabbrowser.browsers;
for (let i = 0; i < browsers.length; i++)
- yield [i, browsers[i]];
+ if (browsers[i] !== undefined) // Bug in Google's Page Speed add-on.
+ yield [i, browsers[i]];
},
/**