Viewing the source of a site results in "gBrowser._getTabForContentWindow is not a function"
If I view a source of a website HTTPS-Everywhere is throwing an exception
************************************************************
* Call to xpconnect wrapped JSObject produced this error: *
[Exception... "[JavaScript Error: "gBrowser._getTabForContentWindow is not a function" {file: "file:///path/to/tor-browser_en-US/Browser/TorBrowser/Data/Browser/profile.default/extensions/https-everywhere@eff.org/components/https-everywhere.js" line: 365}]'[JavaScript Error: "gBrowser._getTabForContentWindow is not a function" {file: "file:///path/to//tor-browser_en-US/Browser/TorBrowser/Data/Browser/profile.default/extensions/https-everywhere@eff.org/components/https-everywhere.js" line: 365}]' when calling method: [nsIObserver::observe]" nsresult: "0x80570021 (NS_ERROR_XPC_JAVASCRIPT_ERROR_WITH_DETAILS)" location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0" data: yes]
************************************************************