Add support for the previousVersion property to runtime.onInstalled

RESOLVED FIXED in Firefox 55

Status

()

Toolkit
WebExtensions: General
P2
normal
RESOLVED FIXED
8 months ago
3 months ago

People

(Reporter: mattw, Assigned: zombie)

Tracking

unspecified
mozilla55
Points:
---

Firefox Tracking Flags

(firefox55 fixed)

Details

(Whiteboard: [runtime] triaged)

MozReview Requests

()

Submitter Diff Changes Open Issues Last Updated
Loading...
Error loading review requests:

Attachments

(1 attachment)

(Reporter)

Description

8 months ago
From the documentation on MDN and developer.chrome.com, the `previousVersion` property indicates the previous version of the extension that was just updated, and should only be present if the reason value is "update".

Updated

8 months ago
Blocks: 1313649
(Reporter)

Updated

8 months ago
No longer blocks: 1313649

Updated

8 months ago
Priority: -- → P2
Whiteboard: [runtime] → [runtime] triaged

Updated

8 months ago
Component: WebExtensions: Untriaged → WebExtensions: General

Comment 1

4 months ago
Any news here?
(Assignee)

Updated

3 months ago
Assignee: nobody → tomica
Status: NEW → ASSIGNED
Comment hidden (mozreview-request)
(Assignee)

Updated

3 months ago
Attachment #8846504 - Flags: review?(aswan)

Comment 3

3 months ago
mozreview-review
Comment on attachment 8846504 [details]
Bug 1313648 - Add previousVersion to onInstalled details

https://reviewboard.mozilla.org/r/119560/#review121742

Nice, thanks!
Attachment #8846504 - Flags: review?(aswan) → review+
(Assignee)

Updated

3 months ago
Keywords: checkin-needed

Comment 4

3 months ago
Pushed by cbook@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/93534be9656e
Add previousVersion to onInstalled details r=aswan
Keywords: checkin-needed

Comment 5

3 months ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/93534be9656e
Status: ASSIGNED → RESOLVED
Last Resolved: 3 months ago
status-firefox55: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55

Comment 6

3 months ago
Should this also work with temporary loaded extensions? I loaded an extension temporarily with the nightly from 2017-03-15 and "previousVersion" was undefined.

Comment 7

3 months ago
(In reply to testit from comment #6)
> Should this also work with temporary loaded extensions? I loaded an
> extension temporarily with the nightly from 2017-03-15 and "previousVersion"
> was undefined.

P.S. I reloaded the extension, so the update case was triggered.
You need to log in before you can comment on or make changes to this bug.