Index: ext/background.js |
=================================================================== |
--- a/ext/background.js |
+++ b/ext/background.js |
@@ -90,16 +90,18 @@ |
// the onBeforeRequest handler. |
let frames = framesOfTabs.get(this.id); |
if (frames) |
{ |
let frame = frames.get(0); |
if (frame) |
return frame.url; |
} |
+ |
+ return undefined; |
kzar
2018/08/08 11:15:19
This looks like an unrelated change? If not could
hub
2018/08/14 11:37:03
Without it eslint show an error
81:12 error E
|
}, |
sendMessage(message, responseCallback) |
{ |
browser.tabs.sendMessage(this.id, message, responseCallback); |
} |
}; |
ext.getPage = id => new Page({id: parseInt(id, 10)}); |