gecko/testing/mochitest/tests
Ehsan Akhgari a95b6edeea 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
..
browser Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
MochiKit-1.4.2 Bug 759095 - upgrade license to MPL 2, and other licensing cleanups. 2012-05-29 16:52:43 +01:00
SimpleTest 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
file_SpecialPowersFrame1.html
index.html
Makefile.in Backout cfac7b6a1f9c (bug 728893) for mochitest-1 orange 2012-05-23 11:56:03 +01:00
test_bug362788.xhtml
test_bug366645.xhtml
test_sanity.html Bug 700199 EventUtils.js should use synthesized events for sendKey(), sendChar() and sendString() rather than untrusted events r=smaug+ehsan+dolske+enndeakin 2011-12-16 22:38:45 +09:00
test_sanityEventUtils.html Bug 723207: fix SimpleTest.info when called as just info(), r=jmaher 2012-02-01 10:11:53 -08:00
test_sanityException2.html
test_sanityException.html
test_sanitySimpletest.html Bug 723207: fix SimpleTest.info when called as just info(), r=jmaher 2012-02-01 10:11:53 -08:00
test_sanityWindowSnapshot.html Bug 723207: fix SimpleTest.info when called as just info(), r=jmaher 2012-02-01 10:11:53 -08:00
test_SpecialPowersExtension2.html
test_SpecialPowersExtension.html Bug 764315 - Trigger reification for QuickStubbed accessors in SpecialPowers wrappers before calling Object.getOwnPropertyDescriptor. r=mrbkap 2012-06-18 15:43:00 +02:00