Closed Bug 920337 Opened 7 years ago Closed 7 years ago
Race when loading projects
It's possible for AppProjects to finish loading the projects before UI.init in projects.js runs, which prevents the projects from ever being validated.
Instead of watching an event from the store that may never arrive, use a promise to be sure we validate the projects.
Attachment #809603 - Flags: review?(paul)
Whiteboard: [needed-in-aurora-26] → [needed-in-aurora-26][fixed-in-fx-team]
Comment on attachment 809603 [details] [diff] [review] Use promise to ensure we don't miss project load [Approval Request Comment] Bug caused by (feature/regressing bug #): new feature (app manager) User impact if declined: some projects might not load Testing completed (on m-c, etc.): fx-team Risk to taking this patch (and alternatives if risky): low String or IDL/UUID changes made by this patch: none
Attachment #809603 - Flags: approval-mozilla-aurora?
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Whiteboard: [needed-in-aurora-26][fixed-in-fx-team] → [needed-in-aurora-26]
Target Milestone: --- → Firefox 27
Attachment #809603 - Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
You need to log in before you can comment on or make changes to this bug.