Commit graph

44 commits

Author SHA1 Message Date
Kris Maglione
6476f95b13 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
Backed out changeset 6e56f4c8843e (bug 1431533)
Backed out changeset 12fc4dee861c (bug 1431533)
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375 Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm

MozReview-Commit-ID: 1Nc3XDu0wGl

--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Myk Melez
c3da3e7642 Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: Egyzs2KxhzH
2018-01-04 21:37:47 -08:00
Sebastian Hengst
bc8e5f198e Backed out 2 changesets (bug 1379338) for failing Marionette headless' test_anonymous_content.py TestAnonymousNodes.test_find_anonymous_children. r=backout on a CLOSED TREE
Backed out changeset 232c97d7c2ea (bug 1379338)
Backed out changeset a76ff10b9bff (bug 1379338)
2018-01-04 20:15:18 +02:00
Myk Melez
f5bb45814e Bug 1379338 - scriptify preferences XBL; r=jaws
MozReview-Commit-ID: 7NRHlSsdOtf
2018-01-04 07:34:15 -08:00
Paolo Amadini
10ee6a5c4e Bug 1362970 - Part 2 - Script-generated patch to convert .then(null, ...) to .catch(...). r=florian
Changes to Promise tests designed to test .then(null) have been reverted, and the browser/extensions directory was excluded because the projects it contains have a separate process for accepting changes.

MozReview-Commit-ID: 1buqgX1EP4P

--HG--
extra : rebase_source : 3a9ea310d3e4a8642aabbc10636c04bfe2e77070
2017-06-19 11:32:37 +01:00
Rajesh Kathiriya
dce1b0c3e6 bug 1347642 - Fixed sanitizeDialog.js running in ESLint r=standard8
MozReview-Commit-ID: A7mVW5hbvya

--HG--
extra : rebase_source : 409f0d9533a5e59ac6ba70c32ef917febba78d6b
2017-03-31 00:19:31 +05:30
Federico Padua
6d421894ad Bug 1145735 - Remove CRH_DIALOG_TREE_VIEW; r=standard8
This patch removes code marked with #ifdef CRH_DIALOG_TREE_VIEW
since it's not used anymore as described in the bug description.

MozReview-Commit-ID: 6VnJIIGtGVl

--HG--
extra : rebase_source : 3c181a33d90ebf4621fee61fe4e667cc11410167
2017-03-21 11:49:14 +01:00
Eric Rahm
722080f8b5 Bug 1313507 - Update last invokeDragSession reference to nsIArray. r=froydnj
MozReview-Commit-ID: AHHhtYHuItJ
2016-10-31 11:18:30 -07:00
Mélanie Chauvel (ariasuni)
24691fcfc3 bug 1211849 - Remove canClear support from the Sanitizer. r=mak
Modifications by Patrick <nwokop@uni.coventry.ac.uk>

--HG--
extra : commitid : 4sPxOcyS2qv
2015-10-07 19:46:35 +02:00
Carsten "Tomcat" Book
08997000eb Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo
d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
David Rajchenbach-Teller
34c2816fc1 Bug 1089695 - Async sanitize.js;r=mak
--HG--
extra : transplant_source : n%84iA%8D%87%D1t%81C%22%E9%02Z%BB%04%D1Q%93%3C
2015-07-27 19:18:19 +02:00
Bill McCloskey
2cafd808a5 Bug 1145394 - Fix unparseable JS code (r=gavin) 2015-03-20 11:57:38 -07:00
Jim Blandy
7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Paolo Amadini
cb51f08bcd Bug 984872 - Remove deprecated promise.js usage in Firefox for Desktop. r=mak 2014-03-20 22:21:05 +01:00
Mark Hammond
d8cdc4443e Bug 566746 - various fixes to sanitize(). r=mak 2013-05-09 09:08:07 +10:00
Gavin Sharp
4d947b6985 Re-land patches from bug 566746 and bug 697377 now that bug 851641 is addressed 2013-04-19 15:21:30 -07:00
Ryan VanderMeulen
048824e68e Backed out changeset 555f2b757639 (bug 566746, bug 697377) for intermittent Win7 mochitest b-c orange. 2013-05-02 21:20:08 -04:00
Gavin Sharp
1372a3cf1c Re-land patches from bug 566746 and bug 697377 now that bug 851641 is addressed 2013-04-19 15:21:30 -07:00
Ryan VanderMeulen
0021e7aaee Backed out 17 changesets (bug 566746, bug 697377) for frequent OSX debug mochitest-5 crashes. 2013-04-11 11:53:13 -04:00
Felix Fung
38683fb3ae Bug 566746 - Use Asynchronous FormHistory.jsm for sanitize.js, p=enndeakin,felix, r=mak 2011-12-17 01:31:50 -08:00
Trevor Saunders
254bffb739 bug 407956 - make nsITreeView not take a nsISupportsArray* r=neil, bz sr=neil 2013-01-06 19:54:42 -05: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
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