Commit Graph

30 Commits

Author SHA1 Message Date
Jonas Sicking
23c9838514 Bug 774585: Rename getCodebasePrincipal to getSimpleCodebasePrincipal since the behavior has semantically changed. r=mounir 2012-07-21 00:29:40 -07:00
Mounir Lamouri
adfa6702cc Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking 2012-07-19 10:49:17 -07:00
Ed Morley
c2d155cb67 Backout ea6db8f420c0 (bug 770831), b51c79ee0883 (bug 774957), 020f6ed5958b (bug 758258), 11d8e19e1fca (bug 758258), 707fc51bfe2e (bug 775354), 489d944a6fe6 (bug 327244), be7df3c9d50f (bug 327244) for m-oth orange 2012-07-19 08:29:48 +01:00
Mounir Lamouri
432f61b8f5 Bug 327244 (1/2) - Remove nsIScriptSecurityManager::CheckLoadURIStr(). r=sicking 2012-07-18 13:35:15 -07:00
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
Neil Rashbrook
eaedd546e8 Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-26 00:11:16 +01:00
Ed Morley
f58ad725ea Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends 2012-06-25 19:14:43 +01:00
Neil Rashbrook
aee62bb4bd Bug 758354 Stop unnecessarily preprocessing chrome r=dolske 2012-06-25 09:24:49 +01:00
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gavin Sharp
7c1608844e Bug 549349: handle file:/// drops correctly, r=Mossop 2010-02-26 12:26:44 -05:00
Neil Deakin
2b862dc7a3 Bug 456106, use new drag and drop api in browser and toolkit, r=mano 2009-06-20 20:04:07 -04:00
Asaf Romano
400eb47bf7 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
f0b8e4f65d Bug 456048 - Use the new D&D API in tabbrowser. 2008-09-30 18:19:00 +03:00
Serge Gautherie
6c9213020b 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
51884110cb 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
a6d6c664e4 Bug 356295. Implement HTML5 drag-drop. r=smaug,neil,sr=roc 2008-08-27 08:07:27 -04:00
Boris Zbarsky
350d6fc473 Backed out changeset 6958399a2eb1 o try to fix failed mochitests on Windows and Linux 2008-08-25 11:08:28 -04:00
Neil Deakin
acd274d130 Bug 356295. Implement HTML5 drag-drop API. r=smaug,sr=roc 2008-08-25 21:56:29 +12:00
Dave Camp
2092b61045 Backed out changeset 30d900751ca9 to fix unit test orange (Bug 356295) 2008-08-19 17:55:30 -07:00
Neil Deakin
ca9461ce4b Bug 356295. Implement HTML5 drag-drop. r=smaug,sr=roc 2008-08-20 10:31:45 +12:00
gavin@gavinsharp.com
51a47712dd 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
f491d62e06 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
enndeakin%sympatico.ca
6ccc9fa0b8 Bug 178513, support translucent drag feedback when dragging nodes and selections on Mac and GTK, r=vlad,josh,roc,sr=roc 2007-03-20 12:14:52 +00:00
philringnalda%gmail.com
3171ef77f1 Bug 224977: finish moving nsTransferable to nsDragAndDrop.js, remove nsTransferable.js, r=neil,mano,mscott 2006-10-29 04:39:28 +00:00
Olli.Pettay%helsinki.fi
ee372ff167 Bug 330710, Replace obsolete preventBubble/preventCapture with stopPropagation, r=neil, r=mconnor, sr=jst 2006-03-25 22:03:49 +00:00
jag%tty.nl
54b5b17a44 Fix typo in comment. 2006-02-12 15:26:19 +00:00
bzbarsky%mit.edu
361aa1170b Restore documentation that got incorrectly removed at some point. Bug 279587,
patch by Chris Thomas (CTho) <cst@andrew.cmu.edu>, r=ben, sr=bzbarsky
2005-02-08 05:32:13 +00:00
gerv%gerv.net
93180ced26 Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-02-01 17:07:35 +00:00
varga%nixcorp.com
2cd056deb1 Fix for bug 221619. Tree widget refactoring and enhancement. r=neil sr=bryner 2004-04-17 05:53:38 +00:00
blakeross%telocity.com
44ec5c23e3 Fork nsDragAndDrop 2002-10-13 22:44:18 +00:00