Open Bug 1599132 Opened 5 years ago Updated 3 years ago

isTracker function sometimes fails

Categories

(Toolkit :: Performance Monitoring, defect, P4)

defect

Tracking

()

People

(Reporter: ewright, Unassigned)

References

(Regression)

Details

(Keywords: regression)

I'm looking at the isTracker function, as I'm implementing some similar functionality. I noticed that the first time isTracker runs it will be incorrect, as asyncClassifyLocalWithFeatures is async, and the tracker will not yet be added to the list.

https://searchfox.org/mozilla-central/source/toolkit/components/aboutperformance/content/aboutPerformance.js#316,322,327

Bug 1527658 added asyncClassifyLocalWithFeatures.

ni: dimi since you implemented Bug 1527658

Flags: needinfo?(dlee)

I think this is how it was designed in the first place (Bug 1477677).
In Bug 1527658, I change the old API to a new one, but both of the APIs are asynchronous so the behavior should be the same.

I guess we will need some kind of "refresh" mechanism to update UI when we receive the callback?

Flags: needinfo?(dlee)

The priority flag is not set for this bug.
:tarek, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(tarek)
Flags: needinfo?(tarek)
Priority: -- → P4
Has Regression Range: --- → yes
Keywords: regression
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.