mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-06 15:58:39 +09:00
DOMContentLoaded and load does not work properly if "devtools.webconsole.persistlog == true" - is getting higher
Issue #52
This commit is contained in:
parent
ebf0f6c35a
commit
b8bbffacbe
3 changed files with 20 additions and 9 deletions
|
|
@ -80,8 +80,10 @@ function getDisplayedTimingMarker(state, marker) {
|
|||
}
|
||||
let firstRequestStartedMillis = null;
|
||||
if (state.requests.items.length) {
|
||||
firstRequestStartedMillis = state.requests.items[0]
|
||||
.attachment.firstRequestStartedMillis;
|
||||
firstRequestStartedMillis = state.requests
|
||||
.items[state.requests.items.length - 1]
|
||||
.attachment
|
||||
.firstRequestStartedMillisNotPersistent;
|
||||
}
|
||||
if (timingMarker && firstRequestStartedMillis) {
|
||||
return timingMarker - firstRequestStartedMillis;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue