Closed
Bug 1156046
Opened 9 years ago
Closed 7 years ago
nsUpdateProcessor::ProcessUpdate should use the directory service instead of nsXREDirProvider (also removes app update gonk support)
Categories
(Toolkit :: Application Update, defect)
Toolkit
Application Update
Tracking
()
RESOLVED
FIXED
mozilla55
People
(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)
References
Details
Attachments
(1 file, 8 obsolete files)
66.61 KB,
patch
|
robert.strong.bugs
:
review+
|
Details | Diff | Splinter Review |
Now that the app update xpcshell tests have a custom directory service the special casing in nsUpdateDriver.cpp for nsUpdateProcessor::ProcessUpdate is no longer necessary.
Assignee | ||
Updated•9 years ago
|
Blocks: CVE-2015-2720
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → robert.strong.bugs
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 1•9 years ago
|
||
Pushed to try along with the patch from bug 1155896 https://treeherder.mozilla.org/#/jobs?repo=try&revision=93146a44f3e0
Assignee | ||
Comment 2•9 years ago
|
||
Attachment #8594558 -
Flags: feedback?(netzen)
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8594558 [details] [diff] [review] patch rev1 Found a problem with this approach :(
Attachment #8594558 -
Attachment is obsolete: true
Attachment #8594558 -
Flags: feedback?(netzen)
Assignee | ||
Updated•9 years ago
|
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•9 years ago
|
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 4•9 years ago
|
||
Assignee | ||
Updated•9 years ago
|
No longer blocks: CVE-2015-2720
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8595557 -
Attachment is obsolete: true
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8599094 -
Attachment is obsolete: true
Assignee | ||
Comment 8•9 years ago
|
||
Slightly cleaner
Attachment #8603191 -
Attachment is obsolete: true
Assignee | ||
Comment 9•9 years ago
|
||
This cleans up ProcessUpdates and combines SwitchToUpdatedApp to ApplyUpdate... SwitchToUpdatedApp was only added to allow staging to land.
Attachment #8603199 -
Attachment is obsolete: true
Attachment #8603575 -
Flags: review?(spohl.mozilla.bugs)
Assignee | ||
Comment 10•9 years ago
|
||
Note: I've run this through try with success but the tests that could verify this code on gonk have been disabled since we added gonk due to other issues. I'm trying to figure out if I can get at least some of these tests to run on gonk and will post a try run at some point later.
Assignee | ||
Comment 11•9 years ago
|
||
Comment on attachment 8603575 [details] [diff] [review] patch rev1 By fixing bug 821866 I was able to find a bug in the gonk changes so cancelling review until after I fix that.
Attachment #8603575 -
Flags: review?(spohl.mozilla.bugs)
Assignee | ||
Comment 12•7 years ago
|
||
Attachment #8603575 -
Attachment is obsolete: true
Assignee | ||
Updated•7 years ago
|
OS: Windows 8.1 → All
Hardware: x86_64 → All
Assignee | ||
Comment 13•7 years ago
|
||
This also removes gonk
Summary: nsUpdateProcessor::ProcessUpdate should use the directory service instead of nsXREDirProvider → nsUpdateProcessor::ProcessUpdate should use the directory service instead of nsXREDirProvider (also removes app update gonk support)
Assignee | ||
Comment 14•7 years ago
|
||
Comment on attachment 8857303 [details] [diff] [review] patch rev1 Pushed to try https://treeherder.mozilla.org/#/jobs?repo=try&revision=b17dc9fbac3aa73220786ae3af40717c23955448
Attachment #8857303 -
Attachment description: patch in progress → patch rev1
Assignee | ||
Comment 15•7 years ago
|
||
Though the ApplyUpdate function could be further cleaned up I would prefer just going with combining the existing functionality from ApplyUpdate and SwitchToUpdatedApp into ApplyUpdate and doing any additional cleanup in another bug.
Assignee | ||
Comment 16•7 years ago
|
||
Comment on attachment 8857303 [details] [diff] [review] patch rev1 Try run is looking good.
Attachment #8857303 -
Flags: review?(mhowell)
Comment 17•7 years ago
|
||
Comment on attachment 8857303 [details] [diff] [review] patch rev1 Review of attachment 8857303 [details] [diff] [review]: ----------------------------------------------------------------- ::: toolkit/xre/nsUpdateDriver.cpp @@ +712,2 @@ > } else { > + // Launch updater.exe to either stage or apply an update nit: the name "updater.exe" got copied into the Mac and Linux sections here.
Attachment #8857303 -
Flags: review?(mhowell) → review+
Assignee | ||
Comment 18•7 years ago
|
||
Attachment #8857303 -
Attachment is obsolete: true
Attachment #8857616 -
Flags: review+
Assignee | ||
Comment 19•7 years ago
|
||
Before landing I am double checking that the paths are correct for all 3 cases Before the patch https://treeherder.mozilla.org/#/jobs?repo=try&revision=7ac8aa602d0609613d095d85fc088909dca677bd After the patch https://treeherder.mozilla.org/#/jobs?repo=try&revision=abbace5b34ade7510bfdb930515ffe02c320ab10
Assignee | ||
Comment 20•7 years ago
|
||
(In reply to Robert Strong [:rstrong] (use needinfo to contact me) from comment #19) > Before landing I am double checking that the paths are correct for all 3 > cases > > Before the patch > https://treeherder.mozilla.org/#/ > jobs?repo=try&revision=7ac8aa602d0609613d095d85fc088909dca677bd > > After the patch > https://treeherder.mozilla.org/#/ > jobs?repo=try&revision=abbace5b34ade7510bfdb930515ffe02c320ab10 All of the paths are correct
Assignee | ||
Comment 21•7 years ago
|
||
Landed on mozilla-inbound https://hg.mozilla.org/integration/mozilla-inbound/rev/cc65a6d51e749e7b605e67b1f621c779b2de9a36
Assignee | ||
Comment 22•7 years ago
|
||
Accidentally landed with the wrong bug number. https://hg.mozilla.org/mozilla-central/rev/cc65a6d51e74 I was told that since this made it to m-c it is best to leave it as is.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago → 7 years ago
Resolution: --- → FIXED
status-firefox55:
--- → fixed
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•