summaryrefslogtreecommitdiff
path: root/src/bg
diff options
context:
space:
mode:
authorhackademix2018-07-28 14:37:18 +0200
committerhackademix2018-07-28 14:37:18 +0200
commitd64e48027516fda420f1f4c5696d35ebaf810866 (patch)
treea08df61d1a64e5fecd4d11259e24ad0b1423ded5 /src/bg
parent3eb5be743d2eb0e5cb28cb6bded526ff5bd258d1 (diff)
downloadnoscript-d64e48027516fda420f1f4c5696d35ebaf810866.tar.gz
noscript-d64e48027516fda420f1f4c5696d35ebaf810866.tar.xz
noscript-d64e48027516fda420f1f4c5696d35ebaf810866.zip
Fixed random stallings on page transitions.
Diffstat (limited to 'src/bg')
-rw-r--r--src/bg/RequestUtil.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bg/RequestUtil.js b/src/bg/RequestUtil.js
index a5af09e..d6d3300 100644
--- a/src/bg/RequestUtil.js
+++ b/src/bg/RequestUtil.js
@@ -130,7 +130,7 @@
debug(`Marking as "must reload"`, tabId, url);
reloadingTabs.set(tabKey(tabId, url), true);
}
- if (buffer && buffer.length) {
+ if (buffer) {
debug("Flushing %s buffer chunks on %s", buffer.length, url);
for (let chunk of buffer) {
filter.write(chunk);