Commit Graph

547 Commits

Author SHA1 Message Date
MilindL
a2ac3e94f6 Bug 1063635 Part 3 - Fix tests for native writeAtomic. r=Yoric
MozReview-Commit-ID: 94lNCMUEg7c

--HG--
extra : rebase_source : 0209ed03bebbac1480c3395f830cdc75b49f5528
2017-08-29 20:20:26 +05:30
MilindL
e54f52d448 Bug 1063635 Part 2 - Call native writeAtomic code instead of JS backend when applicable. r=Yoric
MozReview-Commit-ID: fiIS2xPc2r

--HG--
extra : rebase_source : 941404460529cfb4d5561f21e8f796e708396d9d
2017-07-27 19:41:00 +05:30
MilindL
02b99ee53a Bug 1063635 Part 1 - Add native code for OS.File.writeAtomic. r=smaug,Yoric
MozReview-Commit-ID: 2TKZh6jCsq5

--HG--
extra : rebase_source : b10915c559fd365c46081a3882de358182af2b78
2017-06-27 13:10:11 +05:30
Chris H-C
28c67cf8bd 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

--HG--
extra : rebase_source : 9c38c97e39e3c4fb192288d751505e1f0f2a2c6d
2017-08-22 09:42:09 -04:00
Mark Banner
a53020d022 Bug 1392098 - Enable the new ESLint no-useless-run-test rule across the tree. r=mossop
MozReview-Commit-ID: 35MaseieNUk

--HG--
extra : rebase_source : 98eaec6a67fd3b30ea6b0be641f26c3911012fab
2017-08-20 18:52:05 +01:00
Masatoshi Kimura
b3d2965807 Bug 938704 - Make OS.File support modern iterators. r=florian,Yoric
MozReview-Commit-ID: 8F1DtgakxM3

--HG--
extra : rebase_source : 05c42a3236ad55356a9149d8107e4a569fc06cd0
2017-08-19 15:04:13 +09:00
Andrew McCreight
dd21341337 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

--HG--
extra : rebase_source : 9b6f52e0981af57a6c613258dc691cdc197a3952
2017-08-18 08:59:28 -07:00
Dan Banner
2497992dcf Bug 1379256 - Enable the rest of the recommended ESLint rules for toolkit/components/osfile. r=mossop
MozReview-Commit-ID: F5GmnvS9LpM

--HG--
extra : rebase_source : 0e25d8b232e228c044417a41975736da5e263f9b
2017-08-09 15:23:19 +01:00
Dan Banner
14b6c58472 Bug 1379256 - fix no-undef issues for toolkit/components/osfile. r=mossop
MozReview-Commit-ID: B0vImMrMGF6

--HG--
extra : rebase_source : 511f246dd4b7544b88e221dd03b6a2bc78d7c213
2017-08-09 14:42:27 +01:00
Dan Banner
ac2cdf0adb Bug 1379256 - Enable more ESLint rules for toolkit/components/osfile (automatic fixes). r=mossop
MozReview-Commit-ID: EBIwfqkaSnD

--HG--
extra : rebase_source : d9498c5b9f29ebac9396ca198401f733bbd7a2c0
2017-08-09 14:21:27 +01:00
Eric Rahm
0938982c90 Bug 1389598 - Part 4: Remove remaining gonk refs. r=froydnj
--HG--
extra : rebase_source : 063c7f95dda063eafabfa1921366bd1957b8fe73
2017-08-11 17:45:18 -07:00
Masatoshi Kimura
8b713b2b0f Bug 1375125 - Stop using nsILocalFile in the tree. r=froydnj
This mechanically replaces nsILocalFile with nsIFile in
*.js, *.jsm, *.sjs, *.html, *.xul, *.xml, and *.py.

MozReview-Commit-ID: 4ecl3RZhOwC

--HG--
extra : rebase_source : 412880ea27766118c38498d021331a3df6bccc70
2017-08-04 17:49:22 +09:00
Dan Banner
106d999025 Bug 1386666 - Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files. r=mossop
MozReview-Commit-ID: 786dBxzN3Uc

