Closed
Bug 1368202
Opened 7 years ago
Closed 7 years ago
convert uses of "defer" to "new Promise" in client/inspector
Categories
(DevTools :: Inspector, enhancement, P3)
Tracking
(firefox57 fixed)
RESOLVED
FIXED
Firefox 57
Tracking | Status | |
---|---|---|
firefox57 | --- | fixed |
People
(Reporter: stylizit, Assigned: nicolaso)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
No description provided.
Reporter | ||
Updated•7 years ago
|
Assignee: nobody → matthieu.rigolot
Status: NEW → ASSIGNED
Assignee | ||
Comment 2•7 years ago
|
||
Matthieu, are you still working on this? If not, could I pick this up? It seems easy enough.
Flags: needinfo?(matthieu.rigolot)
Reporter | ||
Comment 3•7 years ago
|
||
(In reply to Nicolas Ouellet-Payeur from comment #2) > Matthieu, are you still working on this? If not, could I pick this up? It > seems easy enough. Hi Nicolas, sorry for the late reply. I won't be able to contribute until September, so for sure, feel free to go for it!
Flags: needinfo?(matthieu.rigolot)
Reporter | ||
Updated•7 years ago
|
Assignee: matthieu.rigolot → nicolaso
Comment hidden (mozreview-request) |
Assignee | ||
Comment 5•7 years ago
|
||
Here's a first patch. Added you as reviewer, Tom, since Matt is away, and you seem to have reviewed similar patches.
Comment 6•7 years ago
|
||
mozreview-review |
Comment on attachment 8893247 [details] Bug 1368202 - convert uses of "defer" to "new Promise" in client/inspector https://reviewboard.mozilla.org/r/164284/#review169828 Thank you for the patch. This looks good. Can you do a try run? If you don't have sufficient permission, let me know and I will do it. ::: devtools/client/inspector/computed/computed.js:12 (Diff revision 1) > "use strict"; > > const ToolDefinitions = require("devtools/client/definitions").Tools; > const CssLogic = require("devtools/shared/inspector/css-logic"); > const {ELEMENT_STYLE} = require("devtools/shared/specs/styles"); > const promise = require("promise"); I just wanted to note that with this patch in place, the inspector will use a combination of Promise (DOM promises) and "promise" (Promise.jsm promises). That seems possibly confusing, but it seems to me that (1) we brought this on ourselves by having multiple promises in the first place, and (2) it is temporary due to bug 1384527. So, I am inclined to not worry about it here, at least assuming that the result passes try.
Attachment #8893247 -
Flags: review?(ttromey) → review+
Assignee | ||
Comment 7•7 years ago
|
||
> Can you do a try run? If you don't have sufficient permission, let me know
> and I will do it.
No, I don't have the permissions to trigger a try run yet. Can you do it for me?
Pushed by ttromey@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/24eaf9aca85c convert uses of "defer" to "new Promise" in client/inspector r=tromey
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/24eaf9aca85c
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox57:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Comment 10•7 years ago
|
||
https://hg.mozilla.org/projects/date/rev/24eaf9aca85c2bf6664ea92d295003f9c0be835b Bug 1368202 - convert uses of "defer" to "new Promise" in client/inspector r=tromey
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•