Closed
Bug 1506056
Opened 6 years ago
Closed 6 years ago
[remote-dbg-next] Rename runtimeDetails.client property to runtimeDetails.clientWrapper
Categories
(DevTools :: about:debugging, enhancement, P1)
DevTools
about:debugging
Tracking
(firefox65 fixed)
RESOLVED
FIXED
Firefox 65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: jdescottes, Assigned: jdescottes)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
In bug 1497917 we are introducing a wrapper around the client object. This wrapper allows to isolate the complexity related to interacting with the client and makes it easier to create mocks in our tests.
From an external contributor point of view, it might be strange to see the code in the module doing things such as `await client.getDeviceDescription();` while getDeviceDescription is not a method available on DebuggerClient.
We should rename the client property of runtimeDetails to clientWrapper to avoid confusion.
https://searchfox.org/mozilla-central/rev/17f55aee76b7c4610a974cffd3453454e0c8de7b/devtools/client/aboutdebugging-new/src/types.js#34
Assignee | ||
Updated•6 years ago
|
Priority: -- → P2
Assignee | ||
Comment 1•6 years ago
|
||
Taking this right now, otherwise the review for Bug 1497457 will be quite painful
Assignee | ||
Comment 2•6 years ago
|
||
Note that I fixed the worker bug at the same time. We can keep your other bug to add a test.
Updated•6 years ago
|
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/5cc584ca5b00
Rename runtimeDetails.client to clientWrapper;r=daisuke
Comment 4•6 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in
before you can comment on or make changes to this bug.
Description
•