--HG--
extra : rebase_source : bcd8bfa32c5d93f4559bda985521c3805b43c6b6
2017-07-31 16:34:04 +01:00
Wes Kocher
2f468040aa Backed out changeset 856215476aa4 (bug 1386666) for eslint failures a=backout
MozReview-Commit-ID: FdO8WkzBvfj
2017-08-02 11:47:42 -07:00
Dan Banner
2514f6e1e4 Bug 1386666 - Remove try..catch(ex if ex) statements from toolkit/components/osfile/ so that ESLint can parse the files. r=mossop
MozReview-Commit-ID: 786dBxzN3Uc

--HG--
extra : rebase_source : bfb2c488d598f528bdbe0383051322c964fb1497
2017-07-31 16:34:04 +01:00
Marco Castelluccio
142609c919 Bug 1384044 - Stop using preprocessor in osfile.jsm. r=Yoric
--HG--
extra : rebase_source : ce10c7bf9db589eaf19bcc0e4522b4cc77a33382
2017-07-25 13:53:13 +02:00
Chris H-C
a21051c236 bug 1366294 - Part 13 - Fix telemetry-using tests. r=Dexter
Some tests were using "secret" APIs to get at telemetry knowledge from various
processes in various ways. Adjust them so that they work with the new ways of
doing things.

MozReview-Commit-ID: 2iBL00HVGyg
2017-07-24 09:52:26 -04:00
Andrea Marchesini
50f9ea47a3 Bug 1350958 - Finish labeling ProxyReleaseEvent, r=billm 2017-07-14 08:49:22 +02:00
Kan-Ru Chen
a6052d02e5 Bug 1353731 - Only attempt to reset timer every per osfile.reset_worker_delay. r=Yoric
After this patch for every restartTimer() call we only set a flag to
indicating that we should reset the timer when the timer fires.

MozReview-Commit-ID: GRInHxuEEQM

--HG--
extra : rebase_source : c1961186356f818061553330d7255f3851702825
2017-06-27 16:04:51 -07:00
Bill McCloskey
f115503a0b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Florian Quèze
2924991bf6 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Florian Quèze
721c3ada5e Bug 1368456 - Remove imports of Promise.jsm from Firefox, r=mconley. 2017-06-23 11:25:18 +02:00
Florian Quèze
c3a5e47cea Bug 1034599 - Convert remaining Promise.defer() uses to PromiseUtils.defer() or new Promise(), r=mconley. 2017-06-23 11:25:02 +02:00
Florian Quèze
33d29ec112 Bug 1374282 - ban Task.jsm during startup, r=Mossop, a=sheriffduty 2017-06-22 12:51:43 +02:00
Florian Quèze
7375dcec46 Bug 1374282 - script generated patch to remove generators from add_task in browser/ and toolkit/, r=Mossop. 2017-06-22 12:51:43 +02:00
Chris Peterson
7dad410229 Bug 1373525 - toolkit/osfile: Remove unused constructor of ScopedArrayBufferContents. r=dteller
toolkit/components/osfile/NativeOSFileInternals.cpp:98:12 [-Wunused-member-function] unused member function 'ScopedArrayBufferContents'

MozReview-Commit-ID: 7OQH2RyX6xa

--HG--
extra : source : c3256aa1e6b786329b3e7a55358fe8d94f9981e4
extra : intermediate-source : dbc58961d15ec5b55884a35eb72ccf3680d98494
2017-06-10 16:40:56 -07:00
Carsten "Tomcat" Book
8a1350b5a6 Backed out changeset 4f6302a98ae4 (bug 1372405)
--HG--
extra : rebase_source : 41632f3158e88e692809731394a683d065a73dfb
2017-06-21 13:59:26 +02:00
Bill McCloskey
6b3e84ed5f Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Paolo Amadini
375f5f7210 Bug 1362970 - Part 3 - Fix indentation and one misuse of "catch". r=florian
MozReview-Commit-ID: 2oFOmye7EUr

