Closed Bug 1357685 Opened 7 years ago Closed 7 years ago

Remove the remaining gonk code from application update

Categories

(Toolkit :: Application Update, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla55
Tracking Status
firefox55 --- fixed

People

(Reporter: robert.strong.bugs, Assigned: robert.strong.bugs)

Details

Attachments

(1 file, 1 obsolete file)

Most of the app update gonk code has already been removed in other bugs.
Comment on attachment 8859536 [details] [diff] [review]
Patch rev1

>diff --git a/toolkit/mozapps/update/UpdateTelemetry.jsm b/toolkit/mozapps/update/UpdateTelemetry.jsm
>--- a/toolkit/mozapps/update/UpdateTelemetry.jsm
>+++ b/toolkit/mozapps/update/UpdateTelemetry.jsm
>@@ -169,17 +169,16 @@ this.AUSTLMY = {
>    */
>   DWNLD_SUCCESS: 0,
>   DWNLD_RETRY_OFFLINE: 1,
>   DWNLD_RETRY_NET_TIMEOUT: 2,
>   DWNLD_RETRY_CONNECTION_REFUSED: 3,
>   DWNLD_RETRY_NET_RESET: 4,
>   DWNLD_ERR_NO_UPDATE: 5,
>   DWNLD_ERR_NO_UPDATE_PATCH: 6,
>-  DWNLD_ERR_NO_PATCH_FILE: 7,
Note: This was added for gonk in bug 785124 and prior to that there was no check. I also verified that this has never been reported in telemetry.
Attachment #8859536 - Attachment description: Patch in progress → Patch rev1
Attachment #8859536 - Flags: review?(mhowell)
(In reply to Robert Strong [:rstrong] (use needinfo to contact me) from comment #3)
> Comment on attachment 8859536 [details] [diff] [review]
> Patch rev1
> 
> >diff --git a/toolkit/mozapps/update/UpdateTelemetry.jsm b/toolkit/mozapps/update/UpdateTelemetry.jsm
> >--- a/toolkit/mozapps/update/UpdateTelemetry.jsm
> >+++ b/toolkit/mozapps/update/UpdateTelemetry.jsm
> >@@ -169,17 +169,16 @@ this.AUSTLMY = {
> >    */
> >   DWNLD_SUCCESS: 0,
> >   DWNLD_RETRY_OFFLINE: 1,
> >   DWNLD_RETRY_NET_TIMEOUT: 2,
> >   DWNLD_RETRY_CONNECTION_REFUSED: 3,
> >   DWNLD_RETRY_NET_RESET: 4,
> >   DWNLD_ERR_NO_UPDATE: 5,
> >   DWNLD_ERR_NO_UPDATE_PATCH: 6,
> >-  DWNLD_ERR_NO_PATCH_FILE: 7,
> Note: This was added for gonk in bug 785124 and prior to that there was no
> check. I also verified that this has never been reported in telemetry.
Sorry, the "if (!patchFile) {" was added in that bug and this telemetry was added later inside that block. That block which was added in bug 785124 has been removed and hence the telemetry value has been as well.
Comment on attachment 8859536 [details] [diff] [review]
Patch rev1

Review of attachment 8859536 [details] [diff] [review]:
-----------------------------------------------------------------

This is my favorite kind of patch to review. ;)
Attachment #8859536 - Flags: review?(mhowell) → review+
Pushed by rstrong@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/31e942586dd8
Remove the remaining gonk code from application update. r=mhowell
https://hg.mozilla.org/mozilla-central/rev/31e942586dd8
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: