From: John Foerch Date: Wed, 5 Dec 2012 18:51:41 +0000 (-0500) Subject: save_uri: update for xulrunner 18 X-Git-Tag: debian-1.0--pre-1+git160130-1~210 X-Git-Url: https://repo.or.cz/w/conkeror.git/commitdiff_plain/590d640bed570a0b131de2d0bd9f9c8cea1db9d3 save_uri: update for xulrunner 18 In xulrunner 18, nsITransfer.init has a new parameter, aIsPrivate. There is no error or warning to pass a value for this parameter in earlier versions of xulrunner that we have tried, so we simply always pass it. If problems are reported, we can change to a version dispatch like we have done for some other similar changes. "aIsPrivate Used to determine the privacy status of the new transfer. If true, indicates that the transfer was initiated from a source that desires privacy." --- diff --git a/modules/save.js b/modules/save.js index e4044b1..b93cfae 100644 --- a/modules/save.js +++ b/modules/save.js @@ -75,7 +75,7 @@ function save_uri (lspec, output_file) { load_spec_mime_info(lspec), null /* start time */, null /* temp file */, - persist); + persist, false); persist.progressListener = tr; persist.saveURI(uri, cache_key, referrer_uri, post_data, null /* no extra headers */, file_uri);