From e0112a4ef0fad85a2bc3746d25cb45700cabe861 Mon Sep 17 00:00:00 2001 From: John Foerch Date: Tue, 11 Dec 2012 20:10:41 -0500 Subject: [PATCH] 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. --- modules/save.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; } -- 2.11.4.GIT