Remove unused netmonitor.ws.time.format
Categories
(DevTools :: Netmonitor, task, P3)
Tracking
(firefox75 fixed)
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: Harald, Assigned: udaymewada1)
References
Details
(Keywords: good-first-bug)
Attachments
(1 file)
Follow up from bug 1612621.
Assignee | ||
Comment 1•4 years ago
|
||
I would like to work on it.
Assignee | ||
Comment 2•4 years ago
|
||
Hi Harald! I searched for the above bug and found that ' netmonitor.ws.time.format ' is found in two files.
* devtools/client/locales/en-US/netmonitor.properties
* dentools/client/netmonitor/src/components/websockets/FrameListColumntime.js
In the first one defined the format in which "netmonitor.ws.time.format" is storing the time.
netmonitor.ws.time.format=%1$S.%2$S
In the second file
formatTime(highResTimeStamp) {
const timeStamp = Math.floor(highResTimeStamp / 1000);
const hoursMinutesSeconds = dateTimeFormat.format(new Date(timeStamp));
return L10N.getFormatStr(
"netmonitor.ws.time.format",
hoursMinutesSeconds,
String(timeStamp % 1000).padStart(3, "0")
);
}
I guess above methodformatTime()
taking highResTimeStamp
as parameter which is in milliseconds. So it converts first into seconds and so on.
Do you have any recommendations to where I can start looking for solving it?
Reporter | ||
Comment 3•4 years ago
|
||
Hi Uday,
the second code path was removed in bug 1612621 (just landed yesterday, probably after you checked out mc), only the l10n file is left: https://searchfox.org/mozilla-central/search?q=netmonitor.ws.time.format&case=false®exp=false&path=
Assignee | ||
Comment 4•4 years ago
|
||
Updated•4 years ago
|
Assignee | ||
Updated•4 years ago
|
Assignee | ||
Comment 5•4 years ago
|
||
sir, I thought this bug is resolved but still showing assigned to me!
Reporter | ||
Comment 6•4 years ago
|
||
I just out the patch into the queue for landing. You can do this yourself as well via phabricator, see: https://moz-conduit.readthedocs.io/en/latest/walkthrough.html#landing-the-changes
Pushed by hkirschner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/07950851001a Removed unused 'netmonitor.ws.time.format'. r=Harald
Comment 8•4 years ago
|
||
bugherder |
Description
•