Closed
Bug 1313648
Opened 8 years ago
Closed 7 years ago
Add support for the previousVersion property to runtime.onInstalled
Categories
(WebExtensions :: General, defect, P2)
WebExtensions
General
Tracking
(firefox55 fixed)
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: mattw, Assigned: zombie)
References
Details
(Keywords: dev-doc-complete, Whiteboard: [runtime] triaged)
Attachments
(1 file)
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 years ago
|
Priority: -- → P2
Whiteboard: [runtime] → [runtime] triaged
Updated•8 years ago
|
Component: WebExtensions: Untriaged → WebExtensions: General
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → tomica
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Assignee | ||
Updated•7 years ago
|
Attachment #8846504 -
Flags: review?(aswan)
Comment 3•7 years 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•7 years ago
|
Keywords: checkin-needed
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•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/93534be9656e
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Should this also work with temporary loaded extensions? I loaded an extension temporarily with the nightly from 2017-03-15 and "previousVersion" was undefined.
(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.
Updated•7 years ago
|
Keywords: dev-doc-needed
Comment 8•7 years ago
|
||
I've updated the compat data here: https://developer.mozilla.org/en-US/Add-ons/WebExtensions/API/runtime/onInstalled Marking as dev-doc-complete, but let me know if we need anything else here.
Keywords: dev-doc-needed → dev-doc-complete
Updated•6 years ago
|
Product: Toolkit → WebExtensions
You need to log in
before you can comment on or make changes to this bug.
Description
•