Commit Graph

12 Commits

Author SHA1 Message Date
Hiroyuki Ikezoe
48c7716393 Bug 1481691 - Use Promise instead of PromiseUtils. r=jdescottes 2018-08-10 16:32:21 +09:00
Hiroyuki Ikezoe
0a417befc7 Bug 1481691 - Drop root relevant stuff and push and pull. r=jedescottes
As far as I can tell they were all for FirefoxOS.
2018-08-10 16:32:21 +09:00
Hiroyuki Ikezoe
3de4909c47 Bug 1481691 - Drop code and comments for older versions of Firefox. r=jdescottes 2018-08-10 16:32:21 +09:00
Hiroyuki Ikezoe
a65eb4c83e Bug 1481691 - Replace console.log and console.debug with dumpn. r=jdescottes 2018-08-10 16:32:21 +09:00
Hiroyuki Ikezoe
cc02c63e27 Bug 1469054 - Make sure the ADB server is ready to listen from clients when we call adb.start(). r=jdescottes
There is a race condition that when we adb.start() finishes, i.e. the ADB server
is launched, the ADB server is not ready to listen from clients yet.  To avoid
this race condition in adb.start() function, we do wait until the server gets
ready.

MozReview-Commit-ID: EfSLA9uvhI9

--HG--
extra : rebase_source : 7b5938a3a7687e7072352aa65674631d2b1ee429
2018-08-09 15:43:39 +09:00
Hiroyuki Ikezoe
0ae3177157 Bug 1469054 - Add async annotation for adb.start(). r=jdescottes
MozReview-Commit-ID: 534q7l33l7o

--HG--
extra : rebase_source : e6805ea7483fa3c2f1f92920a99a0c5c4fbeb745
2018-08-09 14:27:56 +09:00
Hiroyuki Ikezoe
5528ed6336 Bug 1469054 - ESLint: Add no-fallthrough annotation. r=jdescottes
MozReview-Commit-ID: 5tBviheMTTk

--HG--
extra : rebase_source : e2a3a8fb8b3659711a1187a5d4d72e792417bc4e
2018-08-09 14:27:56 +09:00
Hiroyuki Ikezoe
3f3aca023a Bug 1469054 - ESLint: Drop function name. r=jdescottes
MozReview-Commit-ID: LsUzDI0fkVc

--HG--
extra : rebase_source : 6389a6e724a663df47d5b753a94bfb1060300193
2018-08-09 14:27:56 +09:00
Hiroyuki Ikezoe
b7a7a4008d Bug 1469054 - ESLint: Drop 'a' prefix from argument names. r=jdescottes
MozReview-Commit-ID: J3v5NKglA2B

--HG--
extra : rebase_source : 40c0f3edd904d5ecdd6a8fada20f0fb627c7b759
2018-08-09 14:27:55 +09:00
Hiroyuki Ikezoe
a37470bc9c Bug 1469054 - ESLint: Lint fixes. r=jdescottes
Changes are:

- s/let/const/g if applicable
- braces for 'if' block
- identation fixes
- Moved a statement in setTimeout callback on the next line.

MozReview-Commit-ID: HyZ9zrbK3iJ

--HG--
extra : rebase_source : 61f217419778cee2e94786f1a9a6c9647dda0f87
2018-08-09 14:27:55 +09:00
Hiroyuki Ikezoe
897c035cee Bug 1469054 - Make sure the adb server stops. r=jdescottes
Without this change, the test in this patch does fail since when the test
starts, the adb server is still running for the previous test, thus
ADB.start() doesn't start a new adb server, then after that when we check
that the adb server is running by adb-running-checker, it tells us the adb
server is NOT running at that moment.

MozReview-Commit-ID: KRo30WmAsAY

--HG--
extra : rebase_source : 96348d8ee94df375b36b3d68683c292cd770fe86
2018-08-09 14:27:55 +09:00
Hiroyuki Ikezoe
e16481514b Bug 1469054 - Adapt implementations for adb.start() and adb.stop() and relevant stuff. r=jdescottes
MozReview-Commit-ID: LF23OQtXxkj

--HG--
extra : rebase_source : 77bf02390cfb7dc9cd12de138bca74c715cdc968
2018-08-09 14:27:55 +09:00