The checkin for bug 170722 means nsIWebBrowserPersist::saveURI interface
method has acquired a few extra parameters so that callers may supply a
cache key, referrer and headers in the call.
Before:
void saveURI(in nsIURI aURI, in nsIInputStream aPostData, in
nsISupports aFile);
After:
void saveURI(in nsIURI aURI, in nsISupports aCacheKey,
in nsIURI aReferrer, in nsIInputStream aPostData,
in string aExtraHeaders, in nsISupports aFile);
It is safe to pass in nsnull for these new values. The cache key is only
relevant when attempting to save data from a previously cached postdata
request.
Hopefully this should mean nsIWebBrowserPersist is close to being frozen
(bug 99642).
Adam
