gecko-dev/content/base/public
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
..
CORSMode.h Bug 696301 part 1. Refactor CORS attribute handling a bit. r=sicking 2012-03-10 10:13:51 -06:00
Element.h Bug 661746 - Part of part 2: Introduce a const AsElement(). r=bzbarsky 2012-06-23 08:57:57 +02:00
FromParser.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Makefile.in Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
mozFlushType.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsCaseTreatment.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsContentCID.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsContentCreatorFunctions.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsContentErrors.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsContentPolicyUtils.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsContentUtils.h Bug 767130 - Consolidate code duplicated between nsGenericElement.cpp and nsINode.cpp; r=bz 2012-06-23 08:58:04 +02:00
nsCopySupport.h 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
nsDeprecatedOperationList.h Fix for bug 743666 (Add back deprecated XHR.onuploadprogress). r=bzbarsky 2012-06-04 21:29:56 -04:00
nsDOMFile.h Bug 726593 - Implement FileHandle. r=bent 2012-06-03 18:33:52 +02:00
nsIAttribute.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIContent.h Followup to bug 764400 - Move IsHTML etc. back from nsINode to nsIContent; r=mounir 2012-06-22 10:41:56 +03:00
nsIContentIterator.h Bug 757771 part 1 - Make NS_NewContentIterator and friends infallible; r=bz 2012-06-04 20:42:00 +03:00
nsIContentPolicy.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIContentSecurityPolicy.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIContentSerializer.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDocument.h 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
nsIDocumentEncoder.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDocumentObserver.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMFile.idl Bug 757284: Restore Blob.mozSlice, with a deprecation warning. r=sicking 2012-05-25 11:44:38 -07:00
nsIDOMFileList.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMFileReader.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMFormData.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMParser.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDOMSerializer.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIDroppedLinkHandler.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIEventSource.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIFrameLoader.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIFrameMessageManager.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIImageLoadingContent.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIMutationObserver.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsINameSpaceManager.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsINode.h Bug 767130 - Consolidate code duplicated between nsGenericElement.cpp and nsINode.cpp; r=bz 2012-06-23 08:58:04 +02:00
nsINodeInfo.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsINodeList.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIObjectLoadingContent.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIScriptElement.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIScriptLoaderObserver.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsISelection.idl Bug 751785 - Make Selection.toString() API use DOMString instead of wstring 2012-06-09 15:15:12 -07:00
nsISelectionController.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsISelectionDisplay.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsISelectionListener.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsISelectionPrivate.idl Bug 751785 - Make Selection.toString() API use DOMString instead of wstring 2012-06-09 15:15:12 -07:00
nsIStyleSheetLinkingElement.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIWebSocket.idl Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIXFormsUtilityService.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsIXMLHttpRequest.idl Bug 765168 - Remove js context parameter from XHR.send call chain. r=smaug 2012-06-20 12:18:39 +02:00
nsIXPathEvaluatorInternal.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsLineBreaker.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsReferencedElement.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
nsTreeSanitizer.h Bug 750096. r=bzbarsky. 2012-06-14 09:14:47 +03:00
nsXMLNameSpaceMap.h Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00