[Protections Dashboard 1.5] Monitor card cache has stopped working
Categories
(Firefox :: Protections UI, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr68 | --- | unaffected |
| firefox76 | --- | unaffected |
| firefox77 | --- | wontfix |
| firefox78 | --- | fixed |
People
(Reporter: ewright, Assigned: ewright)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
The Monitor card now fully updates with each refresh, we should look into why this changed, and either fix the cache or remove related code.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 1•6 years ago
•
|
||
Neil, We've lost our ability to cache because in browser/actors/AboutProtectionsParent.jsm the AboutProtectionsParent is rerunning the constructor on each page refresh. Is this part of the JSWindowActor design?
Comment 2•6 years ago
|
||
Yes, so it looks like monitorResponse should just be a global instead of a member. Is there an easy way to test the issue being caused here? Or write an automated test?
Comment 3•6 years ago
|
||
Set release status flags based on info from the regressing bug 1614743
| Assignee | ||
Comment 4•6 years ago
|
||
(In reply to Neil Deakin from comment #2)
Yes, so it looks like monitorResponse should just be a global instead of a member. Is there an easy way to test the issue being caused here? Or write an automated test?
To test manually:
go to about:protections
log into your Firefox account, and sign up for monitor
refresh the page - you should see your monitor data.
open browser dev tools and set a debugger on browser/actors/AboutProtectionsParent.jsm line 78 (if (this.monitorResponse && this.monitorResponse.timestamp) {)
refresh the page again, and this.monitorResponse should be an object, but instead it is null
We can write an automated test for this fairly easily - should have done it before. I can do that.
Comment 5•6 years ago
|
||
Wontfix for 77 as we shipped our last beta and this is a S3.
| Assignee | ||
Comment 6•6 years ago
|
||
Comment 8•6 years ago
|
||
| bugherder | ||
Updated•6 years ago
|
Description
•