This patch does the following:
* It adds nsITransferable::Init(nsILoadContext*). The load context
might be null, which means that the transferable is non-private, but
if it's non-null, we extract the boolean value for the privacy mode
and store it in the transferable.
* It adds checks in debug builds to make sure that Init is always
called, in form of fatal assertions.
* It adds nsIDOMDocument* agruments to nsIClipboardHelper methods which
represent the document that the string is coming from.
nsIClipboardHelper implementation internally gets the nsILoadContext
from that and passes it on to the transferable upon creation. The
reason that I did this was that nsIClipboardHelper is supposed to be a
high-level helper, and in most of its call sites, we have easy access
to a document object.
* It modifies all of the call sites of the above interfaces according to
this change.
* It adds a GetLoadContext helper to nsIDocument to help with changing
the call sites.
http://bugzilla.mozilla.org/show_bug.cgi?id=214259
Firebird Download System Upgrades.
components/downloads/Makefile.in
components/downloads/content/nsHelperAppDlg.js
components/downloads/content/unknownContentType.xul
components/downloads/locale/unknownContentType.dtd
components/downloads/locale/unknownContentType.properties
components/downloads/skin/unknownContentType.css
- Initial implementation of new Unknown Content Type Handler dialog and
nsIHelperAppLauncherDialog implementation.
http://bugzilla.mozilla.org/show_bug.cgi?id=214259
Firebird Download System Upgrades.
components/downloads/content/helperApps.js
- Initial implementation of high level mimeTypes.rdf wrapper datasource that
offers functionality useful for building user-friendly UI on top of the
stored MIME info.
Bug 205378 - Meta bug for changes in bookmarks sorting code
r=jag, sr=sspitzer, a=sspitzer,asa
The CloneResource() has been back ported from Firebird, originally
implemented by Pierre Chanial.
The changes are slightly different here as the changes bz posted were for the trunk, and unfrtuantely the trunk nsDownloadManager.cpp and the Firebird Browser version have diverged significantly. I don't have time to bring them in sync now, just landing these components so we can get Fb 0.6 out the door.