From: John Foerch Date: Wed, 12 Dec 2012 01:10:41 +0000 (-0500) Subject: save_uri: pass 'null' to persist.saveURI for privacy context X-Git-Tag: debian-1.0--pre-1+git160130-1~204 X-Git-Url: https://repo.or.cz/w/conkeror.git/commitdiff_plain/e0112a4ef0fad85a2bc3746d25cb45700cabe861 save_uri: pass 'null' to persist.saveURI for privacy context We don't think that this will cause a problem in earlier versions of xulrunner than have this new argument, but if there is a problem, this patch can be redone to dispatch based on xulrunner version. --- diff --git a/modules/save.js b/modules/save.js index ce9e869..f9e1006 100644 --- a/modules/save.js +++ b/modules/save.js @@ -77,8 +77,9 @@ function save_uri (lspec, output_file) { null /* temp file */, persist, false); persist.progressListener = tr; - persist.saveURI(uri, cache_key, referrer_uri, post_data, null /* no extra headers */, file_uri); - + persist.saveURI(uri, cache_key, referrer_uri, post_data, + null /* no extra headers */, file_uri, + null /* no privacy context */); return info; }