Thom Chiovoloni
e85d046fcb
Bug 1400467 - Make WeaveCrypto use promises instead of spinning event loops r=eoger,markh
...
MozReview-Commit-ID: 64dewKKaAOJ
2017-09-15 19:21:31 -07:00
Edouard Oger
3d88d3788b
Bug 1395427 p4 - Add form history items deletions to TPS tests. r=markh,tcsc
...
MozReview-Commit-ID: 3oUBqLuHpoG
2017-09-22 15:19:44 -04:00
Sebastian Hengst
3e0803de18
Backed out changeset d86f2704b27a (bug 1395427)
2017-09-27 17:10:15 +02:00
Edouard Oger
6ddb8b3550
Bug 1395427 p4 - Add form history items deletions to TPS tests. r=markh,tcsc
...
MozReview-Commit-ID: 3oUBqLuHpoG
2017-09-22 15:19:44 -04:00
Thom Chiovoloni
750c8a9ec7
Bug 1401382 - Make it safe to await inside async TPS handlers r=markh
...
This patch also makes all the remaining synchronouns TPS handlers async, since
it seems likely that this issue could happen again.
MozReview-Commit-ID: DSlrX3pgeJI
2017-09-19 18:40:19 -04:00
Thom Chiovoloni
7a250a5949
Bug 1400075 - Cleanup async handling for tab engine in TPS. r=markh
...
MozReview-Commit-ID: BQ0aJodErWy
2017-09-14 16:59:11 -07:00
Thom Chiovoloni
8458b6e3cf
Bug 1399191 - Use an arrow function to avoid an undefined this value when calling namedTimer. r=markh
...
MozReview-Commit-ID: 2VwzGtAIYz7
2017-09-12 10:12:37 -07:00
Andrew McCreight
cb4467a845
Bug 1186409 - Fix code that tries to get the global by using |this|. r=kmag
...
MozReview-Commit-ID: C5ixngtvzWU
2017-05-25 14:12:12 -07:00
Kit Cambridge
03fa2b1aaf
Bug 1396967 - Fix undeclared assignments in MozMill. r=tcsc
...
MozReview-Commit-ID: 7C5zFAHmRQQ
2017-09-05 12:32:36 -07:00
Mark Hammond
805e1ff0ad
Bug 1396740 - declare waitForEvents object in TPS's mozmill extension. r=tcsc
...
MozReview-Commit-ID: AFWuHR7JgCp
2017-09-05 17:57:47 +10:00
Josh Aas
4d9f8d4101
Bug 1298930 - Remove the eRestarti386 and eRestartx86_64 constants. r=spohl
2017-08-29 05:50:00 -04:00
Nicolas Ouellet-Payeur
37bddf0395
Bug 1392148 - Remove aliases to CommonUtils in util.js r=markh
...
MozReview-Commit-ID: 1fv6AN0TMNW
2017-08-24 22:41:44 -07:00
Mark Hammond
e6a5c2bd2e
Bug 1383622 (part 2) - update TPS to use the async bookmark API. r=tcsc
...
MozReview-Commit-ID: CnTx1stPyCY
2017-08-15 12:44:50 +10:00
Mark Hammond
a9e7d7241f
Bug 1383622 (part 1) - convert most of TPS to async/await. r=tcsc
...
MozReview-Commit-ID: F6kBw1vPBPh
2017-08-12 14:09:48 +10:00
Wes Kocher
3cef7f78f6
Backed out 2 changesets (bug 1383622) for eslint failures a=backout
...
Backed out changeset 60005e2d9ea5 (bug 1383622)
Backed out changeset d229587489da (bug 1383622)
MozReview-Commit-ID: J7N7iCBLsGZ
2017-08-16 16:25:30 -07:00
Mark Hammond
237c00933f
Bug 1383622 (part 2) - update TPS to use the async bookmark API. r=tcsc
...
MozReview-Commit-ID: CnTx1stPyCY
2017-08-15 12:44:50 +10:00
Mark Hammond
170090442b
Bug 1383622 (part 1) - convert most of TPS to async/await. r=tcsc
...
MozReview-Commit-ID: F6kBw1vPBPh
2017-08-12 14:09:48 +10:00
Masatoshi Kimura
4200121b32
Bug 1387834 - Remove @deprecated nsIDOMWindowUtils.WHEEL_EVENT_CAUSED_BY_PIXEL_ONLY_DEVICE. r=masayuki
...
MozReview-Commit-ID: 4onWMSGPa4U
2017-08-06 23:44:53 +09:00
Masatoshi Kimura
0af76969af
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
2017-08-04 17:49:22 +09:00
Masatoshi Kimura
c0943e4f30
Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
...
MozReview-Commit-ID: DqJdTGopR9G
2017-07-29 20:50:21 +09:00
Rajesh Kathiriya
fefc455410
Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
...
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Sebastian Hengst
1326418a49
Backed out changeset f5922a7ed25a (bug 1374620) for failing eslint at telemetry/tests/unit/test_TelemetrySend.js:358: ["os"] is better written in dot notation. r=backout
2017-07-31 14:44:34 +02:00
Rajesh Kathiriya
0d920ece6a
Bug 1374620 - Enabled the ESLint dot-notation rule across mozilla-central r=standard8
...
MozReview-Commit-ID: FadrI2li43G
2017-07-25 23:45:41 +05:30
Nicolas Ouellet-Payeur
4e15124c49
Bug 1375212 - Wrap thrown strings in Error objects r=eoger,markh
...
MozReview-Commit-ID: KquBcbNhBEN
2017-07-22 18:55:43 -07:00
Thom Chiovoloni
0cfe8239eb
Bug 1383773 - Fix race between browser and TPS initialization. r=markh
...
MozReview-Commit-ID: 7Ie1IzRzEbI
2017-07-24 11:10:32 -04:00
Thom Chiovoloni
5379493db5
Bug 1383835 - Increase the amount of time TPS waits after a tab sync before continuing r=markh
...
MozReview-Commit-ID: 1cvmtpkjSbX
2017-07-24 14:01:03 -04:00
Edouard Oger
5870001f47
Bug 1210296 part 2 - Update tests. r=kitcambridge,markh,tcsc
...
MozReview-Commit-ID: 41dnyvdlNJv
2017-06-05 18:49:43 -04:00
Thom Chiovoloni
a439bb507b
Bug 1377578 - Fix TPS to keep it's addons and tabs tests passing r=markh.
...
MozReview-Commit-ID: LkFyMrD12Hk
2017-06-30 15:15:24 -07:00
Nathan Froyd
c33d544663
Bug 1372670 - part 5 - add nsIThreadManager::spinEventLoopUntilEmpty; r=erahm,florian
...
A number of places in JS need to drain the current thread's event queue,
which cannot be done with nsIThreadManager::spinEventLoopUntil, since we
need to not wait for an incoming event when attempting to process one.
2017-06-21 12:59:28 -04:00
Nathan Froyd
8335babfc9
Bug 1372670 - part 3 - add spinEventLoopUntil to nsIThreadManager; r=erahm,florian
2017-06-21 12:59:28 -04:00
Paolo Amadini
7afba17088
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
2017-06-19 11:32:37 +01:00
Masatoshi Kimura
5754eb0ecf
Bug 1372886 - Remove dead parameters from nsIConverterInputStream.init(). r=hsivonen
...
MozReview-Commit-ID: GliLHLsUWjt
2017-06-17 19:30:09 +09:00
Edouard Oger
adab560751
Bug 1370985 - Change getBatched() to return records directly instead of using a callback. r=markh,tcsc
...
MozReview-Commit-ID: HfwPe8jSH66
2017-05-30 13:23:57 -04:00
Thom Chiovoloni
c30722096c
Bug 1367585 - Add the 'load' event listener before adding the new tab in sync's TPS tests r=markh
...
MozReview-Commit-ID: HUUHYnLf4m8
2017-05-24 17:58:55 -04:00
Thom Chiovoloni
1e95ea1e3f
Bug 1367543 - Make sync's TPS tests handle cases where resyncs are triggered r=kitcambridge
...
MozReview-Commit-ID: 4owlGyLw5jU
2017-05-24 16:16:23 -04:00
Thom Chiovoloni
6357a540c2
Bug 1357814 - Changes to sync's TPS tests to allow running from automation r=markh
...
1. Ensure we wait for browser-delayed-startup-finished
2. Parse the profile we're cleaning up from the cleanup phase name instead of
using the selectedProfile.
3. Ensure that bookmark repair doesn't run randomly (this isn't necessary, but
the repair code can make the actual reason for failure much more difficult to
debug, and could probably cause a test to pass when it should not).
4. Add multiprocessCompatible flags so that TPS can still start in nightly (and
because it is).
MozReview-Commit-ID: 98UvRoFOdzv
2017-05-05 14:54:03 -04:00
Thom Chiovoloni
3a6de0ca77
Bug 1361818 - Make sure TPS is aware sync's collection.get method is asynchronous now r=markh
...
Ideally we'd convert this to promises, but this function is already full of
promiseSpinningly's and removing them all is too much work for this bug.
MozReview-Commit-ID: 144JFRwejTb
2017-05-03 15:12:30 -04:00
Florian Queze
6cc0b6e992
Bug 1355056 - replace (function(args) { /* do stuff using this */ }).bind(this) with arrow functions, r=jaws.
2017-04-27 00:25:45 +02:00
Mark Banner
e9208bd351
Bug 1359140 - Fix various ESLint issues in services/ (mostly automatic). r=markh
...
This fixes various errors raised in services for the rules: key-spacing, quotes, no-else-return, no-extra-semi, comma-spacing, object-shorthand.
MozReview-Commit-ID: IClwG5rfXfW
2017-04-24 18:52:57 +01:00
Mark Hammond
36b93a49f7
Bug 1355677 - Make all Sync network requests promise based. r=kitcambridge,rnewman,tcsc
...
MozReview-Commit-ID: JSwAS4Xd1uy
2017-04-11 23:40:53 +10:00
Thom Chiovoloni
d01aba9331
Bug 1350135 - Fix failing TPS test_history_collision.js test r=markh
...
There were three issues here: The first is that the TPS's history module didn't
wait for PlacesUtils.history.remove's promise to resolve.
The second is that the SYNC_WIPE_REMOTE in the previous client would cause a
write to the clients collection, which would cause the next client to get a
"sync:collection_changed" push. This caused a sync of *only* the clients
collection upon reciept, which would prevent TPS from explicitly syncing all
engines.
The third is that TPS wasn't correctly handling the cases where logIn would
trigger a sync, which would cause a failure during the first sync of a session.
This would cause failures on other TPS tests as well.
MozReview-Commit-ID: LpqZ7Kt9fyy
2017-04-19 14:38:00 -04:00
Florian Queze
ddf0cda8da
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00
Florian Queze
451928e614
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +02: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
4cd95d4a02
Backed out changeset 18d45aa984d6 (bug 1355161)
2017-04-14 23:39:23 +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
Sebastian Hengst
f75839c723
Backed out changeset 55f3df15eaa6 (bug 1356569)
2017-04-14 23:39:17 +02:00
Florian Queze
61aabdf237
Bug 1356569 - Remove notifyObservers' last parameter when it is falsy, r=jaws.
2017-04-14 21:51:39 +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
Florian Queze
35cd8ba883
Bug 1355161 - script-generated patch to replace .{currentThread,mainThread}.dispatch(..., Ci.nsIThread.DISPATCH_NORMAL) with .dispatchToMainThread(...), r=froydnj.
2017-04-14 18:29:12 +02:00