summaryrefslogtreecommitdiff
path: root/common/content/buffer.js
diff options
context:
space:
mode:
authorKris Maglione <maglione.k@gmail.com>2011-02-05 03:37:20 -0500
committerKris Maglione <maglione.k@gmail.com>2011-02-05 03:37:20 -0500
commit01935dbb6415f80443bae9552cf1b96591726d4a (patch)
tree04ed6ce589ed9df30db15d8d11ca49a3e05ab116 /common/content/buffer.js
parent3b5f2fc07f043f49faab05ca1fe3126343977cdc (diff)
downloadpentadactyl-01935dbb6415f80443bae9552cf1b96591726d4a.tar.gz
Fix failing tests.
--HG-- branch : groups
Diffstat (limited to 'common/content/buffer.js')
-rw-r--r--common/content/buffer.js13
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) {