Closed
Bug 1481691
Opened 6 years ago
Closed 6 years ago
Follow-up works for adb helper functions importing
Categories
(DevTools :: about:debugging, enhancement)
DevTools
about:debugging
Tracking
(firefox63 fixed)
RESOLVED
FIXED
Firefox 63
Tracking | Status | |
---|---|---|
firefox63 | --- | fixed |
People
(Reporter: hiro, Assigned: hiro)
References
Details
Attachments
(1 file, 8 obsolete files)
* Define a new preference for the devtools-adb extension id. (bug 1469054 comment 51)
* Opt-in output log message (bug 1469054 comment 51)
* Use require() instead of ChromeUtils.import (bug 1469054 comment 52)
* Consider doing an optimization to skip extracting binaries (bug 1469054 comment 52)
* Drop code for supporting older versions of Firefox (bug 1469054 comment 52)
* Refactor devtools/shared/adb/adb.js since it's pretty long (bug 1469054 comment 52)
* Audit which Promise should be used (bug 1469054 comment 52)
* Drop code for FirefoxOS (bug 1469054 comment 64)
Assignee | ||
Comment 1•6 years ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) (PTO on Aug 20) from comment #0)
> * Use require() instead of ChromeUtils.import (bug 1469054 comment 52)
I've done this locally in the patch for bug 1469054, since it seems that ChromeUtils can't be used there. Maybe a similar issue of bug 1434543?
Assignee | ||
Comment 2•6 years ago
|
||
* Drop sync argument from kill() function (bug 1469054 comment 55).
Assignee | ||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
(In reply to Hiroyuki Ikezoe (:hiro) (PTO on Aug 20) from comment #3)
> https://treeherder.mozilla.org/#/
> jobs?repo=try&revision=d9223be851747ab9ce47e8fe10fd51b68cbec987
Forgot to add one more patch there.
https://treeherder.mozilla.org/#/jobs?repo=try&revision=3eed23b2e0b1fcd454e68c305dd9457d20bce2f2
Assignee | ||
Updated•6 years ago
|
Assignee: nobody → hikezoe
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•6 years ago
|
||
Assignee | ||
Comment 6•6 years ago
|
||
Depends on D3079
Assignee | ||
Comment 7•6 years ago
|
||
Depends on D3080
Assignee | ||
Comment 8•6 years ago
|
||
Depends on D3081
Assignee | ||
Comment 9•6 years ago
|
||
Gah, moz-phab failed in the middle of publishing because there was a commit with non-existent reviewer. :/
Assignee | ||
Comment 10•6 years ago
|
||
As far as I can tell they were all for FirefoxOS.
Depends on D3082
Assignee | ||
Comment 11•6 years ago
|
||
Depends on D3085
Assignee | ||
Comment 12•6 years ago
|
||
We've been using them as synchrous mode only.
Depends on D3086
Assignee | ||
Comment 13•6 years ago
|
||
In the next patch, we will extract manifest.json in the extension into the
profile directory. And returning a boolean will make getFileForBinary()
simple with the extension version check which will be also introduced in the
next patch.
Depends on D3088
Assignee | ||
Comment 14•6 years ago
|
||
getManifestFromUnpacked() and isUnpacked() are mostly the same as they are in
binary-manager.js [1] in the adbhelper addon. A big difference is that the
manifest.json copied from the extension is the manifest.json for the
devtools-adb-extension itself, not manifest.json(s) in a subdirectory for
each platforms (e.g. linux/manifest.json).
Due to the verion check in each xpcshell test needs to use a different version
for the test extension, otherwise subsequent tests will use unpacked files in
the first test case, thus the ADB mock won't be used at all.
[1] https://github.com/mozilla/adbhelper/blob/0821424b6b895645560089a134054b35b6649ff8/binary-manager.js
Depends on D3089
Comment 15•6 years ago
|
||
Comment on attachment 8999104 [details]
Bug 1481691 - Add a preference for the devtools-adb-extension id. r=jdescottes
Julian Descottes [:jdescottes][:julian] has approved the revision.
Attachment #8999104 -
Flags: review+
Comment 16•6 years ago
|
||
Comment on attachment 8999105 [details]
Bug 1481691 - Replace console.log and console.debug with dumpn. r=jdescottes
Julian Descottes [:jdescottes][:julian] has approved the revision.
Attachment #8999105 -
Flags: review+
Comment 17•6 years ago
|
||
Comment on attachment 8999106 [details]
Bug 1481691 - Drop code and comments for older versions of Firefox. r=jdescottes
Julian Descottes [:jdescottes][:julian] has approved the revision.
Attachment #8999106 -
Flags: review+
Comment 18•6 years ago
|
||
Comment on attachment 8999107 [details]
Bug 1481691 - Drop code for FirefoxOS. r=jdescottes
Julian Descottes [:jdescottes][:julian] has approved the revision.
Attachment #8999107 -
Flags: review+
Comment 19•6 years ago
|
||
Comment on attachment 8999111 [details]
Bug 1481691 - Use Promise instead of PromiseUtils. r=jdescottes
Julian Descottes [:jdescottes][:julian] has approved the revision.
Attachment #8999111 -
Flags: review+
Comment 20•6 years ago
|
||
Comment on attachment 8999113 [details]
Bug 1481691 - Drop |sync| argument from kill() and stop(). r=jdescottes
Julian Descottes [:jdescottes][:julian] has approved the revision.
Attachment #8999113 -
Flags: review+
Comment 21•6 years ago
|
||
Comment on attachment 8999114 [details]
Bug 1481691 - Rename extractBinary to extractFiles and make it return a boolean instead of path string. r=jdescottes
Julian Descottes [:jdescottes][:julian] has approved the revision.
Attachment #8999114 -
Flags: review+
Comment 22•6 years ago
|
||
Comment on attachment 8999110 [details]
Bug 1481691 - Drop root relevant stuff and push and pull. r=jdescottes
Julian Descottes [:jdescottes][:julian] has approved the revision.
Attachment #8999110 -
Flags: review+
Comment 23•6 years ago
|
||
Comment on attachment 8999116 [details]
Bug 1481691 - Unpack files only if the devtools-adb-extension versionis mismatch or there are no unpacked files. r=jdescottes
Julian Descottes [:jdescottes][:julian] has approved the revision.
Attachment #8999116 -
Flags: review+
Assignee | ||
Comment 24•6 years ago
|
||
Comment 25•6 years ago
|
||
Pushed by hikezoe@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/0d9b92929815
Add a preference for the devtools-adb-extension id. r=jdescottes
https://hg.mozilla.org/integration/mozilla-inbound/rev/59dae312f47b
Replace console.log and console.debug with dumpn. r=jdescottes
https://hg.mozilla.org/integration/mozilla-inbound/rev/0d6fb76b026b
Drop code and comments for older versions of Firefox. r=jdescottes
https://hg.mozilla.org/integration/mozilla-inbound/rev/fa083919718a
Drop code for FirefoxOS. r=jdescottes
https://hg.mozilla.org/integration/mozilla-inbound/rev/0ce06cc7f5d7
Drop root relevant stuff and push and pull. r=jedescottes
https://hg.mozilla.org/integration/mozilla-inbound/rev/70b0f635cc4d
Use Promise instead of PromiseUtils. r=jdescottes
https://hg.mozilla.org/integration/mozilla-inbound/rev/e73c07a618a7
Drop |sync| argument from kill() and stop(). r=jdescottes
https://hg.mozilla.org/integration/mozilla-inbound/rev/4c351951fd42
Rename extractBinary to extractFiles and make it return a boolean instead of path string. r=jdescottes
https://hg.mozilla.org/integration/mozilla-inbound/rev/32ad5fef292a
Unpack files only if the devtools-adb-extension versionis mismatch or there are no unpacked files. r=jdescottes
Comment 26•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0d9b92929815
https://hg.mozilla.org/mozilla-central/rev/59dae312f47b
https://hg.mozilla.org/mozilla-central/rev/0d6fb76b026b
https://hg.mozilla.org/mozilla-central/rev/fa083919718a
https://hg.mozilla.org/mozilla-central/rev/0ce06cc7f5d7
https://hg.mozilla.org/mozilla-central/rev/70b0f635cc4d
https://hg.mozilla.org/mozilla-central/rev/e73c07a618a7
https://hg.mozilla.org/mozilla-central/rev/4c351951fd42
https://hg.mozilla.org/mozilla-central/rev/32ad5fef292a
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox63:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Assignee | ||
Updated•6 years ago
|
Summary: Follow-up works for adb helper functions impoting → Follow-up works for adb helper functions importing
Comment 27•6 years ago
|
||
Comment on attachment 8999105 [details]
Bug 1481691 - Replace console.log and console.debug with dumpn. r=jdescottes
Julian Descottes [:jdescottes][:julian] has been removed from the revision.
Attachment #8999105 -
Flags: review+
Updated•6 years ago
|
Attachment #8999105 -
Attachment is obsolete: true
Comment 28•6 years ago
|
||
Comment on attachment 8999106 [details]
Bug 1481691 - Drop code and comments for older versions of Firefox. r=jdescottes
Julian Descottes [:jdescottes][:julian] has been removed from the revision.
Attachment #8999106 -
Flags: review+
Updated•6 years ago
|
Attachment #8999106 -
Attachment is obsolete: true
Comment 29•6 years ago
|
||
Comment on attachment 8999107 [details]
Bug 1481691 - Drop code for FirefoxOS. r=jdescottes
Julian Descottes [:jdescottes][:julian] has been removed from the revision.
Attachment #8999107 -
Flags: review+
Updated•6 years ago
|
Attachment #8999107 -
Attachment is obsolete: true
Comment 30•6 years ago
|
||
Comment on attachment 8999110 [details]
Bug 1481691 - Drop root relevant stuff and push and pull. r=jdescottes
Julian Descottes [:jdescottes][:julian] has been removed from the revision.
Attachment #8999110 -
Flags: review+
Updated•6 years ago
|
Attachment #8999110 -
Attachment is obsolete: true
Comment 31•6 years ago
|
||
Comment on attachment 8999111 [details]
Bug 1481691 - Use Promise instead of PromiseUtils. r=jdescottes
Julian Descottes [:jdescottes][:julian] has been removed from the revision.
Attachment #8999111 -
Flags: review+
Updated•6 years ago
|
Attachment #8999111 -
Attachment is obsolete: true
Comment 32•6 years ago
|
||
Comment on attachment 8999113 [details]
Bug 1481691 - Drop |sync| argument from kill() and stop(). r=jdescottes
Julian Descottes [:jdescottes][:julian] has been removed from the revision.
Attachment #8999113 -
Flags: review+
Updated•6 years ago
|
Attachment #8999113 -
Attachment is obsolete: true
Comment 33•6 years ago
|
||
Comment on attachment 8999114 [details]
Bug 1481691 - Rename extractBinary to extractFiles and make it return a boolean instead of path string. r=jdescottes
Julian Descottes [:jdescottes][:julian] has been removed from the revision.
Attachment #8999114 -
Flags: review+
Updated•6 years ago
|
Attachment #8999114 -
Attachment is obsolete: true
Comment 34•6 years ago
|
||
Comment on attachment 8999116 [details]
Bug 1481691 - Unpack files only if the devtools-adb-extension versionis mismatch or there are no unpacked files. r=jdescottes
Julian Descottes [:jdescottes][:julian] has been removed from the revision.
Attachment #8999116 -
Flags: review+
Updated•6 years ago
|
Attachment #8999116 -
Attachment is obsolete: true
You need to log in
before you can comment on or make changes to this bug.
Description
•