1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-22 14:27:58 +01:00
This commit is contained in:
Kris Maglione
2011-08-03 07:54:54 -04:00
parent 3adbaff83c
commit c62762c0e3
3 changed files with 6 additions and 15 deletions

View File

@@ -672,7 +672,6 @@ var Buffer = Module("buffer", {
persist.progressListener = update(Object.create(downloadListener), {
onStateChange: util.wrapCallback(function onStateChange(progress, request, flags, status) {
util.dump(status, [k for ([k, v] in iter(Ci.nsIWebProgressListener)) if (v & flags)].join("|"))
if (callback && (flags & Ci.nsIWebProgressListener.STATE_STOP) && status == 0)
dactyl.trapErrors(callback, self, uri, file, progress, request, flags, status);