|Submitter||Diff||Changes||Open Issues||Last Updated|
|Error loading review requests:|
59 bytes, text/x-review-board-request
|Details | Review|
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".
Any news here?
Comment on attachment 8846504 [details] Bug 1313648 - Add previousVersion to onInstalled details https://reviewboard.mozilla.org/r/119560/#review121742 Nice, thanks!
Pushed by firstname.lastname@example.org: https://hg.mozilla.org/integration/autoland/rev/93534be9656e Add previousVersion to onInstalled details r=aswan
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.
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.