Commit graph

19 commits

Author SHA1 Message Date
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
Gervase Markham
82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Felix Fung
8fc98ddec3 Bug 497664: Clear History's Disabled Preferences Should Not Be Checked. r=ehsan 2011-09-21 21:08:58 -07:00
Asaf Romano
f62b88bc41 Bug 543444 - Replace single-view API with multiple observers. r=mak sr=rstrong 2010-03-12 12:14:47 +01:00
Marco Bonardo
7522fa3186 backout bug 543444 due to leaks 2010-03-09 17:23:32 +01:00
Asaf Romano
309a26a9cb Bug 543444 - Replace single-view API with multiple observers. r=mak sr=rstrong 2010-03-09 14:43:09 +01:00
Robert O'Callahan
616b7eed72 Backed out changeset 79f299fc10d6 2010-03-05 20:10:20 +13:00
Asaf Romano
fe8fdd5f03 Relanding bug 543444 - Replace single-view API with multiple observers. r=mak. sr=rstrong. 2010-03-04 13:23:41 -08:00
Asaf Romano
eb72e43829 Backing out bug 543444 due to orange. 2010-03-03 17:23:51 -08:00
Asaf Romano
79c992514c Bug 543444 - Replace single-view API with multiple observers. r=mak, sr=rstrong. 2010-03-03 14:45:16 -08:00
Ehsan Akhgari
79e458ca23 Bug 535603 - Clear recent history title not set to all correctly on opening window; r=dao 2009-12-18 13:26:06 -05:00
Ehsan Akhgari
8e36bf95bf Bug 527820 - Checking all prefs except "Site Preferences" shows confusing UI; r=dao ui-r=beltzner a=blocking-firefox3.6+
--HG--
extra : rebase_source : 661c6a6c0d4a74e478cf8b476e65723a1654c54f
2009-11-17 14:49:59 -05:00
Ehsan Akhgari
f236aca83d Fix unit test failure for changeset aaa39ba5d852 2009-09-15 17:01:30 +04:30
Ehsan Akhgari
d6caba8e36 Bug 488691 - Confusing warning when clearing all history; r=dao 2009-09-15 14:36:34 +04:30
Ehsan Akhgari
95421f45f0 Bug 488706: Migrate clear private data settings. r=mconnor 2009-05-21 10:51:56 +01:00
Drew Willcoxon
27093379ce Bug 493559 - The 'Clear Recent History' dialog can be too slow when Everything is selected; r=johnath 2009-05-19 19:31:42 +04:30
Drew Willcoxon
77de5bc58b Bug 491638 - Clear recent history dialog should persist details expansion, r=johnath 2009-05-15 09:42:08 -07:00
Dão Gottwald
e5d622ec29 Bug 490030 - privacy.cpd.history should overrule privacy.cpd.downloads in the Clear Recent History dialog. r=johnath 2009-05-14 00:42:07 +02:00
Drew Willcoxon
73f247cb0f Bug 480169 - Clear recent history refresh (sprint)
Item list hidden behind expander/progressive disclosure button, added a warning when clearing all history, added a tree view for selecting a fine-grained timespan.  We decided to remove the tree view at the last minute; code is still there but #ifdef'ed out.
r=mconnor
2009-04-15 10:59:07 -07:00