Emilio Cobos Álvarez
4b8b5e1717
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Mark Banner
3b36b732b2
Bug 1463673 - Add the expected argument to Assert.throws/rejects for various tests in toolkit/. r=mossop
...
MozReview-Commit-ID: LsWlHC16145
2018-05-22 19:25:34 +01:00
Kris Maglione
187318b0b7
Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj
...
MozReview-Commit-ID: Iv4T1MVAF5
2018-05-19 20:17:45 -07:00
Jan-Erik Rediger
96146257d0
Bug 1320052 - Update external snapshot callers to not deal with subsessions. r=chutten
...
MozReview-Commit-ID: DGTer5oMnwd
2018-05-02 15:56:03 +02:00
arthur.iakab
043600c175
Backed out 6 changesets (bug 1320052) on request by Dexter for requently failing test verify dom/base/test/browser_use_counters.js
...
Backed out changeset 07db52945b1f (bug 1320052)
Backed out changeset 7a64a23bf183 (bug 1320052)
Backed out changeset c95a4b0c6642 (bug 1320052)
Backed out changeset 4749633bd02f (bug 1320052)
Backed out changeset c7b8f6d55a0b (bug 1320052)
Backed out changeset b0396db0229c (bug 1320052)
2018-05-08 17:38:29 +03:00
Jan-Erik Rediger
25536db351
Bug 1320052 - Update external snapshot callers to not deal with subsessions. r=chutten
...
MozReview-Commit-ID: DGTer5oMnwd
2018-05-02 15:56:03 +02:00
Dan Banner
ea4f58c740
Bug 1399197 - Enable ESLint for osfile.jsm, nsURLFormatter.js and nsHelperAppDlg.js r=standard8
...
MozReview-Commit-ID: JpW8i9QKxVL
2018-01-10 19:47:43 +00:00
Kris Maglione
62f14a5089
Bug 1446833: Part 4 - Make sure directory service overrides actually take effect. r=rhelmer
...
The directory service caches certain directory entries, or has them set by
other callers using `.set()`. When we try to override those directories with
custom providers, the cached value still takes precedence.
It might make more sense to just store the directory entry values directly in
the directory service's hash, but this patch just takes the less obtrusive
path of clearing cached values for keys that we override.
This patch also fixes the few instances where add-on manager tests leave files
in the global temporary directory which are now caught by the shutdown
assertions.
MozReview-Commit-ID: Jq92TngLO1L
2018-03-18 15:55:08 -07:00
Florian Quèze
5715aadbec
Bug 1433175 - more aggressive scripted patch to replace remaining Components.classes, Components.interfaces, Components.utils and Components.results uses with Cc, Ci, Cu and Cr, r=Mossop.
2018-02-28 18:51:35 +01:00
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
Mark Banner
0f7796144a
Bug 1440761 - Enable no-unused-vars for global scope on jsm files in toolkit/. r=mossop
...
MozReview-Commit-ID: 7Okqmw5dBcL
2018-02-23 19:25:59 +00:00
Florian Quèze
f1a55f73f8
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Jared Wein
d5ab8bee00
Bug 1436575 - Manually fix the errors from no-compare-against-boolean-literal that the autofix couldn't change. r=standard8
...
MozReview-Commit-ID: 6NtfU76sPKv
2018-02-08 13:35:53 -05:00
Bob Owen
ae632db932
Bug 1409063: Remove OS.Constants.Path attributes that were added for WebappsInstaller.jsm and are no longer used. r=baku
2018-02-09 14:09:25 +00:00
Mark Banner
4fd95a27c9
Bug 1230369 - Manually fix some remaining instances of Ci/Cc/Cu definitions and switch Components.* to using the shorthand in some places. r=florian
...
MozReview-Commit-ID: 9SmoR9RlvZE
2018-02-07 09:24:15 +00:00
Andrew McCreight
272cee1e65
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
2018-02-06 09:36:57 -08:00
Florian Quèze
c5f15a4700
Bug 1339461 - script-generated patch to convert foo.indexOf(...) == -1 to foo.includes(), r=Mossop.
2018-02-01 20:45:22 +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
Javier Serrano Polo
03947d109c
Bug 1425662 - Fix problems reading _locales directories on Linux. r=Yoric
2017-12-26 11:39:00 +02:00
Andrew McCreight
7504c43424
Bug 1410209, part 1 - Rename OSFile's ErrorEvent to avoid name conflicts. r=froydnj
...
ErrorEvent is also the name of a DOM event class, which causes an
assertion in the XPCOM leak checking system with the third patch.
MozReview-Commit-ID: 3xTHondZr9n
2017-10-26 13:43:23 -07:00
Florian Quèze
1838aa9e08
Bug 1421992 - script-generated patch to replace do_execute_soon, do_print and do_register_cleanup with executeSoon, info and registerCleanupFunction, rs=Gijs.
2017-12-21 11:10:23 +01:00
Florian Quèze
082ca8b2a3
Bug 1421992 - script-generated patch to replace do_check_* functions with their Assert.* equivalents, rs=Gijs.
2017-12-21 11:08:17 +01:00
Mark Banner
2008979d83
Bug 1369722 - Disable ESLint browser environment for jsm files. r=mossop
...
MozReview-Commit-ID: IVAyPmTqtCB
2017-11-07 22:59:09 +00:00
Evan Tseng
f2888a1311
Bug 1410839 - Add the ChromeMigrationUtils.jsm module and implement the getExtensionList and related functions to export all extensions information installed in a specific profile. r=Gijs
...
MozReview-Commit-ID: AqlJzKkTjWp
2017-11-23 10:48:18 +08:00
Mark Banner
45b0812566
Bug 1412893 - Change instances of using getService to Services.jsm where possible in toolkit/components - Part 1. r=mossop
...
MozReview-Commit-ID: BBnacIvRJBR
2017-10-30 16:29:58 +00:00
Andrew McCreight
16982cc07c
Bug 1412111 - Add mode lines to NativeOSFileInternals.{h,cpp}. r=Yoric
...
MozReview-Commit-ID: ETHWPJo8OBF
2017-10-26 13:40:57 -07:00
Mark Banner
e47ccbfec3
Bug 1411368 - Automatically fix no-multi-spaces issues raised when using ESLint 4. r=mossop
...
MozReview-Commit-ID: H5YVp3rnzGo
2017-10-26 11:47:01 +01: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
MilindL
7d7d80db18
Bug 1063635 Part 3 - Fix tests for native writeAtomic. r=Yoric
...
MozReview-Commit-ID: 94lNCMUEg7c
2017-08-29 20:20:26 +05:30
MilindL
eac41890d9
Bug 1063635 Part 2 - Call native writeAtomic code instead of JS backend when applicable. r=Yoric
...
MozReview-Commit-ID: fiIS2xPc2r
2017-07-27 19:41:00 +05:30
MilindL
1534c266e7
Bug 1063635 Part 1 - Add native code for OS.File.writeAtomic. r=smaug,Yoric
...
MozReview-Commit-ID: 2TKZh6jCsq5
2017-06-27 13:10:11 +05:30
Kris Maglione
051a41c813
Bug 1371065: Part 1 - Remove external references to the add-on SDK. r=Mossop,glandium
...
MozReview-Commit-ID: D5KyHcg8Ujk
2017-09-12 11:54:47 -07:00
Sebastian Hengst
ec0641c23f
Backed out changeset 44ff3bc7bee5 (bug 1063635) for failing xpcshell's toolkit/components/osfile/tests/xpcshell/test_read_write.js on Linux x64 debug. r=backout
2017-09-01 15:54:56 +02:00
Sebastian Hengst
6cc163e4a8
Backed out changeset 0d9eb13ac53e (bug 1063635)
2017-09-01 15:53:44 +02:00
Sebastian Hengst
9b8548a73c
Backed out changeset 61a23e8fbf54 (bug 1063635)
2017-09-01 15:53:39 +02:00
MilindL
f45d76a349
Bug 1063635 Part 3 - Fix tests for native writeAtomic. r=Yoric
...
MozReview-Commit-ID: 94lNCMUEg7c
2017-08-29 20:20:26 +05:30
MilindL
9c9c01d0f2
Bug 1063635 Part 2 - Call native writeAtomic code instead of JS backend when applicable. r=Yoric
...
MozReview-Commit-ID: fiIS2xPc2r
2017-07-27 19:41:00 +05:30
MilindL
dfbae4e2ae
Bug 1063635 Part 1 - Add native code for OS.File.writeAtomic. r=smaug,Yoric
...
MozReview-Commit-ID: 2TKZh6jCsq5
2017-06-27 13:10:11 +05:30
Chris H-C
eabcba7afb
bug 1376600 - Remove registered(Keyed)Histograms r=Dexter
...
With the removal of the old addonHistograms, all histograms are now registered.
So removing registered(Keyed)Histograms should be straightforward?
Unfortunately not, as this was how we filtered data based on dataset
(opt-in/opt-out), so a little more fiddling was needed to get C++ to only
serialize dataset-appropriate data (instead of post-facto filtering it in JS).
MozReview-Commit-ID: HDplhmzmzJl
2017-08-22 09:42:09 -04:00
Mark Banner
44963145a5
Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
...
MozReview-Commit-ID: 35MaseieNUk
2017-08-20 18:52:05 +01:00
Masatoshi Kimura
747aea1659
Bug 938704 - Make OS.File support modern iterators. r=florian,Yoric
...
MozReview-Commit-ID: 8F1DtgakxM3
2017-08-19 15:04:13 +09:00
Andrew McCreight
44a3dce5bf
Bug 1368219 - Remove the unused OSFile.getAvailableFreeSpace. r=Yoric
...
The test is failing frequently on Linux 32 debug, and the method is unused.
MozReview-Commit-ID: 5ngM1pfDV7g
2017-08-18 08:59:28 -07:00
Dan Banner
3037c7821e
Bug 1379256 - Enable the rest of the recommended ESLint rules for toolkit/components/osfile. r=mossop
...
MozReview-Commit-ID: F5GmnvS9LpM
2017-08-09 15:23:19 +01:00
Dan Banner
146dee0bb0
Bug 1379256 - fix no-undef issues for toolkit/components/osfile. r=mossop
...
MozReview-Commit-ID: B0vImMrMGF6
2017-08-09 14:42:27 +01:00
Dan Banner
ab430856f3
Bug 1379256 - Enable more ESLint rules for toolkit/components/osfile (automatic fixes). r=mossop
...
MozReview-Commit-ID: EBIwfqkaSnD
2017-08-09 14:21:27 +01:00
Eric Rahm
4d399e631a
Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj
2017-08-11 17:45:18 -07:00