Closed
Bug 1301517
Opened 8 years ago
Closed 7 years ago
Cleanup the setting of post update values added by bug 1301288
Categories
(Toolkit :: Application Update, defect, P4)
Toolkit
Application Update
Tracking
()
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 1 obsolete file)
5.88 KB,
patch
|
molly
:
review+
|
Details | Diff | Splinter Review |
In bug 1301288 I went with a simple fix since the patch in that bug will likely need to be uplifted. A more complex fix was attempted but the test failures showed that there was an undesired change in behavior. The code should perform all update post processing that doesn't need to display a user interface in post-update-processing and it should display user interface in the following observe cases
case "sessionstore-windows-restored":
case "mail-startup-done":
case "xul-window-visible":
as well as when those observe cases are not applicable.
Comment 1•7 years ago
|
||
I don't understand why deciding to show a piece of UI involves writing a file to disk during startup, but this causes main thread IO during the first startup after an update (ie. it will impact the 57 first run experience for everybody). Can we get this fixed soon?
Blocks: photon-startup
Whiteboard: [qf]
Comment 2•7 years ago
|
||
Here is a startup profile where this takes 114ms: https://perfht.ml/2qIAsMp
Assignee | ||
Comment 3•7 years ago
|
||
Good point and I will se what can be done.
You might also want to also get into the discussion in the release drivers mailing list about the What's New page that is displayed to everyone on update which has a MUCH bigger impact that this and other bugs.
Assignee | ||
Comment 4•7 years ago
|
||
Pushed to try
https://treeherder.mozilla.org/#/jobs?repo=try&revision=395b4688bb79002afe664693b13c8b31f8405d35
Assignee: nobody → robert.strong.bugs
Status: NEW → ASSIGNED
Assignee | ||
Comment 5•7 years ago
|
||
Matt, this will keep more of an individual update's history which is something I've been wanting to do for some time now. With these changes the latest update in updates.xml is always the latest update even before applying the update. This makes it so that after a successful update the code in nsBrowserContentHandler.js will always get the correct custom update property without the hack added in bug 1301288.
I'll verify the try build is in good shape before landing.
Attachment #8871095 -
Attachment is obsolete: true
Attachment #8871101 -
Flags: review?(mhowell)
Assignee | ||
Comment 6•7 years ago
|
||
I forgot to mention that I also manually verified that this does the right thing with the what's new page.
Updated•7 years ago
|
Attachment #8871101 -
Flags: review?(mhowell) → review+
Pushed by rstrong@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/7ac40f983b13
Cleanup the setting of post update values added by bug 1301288. r=mhowell
Comment 8•7 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Assignee | ||
Comment 9•7 years ago
|
||
This was backed out of 55 in bug 1386224
status-firefox56:
--- → fixed
Target Milestone: mozilla55 → mozilla56
Updated•3 years ago
|
Performance Impact: --- → ?
Whiteboard: [qf]
You need to log in
before you can comment on or make changes to this bug.
Description
•