Florian Quèze
f6add2cafd
Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:33 +01:00
Kris Maglione
0bb74efdf1
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
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
fd67f090b2
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
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb
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
683a97d172
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
2018-01-29 15:20:18 -08:00
Dan Banner
5af4450327
Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
...
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Nicholas Nethercote
38e7662bb0
Bug 1392989 (part 2) - Remove unused atom-service references. r=jaws.
...
Plus a couple of other unused service references nearby.
2017-08-24 11:46:02 +10:00
Florian Queze
d3c36892fa
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Florian Queze
9b4f73599f
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Jared Wein
5a181760cc
Bug 1348068 - Enable the key-spacing rule for eslint and fix the related issues. r=standard8
...
Running eslint with --fix didn't fix many of the issues. The majority here had to be fixed by hand but a significant majority of the issues were related to a few files that I was able to use find-and-replace with. I regret not making this in to separate commits of the hand-fixes and the fixes from --fix but I don't recall --fix fixing any of the issues.
MozReview-Commit-ID: ANyg2qfo3Qx
2017-03-21 14:29:43 -04:00
Florian Quèze
49d8db6821
Bug 1345294 - script generated patch (+ some hand cleanup) to replace {get,set}ComplexValue for nsISupportsString by {get,set}StringPref, r=Mossop.
2017-03-16 19:26:01 +01:00
Gijs Kruitbosch
f79aa41e73
Bug 1345055 - relabel 'user set' column in about:config to be less misleading, r=jaws
...
MozReview-Commit-ID: Ch9Jm2QxNoz
2017-03-07 10:11:10 +00:00
Jared Wein
0ec522d5b6
Bug 1331661 - Enable the 'quotes' rule for eslint and fix most of the errors with --fix. r=Gijs
...
MozReview-Commit-ID: 6tv0Z06CO4a
2017-01-17 09:48:17 -06:00
Jared Wein
242ab87626
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
34e228f767
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Jared Wein
6de548d828
Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
...
MozReview-Commit-ID: GDfvwWRLNm5
2016-08-16 21:27:37 -04:00
Sebastian Hengst
c0e4d28a3a
Backed out changeset 7914e9dc6f88 (bug 1294542) for xpcshell failure in test_Log.js. r=backout
2016-08-17 01:24:58 +02:00
Jared Wein
3df021ec2e
Bug 1294542 - Enable the block-spacing rule for eslint. r=felipe
...
MozReview-Commit-ID: AAXqh63QNv3
2016-08-16 15:44:13 -04:00
Nicholas Nethercote
c74d1d066a
Bug 1257128 (part 4) - Remove unused nsIAtomService references in toolkit/. r=froydnj.
2016-03-16 21:11:10 +11:00
Dave Townsend
a2ba043d69
Bug 1245649: Turn on no-trailing-spaces. r=Gijs
2016-02-03 14:22:33 -08:00
Birunthan Mohanathas
fe337d7c5e
Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan
2015-05-21 21:49:30 +01:00
Tim Nguyen
cfe6efd40c
Bug 1132950 - Don't keep showing sort arrow on a column if another column is selected. r=jaws
2015-02-14 10:41:00 +01:00
Jim Blandy
39dc0c6097
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
Neil Rashbrook
4d6415bcfb
Bug 284673 Followup to bug 913734 to remove sepcial handling for now-removed now-unused policy machinery from about:config r=gavin
2014-01-22 21:38:57 +00:00
Trevor Saunders
fdf2a869ea
bug 407956 - make nsITreeView not take a nsISupportsArray* r=neil, bz sr=neil
2013-01-06 19:54:42 -05:00
Florian Quèze
2ab127f2bd
Bug 771084 - JavaScript Warning: 'TypeError: function FilterPrefs does not always return a value' in chrome://global/content/config.js, r=dao.
2013-02-15 09:00:50 +01:00
Ehsan Akhgari
f4bd388765
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
3f194429dd
Bug 758354 Stop unnecessarily preprocessing chrome r=dolske
2012-06-26 00:11:16 +01:00
Ed Morley
4bd90ea948
Backout ec9451e9e830 (bug 758354) for PGO linux permaorange in browser_bug422590.js and friends
2012-06-25 19:14:43 +01:00
Neil Rashbrook
d9a10be7eb
Bug 758354 Stop unnecessarily preprocessing chrome r=dolske
2012-06-25 09:24:49 +01:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Johan Charlez
fa03a684df
Bug 562640 - Error: view.selection is null when undo close tab of about:config. r=mossop
2012-05-04 22:46:35 -04:00
aceman
bd62801033
Bug 738568 - remove Services.prefs.getBranch(null) occurences. r=gavin
2012-03-29 11:48:40 +02:00
Phil Ringnalda
941a3ed11c
Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE
2012-03-28 22:37:46 -07:00
aceman
5b045964d6
Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin
2012-03-28 21:00:14 -04:00
Gavin Sharp
596779abed
backout 110452fddc2a (bug 738568) since it broke viewsource
2012-03-27 18:06:10 -07:00
aceman
7684f16e43
Bug 738568 - Remove Services.prefs.getBranch(null) occurences in Toolkit. r=gavin
2012-03-27 19:17:35 -04:00
aceman
10ad76e9dc
Bug 714606 - Use Services.prompt instead of gPromptService in Toolkit. r=mossop
2012-03-21 19:52:24 -04:00
Geoff Lankow
ea30cec949
Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part C, remove uses of nsIPrefBranch2 in toolkit/ ; r=bsmedberg
2012-01-17 14:18:29 +13:00
Tobias Markus
8f4a1bd796
Bug 712698 - view.selection is null in error console when starting Firefox with about:config in a tab. r=Mossop
2011-12-21 19:37:20 +01:00
Boris Zbarsky
a7fb4cc325
Bug 660233 part 1. Fix tests that assume UniversalXPConnect in otherwise-untrusted pages will get one nodePrincipal, documentURIObject, baseURIObject properties. r=mrbkap
2011-09-23 01:03:50 -04:00
Felix Fung
bfc4d50f2c
Bug 675794 - about:config must trim whitespace from the name for a new alphanumeric; r=gavin.sharp f=margaret
2011-09-20 17:20:51 +01:00
Jezreel Ng
75816dd139
Bug 239533 - Add URL parameter support to about:config. r=gavin
2011-08-04 09:05:29 +02:00
Dão Gottwald
f421c339f8
Bug 664673 - properly declare arrayIndex. r=neil
2011-06-16 12:50:56 +02:00
Adam Dane [:hobophobe]
f32bdd4923
bug 619356 - About:config not refreshed when prefs changed, if filter active and sorted by 'status' column, r=neil
2011-06-06 16:53:05 -05:00
Mehdi Mulani
b7cdbeeaf8
Bug 251431: about:config doesn't show new prefs while filter is applied. r=neil, a=sdwilsh
2010-08-23 10:23:54 -07:00