gecko-dev/toolkit/components
Ehsan Akhgari f4b598bf08 Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc
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.
2012-04-16 22:14:01 -04:00
..
aboutmemory Bug 711130 (part 5) - Overhaul the "other measurements" measurements for JS memory consumption. r=terrence. 2012-06-25 17:08:59 -07:00
alerts Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
apppicker Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
autocomplete Bug 720081 - Part 1: backportable solution for autocomplete controller to provide a different final defaultComplete value for typeAheadResults 2012-06-04 00:42:48 +02:00
build Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy 2012-05-22 10:50:04 -04:00
commandlines Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
console Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc 2012-04-16 22:14:01 -04:00
contentprefs Bug 762088 - nsContentPrefService.js, reference to undefined property Cc['@mozilla.org/privatebrowsing;1'], r=ehsan. 2012-06-07 15:57:17 +02:00
cookie Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
ctypes Bug 757469 - Implement ctypes.off_t. r=jorendorff 2012-05-26 09:33:52 -04:00
downloads Bug 747388 - Remove .part files on dl-failed on Android. r=mfinkle 2012-06-05 21:06:04 -07:00
exthelper Bug 750454 - Fix FUEL leaks. Part 8: Reformat FUEL code. r=mak 2012-06-05 20:05:50 -04:00
feeds Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
filepicker Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
find Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
help Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
intl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
maintenanceservice Bug 767471 - Report telemetry data for if the MozillaMaintenance service was ever manually uninstalled. r=rstrong 2012-06-25 15:17:45 -04:00
microformats Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
osfile Bug 767021 - Make error-handling compatible with 'use strict'. r=yoric 2012-06-22 20:24:27 -04:00
parentalcontrols Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
passwordmgr Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc 2012-04-16 22:14:01 -04:00
perf Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
places Bug 758193 - Remove more Places stuff in Native Fennec. r=mak 2012-06-11 08:52:45 +02:00
printing Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
prompts Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
reflect Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
remote Bug 627699 - Port GTK2 to GTK3, toolkit part, r=karlt 2012-06-16 18:06:10 +12:00
satchel Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
search Bug 764270 - Generalize use of Services.jsm in nsSearchSuggestions. r=gavin, yoric 2012-06-16 10:07:40 +07:00
social Bug 762579 - Implement SocialAPI service provider registry. r=gavin 2012-06-20 18:01:27 -07:00
startup Bug 764021 - Add Startup Timeline probe for when entering main(). r=taras,r=bsmedberg 2012-06-15 08:23:08 +02:00
statusfilter Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
telemetry Bug 767471 - Report telemetry data for if the MozillaMaintenance service was ever manually uninstalled. r=rstrong 2012-06-25 15:17:45 -04:00
typeaheadfind Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
url-classifier Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (url-classifier parts); r=dcamp 2012-06-20 00:01:02 -04:00
urlformatter Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
viewconfig Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc 2012-04-16 22:14:01 -04:00
viewsource Bug 722872 - Part 1: Add nsITransferable::Init(nsILoadContext*), enforce that it's called in debug builds, and add nsIDOMDocument* arguments to nsIClipboardHelper methods; r=roc 2012-04-16 22:14:01 -04:00
Makefile.in Bug 762579 - Implement SocialAPI service provider registry. r=gavin 2012-06-20 18:01:27 -07:00
nsDefaultCLH.js Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsDefaultCLH.manifest Bug 568691 - Convert existing JS components to use NSGetFactory and add manifest files for them. In a followup we will link the .manifest files together at packaging time. This patch was developed on Linux: Windows and Mac may require additional changes. 2010-06-22 12:59:15 -04:00