mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 14:27:58 +01:00
Bah.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user