Commit Graph

20 Commits

Author SHA1 Message Date
Mounir Lamouri
2b7700d07d Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking 2012-07-18 13:35:15 -07:00
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
Neil Rashbrook
7b61c655b7 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
38b8947933 Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
a95ac4a2a9 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gavin Sharp
7069c2585f Bug 549349: handle file:/// drops correctly, r=Mossop 2010-02-26 12:26:44 -05:00
Neil Deakin
2737a14b5e Bug 456106, use new drag and drop api in browser and toolkit, r=mano 2009-06-20 20:04:07 -04:00
Asaf Romano
988cdb8565 Bug 487263 - dragging a tab up or over the tab bar then out of the window does not detach. r=dietrich,mconnor. 2009-05-20 03:13:00 +03:00
Asaf Romano
68844daabf Bug 456048 - Use the new D&D API in tabbrowser. 2008-09-30 18:19:00 +03:00
Serge Gautherie
aaf9eb3a99 Bug 453220 - In <nsDragAndDrop.js>, "Error: redeclaration of const kNonStringDataLength"; (Bv1) Move the const; r=enndeakin 2008-09-25 23:32:17 +02:00
Neil Deakin
f3e1336106 Bug 452805, rearrange so that flavours are ordered in same order as getSupportedFlavours returns, r=neil 2008-09-10 12:57:58 -04:00
Neil Deakin
7ad96d6b3e Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Boris Zbarsky
fc1785cbc1 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin
7c92721496 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Dave Camp
66ad0d3422 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin
f58dac1bbf Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
gavin@gavinsharp.com
d29bff8fab Bug 389830: dragged URLs with trailing spaces should be truncated, patch by Dão Gottwald <dao@design-noir.de>, r=mano 2007-08-12 12:17:04 -07:00
jag@tty.nl
6ba0c4de3c Bug 383252: Cannot drag / drop URL or link onto tabbar, r=mconnor
When SeaMonkey switched to toolkit's nsDragAndDrop.js, it lost the dragDropSecurityCheck method, which for SM was on nsDragAndDrop, but for FF was on tabbrowser.

Moving that method from tabbrowser to toolkit's nsDragAndDrop.js, and cleaning it up a little.
2007-07-25 23:40:24 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00