diff options
Diffstat (limited to 'common/content/buffer.js')
-rw-r--r-- | common/content/buffer.js | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/common/content/buffer.js b/common/content/buffer.js index 5388e226..88c94528 100644 --- a/common/content/buffer.js +++ b/common/content/buffer.js @@ -306,15 +306,10 @@ var Buffer = Module("buffer", { statusline.updateUrl(message); }), onProgressChange: util.wrapCallback(function onProgressChange(webProgress, request, curSelfProgress, maxSelfProgress, curTotalProgress, maxTotalProgress) { - try { - onProgressChange.superapply(this, arguments); - if (webProgress && webProgress.DOMWindow) - webProgress.DOMWindow.dactylProgress = curTotalProgress / maxTotalProgress; - statusline.progress = curTotalProgress / maxTotalProgress; - } - catch (e) { - util.reportError(e); - } + onProgressChange.superapply(this, arguments); + if (webProgress && webProgress.DOMWindow) + webProgress.DOMWindow.dactylProgress = curTotalProgress / maxTotalProgress; + statusline.progress = curTotalProgress / maxTotalProgress; }), // happens when the users switches tabs onLocationChange: util.wrapCallback(function onLocationChange(webProgress, request, uri) { |