gecko/browser
Ehsan Akhgari 45fe6d3ae2 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
..
app Back out 551ad0863475 and a5a50d13cc85 for test failures 2012-06-26 09:14:43 +01:00
base 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
branding Bug 759095 - upgrade license to MPL 2, and other licensing cleanups. 2012-05-29 16:52:43 +01:00
components 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
config Bug 768406 - Upgrade clang to r159219. r=rail. 2012-06-27 09:30:48 -04:00
devtools 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
extensions Bug 752676: Add pdf.js as an internal handler for pdfjs (1/2); r=mak77 2012-06-02 09:56:24 -07:00
fuel Bug 750454 - Fix FUEL leaks. Part 8: Reformat FUEL code. r=mak 2012-06-05 20:05:50 -04:00
installer Merge mozilla-central into services-central 2012-06-25 13:40:04 -07:00
locales Bug 766999 - In the developer toolbar, the debugger should be named "debugger", not "Script"; r=past,dao,rcampbell 2012-06-25 11:40:40 +02:00
modules Bug 758044. Follow-up: update comments to new naming scheme. r=me 2012-06-22 15:19:24 -07:00
themes Bug 761990 - The Feedback button's dropdown arrow overlaps the label. r=jaws 2012-06-24 19:40:00 +02:00
build.mk Bug 765294 - Fix packaging of services components; r=ted 2012-06-22 09:27:01 -07:00
confvars.sh Bug 765294 - Fix packaging of services components; r=ted 2012-06-22 09:27:01 -07:00
LICENSE
Makefile.in Bug 740795 part C - Don't ship pdf.js as an extension, build changes, r=ted 2012-05-18 12:42:01 -04:00
makefiles.sh Bug 740795 part C - Don't ship pdf.js as an extension, build changes, r=ted 2012-05-18 12:42:01 -04:00