We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdd3548 commit 1adf2efCopy full SHA for 1adf2ef
src/components/https-everywhere.js
@@ -361,7 +361,7 @@ HTTPSEverywhere.prototype = {
361
.getInterface(Ci.nsIDOMWindow);
362
// this is the gBrowser object of the firefox window this tab is in
363
var gBrowser = aDOMWindow.gBrowser;
364
- if (gBrowser) {
+ if (gBrowser && gBrowser._getTabForContentWindow) {
365
var aTab = gBrowser._getTabForContentWindow(contentWindow.top);
366
// this is the clickable tab xul element, the one found in the tab strip
367
// of the firefox window, aTab.linkedBrowser is same as browser var above
0 commit comments