--HG--
extra : rebase_source : 1b575a89ff3f0dc7683f1c25bde12de6859c17be
extra : source : eb61cf8f77d22f0cf026056615a475c2e04f932a
2017-06-16 11:16:00 +01: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
Carsten "Tomcat" Book
ea1b86680c Backed out changeset 9846de3bd954 (bug 1372405)
--HG--
extra : rebase_source : 5d4a48e8ec394c329994689d938d2a6e9b2752b0
2017-06-20 08:27:02 +02:00
Bill McCloskey
4592152411 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bevis Tseng
d1637b9c5a Bug 1372453 - Part 2: Name the caller of ProxyReleaseEvent. r=billm
MozReview-Commit-ID: LYhSWnZkq0i
2017-06-14 09:27:17 +08:00
Masatoshi Kimura
838ccc4108 Bug 1369025 - Remove mozilla::dom::EncodingUtils. r=hsivonen
MozReview-Commit-ID: 5O5WtxbmATQ

--HG--
rename : dom/encoding/encodingsgroups.properties => intl/locale/encodingsgroups.properties
extra : rebase_source : 13143b43ee745b618e05ed1b6991d69781c2767d
2017-06-17 11:54:40 +09:00
milindl
253ddcbcb0 Bug 850636 - add an option outSerializationDuration to measure the time for message serialization,r=Yoric
This changes the `Scheduler.post` method to check for options in the `args`,
and accordingly update it with the time it takes for running `Scheduler.worker.post`.

This also changes the `test_duration.js` to add another duration (serialization duration)
for the operations where `Scheduler.post` is called.

MozReview-Commit-ID: EGPeHfMYI1U

--HG--
extra : rebase_source : caa281e6ad9cee1a39a7196c7253cae782c771db
2017-06-03 21:44:37 +05:30
Henri Sivonen
432653453a Bug 1261841 part 2 - Use encoding_rs instead of uconv. r=emk,mystor.
MozReview-Commit-ID: 15Y5GTX98bv
2017-06-13 13:23:23 +03:00
Florian Quèze
97f401c644 Bug 1362882 - script-generated patch to switch from Promise.defer() to new Promise() where it's straightforward, rs=Mossop. 2017-05-12 14:55:27 +02:00
Florian Quèze
4e937e42a2 Bug 1353542 - Cleanup the script output and fix tests, r=Mossop. 2017-05-12 14:54:05 +02:00
Florian Quèze
1d0e28a791 Bug 1353542 - script-generated patch to remove .bind(this) calls we no longer need now that generator functions have been replaced with async functions, r=Mossop. 2017-05-12 14:47:41 +02:00
Florian Quèze
16530fa1e3 Bug 1353542 - smaller script-generated patch converting remaining generators that are likely tasks (actual generators were identified by hand and whitelisted), r=Mossop. 2017-05-12 14:45:01 +02:00
Florian Quèze
5e3539e504 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Florian Queze
f935ddc4b3 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
37ff4fc7cc Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699 Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout 2017-04-14 23:39:22 +02:00
Sebastian Hengst
738d097aae Backed out changeset 55f3df15eaa6 (bug 1356569) 2017-04-14 23:39:17 +02:00
Florian Queze
3c564a2b02 Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws. 2017-04-14 21:51:39 +02:00
Florian Queze
95d4d20c17 Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Paolo Amadini
e6f82c9573 Bug 1273265 - Allow long file names in specific cases. r=jimm
MozReview-Commit-ID: 3tl5Iihxs27

--HG--
extra : rebase_source : 7cf11d78af7e5fe9a41f418333af2169d3dd219d
2017-04-06 09:08:06 +01:00
Jan Beich
cc6d16c6b6 Bug 981348 - OS.File: f_bavail uses f_frsize units according to POSIX. r=Yoric
MozReview-Commit-ID: GU7CbhSsvTa

--HG--
extra : rebase_source : 3111b06d582a2ed0fbf9194c43a438c51751df38
2014-03-08 19:30:00 -08:00
Mark Banner
bd625e4e9f Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6

--HG--
extra : rebase_source : 83eaf40c5cbb5e25cfb3f3b5afadf4fbf0422c92
2017-03-20 12:36:37 +01:00