From 590d640bed570a0b131de2d0bd9f9c8cea1db9d3 Mon Sep 17 00:00:00 2001 From: John Foerch Date: Wed, 5 Dec 2012 13:51:41 -0500 Subject: [PATCH] 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." --- modules/save.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.11.4.GIT