We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 57ce33c commit afaa15eCopy full SHA for afaa15e
1 file changed
src/components/https-everywhere.js
@@ -269,7 +269,9 @@ HTTPSEverywhere.prototype = {
269
getExpando: function(browser, key) {
270
let obj = this.expandoMap.get(browser);
271
if (!obj) {
272
- this.log(NOTE, "No expando for " + browser.currentURI.spec);
+ if (browser.currentURI) {
273
+ this.log(NOTE, "No expando for " + browser.currentURI.spec);
274
+ }
275
return null;
276
}
277
return obj[key];
0 commit comments