Closed Bug 1441761 Opened 6 years ago Closed 6 years ago

HAR: entry.time is null

Categories

(DevTools :: Netmonitor, defect, P3)

defect

Tracking

(firefox60 fixed)

RESOLVED FIXED
Firefox 60
Tracking Status
firefox60 --- fixed

People

(Reporter: Honza, Assigned: Honza)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

entry.time value is not properly exported from the Net panel.

Originally reported here:
https://github.com/devtools-html/har-export-trigger/issues/11

Honza
Priority: -- → P3
Assignee: nobody → odvarko
Status: NEW → ASSIGNED
Comment on attachment 8956778 [details]
Bug 1441761 - Properly export total time;

https://reviewboard.mozilla.org/r/225744/#review231634

Looks good, thanks.

Should we also remove this?
https://searchfox.org/mozilla-central/source/devtools/client/netmonitor/src/har/har-collector.js#389
endedMillis doesn't seem to be used anywhere.
Attachment #8956778 - Flags: review?(poirot.alex) → review+
(In reply to Alexandre Poirot [:ochameau] from comment #3)
> Should we also remove this?
> https://searchfox.org/mozilla-central/source/devtools/client/netmonitor/src/
> har/har-collector.js#389
> endedMillis doesn't seem to be used anywhere.
Good point, done.

Honza
Pushed by jodvarko@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/895b03babc03
Properly export total time; r=ochameau
Problem fixed. The exported time must be sum of all timings not `file.totalTime` that doesn't have to always be equal to the sum. A comment added to the code.

Honza
Flags: needinfo?(odvarko)
Pushed by jodvarko@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/92acb000423a
Properly export total time; r=ochameau
https://hg.mozilla.org/mozilla-central/rev/92acb000423a
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: