summaryrefslogtreecommitdiff
path: root/src/bg/deferWebTraffic.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/bg/deferWebTraffic.js')
-rw-r--r--src/bg/deferWebTraffic.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/bg/deferWebTraffic.js b/src/bg/deferWebTraffic.js
index 15d177b..3f27dd5 100644
--- a/src/bg/deferWebTraffic.js
+++ b/src/bg/deferWebTraffic.js
@@ -34,11 +34,7 @@ function deferWebTraffic(promiseToWaitFor, next) {
if (frameId !== 0) {
documentUrl = request.frameAncestors.pop().url;
}
- if (tabId !== -1) {
- reloadTab(tabId);
- } else {
- debug("No tab to reload for %s %s from %s", type, url, documentUrl);
- }
+ reloadTab(tabId);
}
}
debug("Deferring %s %s from %s", type, url, documentUrl);