Commit Graph

15 Commits

Author SHA1 Message Date
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
Dão Gottwald
23fa761218 Bug 767828 - disable test 2012-06-24 22:32:55 +02:00
Dão Gottwald
0bad2a4bfd Bug 767813 - Set the consumeoutsideclicks attribute on panels instead of calling popupBoxObject.setConsumeRollupEvent. r=enndeakin 2012-06-24 22:30:59 +02:00
Ryan VanderMeulen
ca7fd4db6d Backout e8a507a0a1a8 (bug 767813) due to mochitest-browser-chrome orange. 2012-06-24 16:27:20 -04:00
Dão Gottwald
57d422c413 Bug 767813 - Set the consumeoutsideclicks attribute on panels instead of calling popupBoxObject.setConsumeRollupEvent. r=enndeakin 2012-06-24 19:44:04 +02:00
Ryan VanderMeulen
2a1460535d Backout 70e3a2c8c6b4 (Bug 767133) due to mochitest-other orange. 2012-06-22 18:12:54 -04:00
Dão Gottwald
ab27cd773f Bug 767133 - Add slide-in animation for arrow panels. r=enndeakin ui-r=shorlander
--HG--
extra : rebase_source : ab38e90e42a6bf45c4152b4960db8f4a8ba14ec0
2012-06-22 22:13:21 +02:00
Michael Wu
539066cff5 Bug 759013 - Convert more makefiles to use TEST_DIRS, r=khuey 2012-05-27 23:25:22 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Paolo Amadini
5c5b32176f Bug 746787 - Ensure the browser window is not minimized when opening the Downloads panel. r=mak 2012-04-27 15:05:04 +02:00
Paolo Amadini
7e6f309ead Bug 746853 - Fix finalization of the past downloads query in error cases. r=mak 2012-04-27 15:04:42 +02:00
Paolo Amadini
223e418209 Bug 746658 - Failed downloads can't be removed from panel. r=mak 2012-04-27 15:04:27 +02:00
Paolo Amadini
cc07746d4f Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <leofigueres@yahoo.com>.
2012-04-17 13:35:09 +02:00
Ed Morley
f558fef737 Backout ba7da6256b23 (bug 726444) for talos regressions; a=mak 2012-03-11 23:38:53 +00:00
Paolo Amadini
2a53c9bbe4 Bug 726444 - Implement the Downloads Panel. r=mak ui-r=limi
Includes: Bug 697679 - By Javi Rueda <leofigueres@yahoo.com>.
2012-03-10 15:00:45 +01:00