Bug 1389786 - Export Screenshots 10.12.0 to Firefox; r=kmag

MozReview-Commit-ID: 1c6rq32TmOf

--HG--
extra : rebase_source : c0115e2eac57b9c18e6c2577f6b9046772c8cd76
This commit is contained in:
Jared Hirsch 2017-08-12 12:52:48 -07:00
Родитель 79915f9599
Коммит 7b431e6534
3 изменённых файлов: 7 добавлений и 2 удалений

5
browser/extensions/screenshots/bootstrap.js поставляемый
Просмотреть файл

@ -81,6 +81,11 @@ function shutdown(data, reason) { // eslint-disable-line no-unused-vars
id: ADDON_ID,
resourceURI: addonResourceURI
});
// Immediately exit if Firefox is exiting, #3323
if (reason === APP_SHUTDOWN) {
stop(webExtension, reason);
return;
}
// Because the prefObserver is unregistered above, this _should_ terminate the promise chain.
appStartupPromise = appStartupPromise.then(() => { stop(webExtension, reason); });
}

Просмотреть файл

@ -12,7 +12,7 @@
</Description>
</em:targetApplication>
<em:type>2</em:type>
<em:version>10.11.0</em:version>
<em:version>10.12.0</em:version>
<em:bootstrap>true</em:bootstrap>
<em:homepageURL>https://pageshot.net/</em:homepageURL>
<em:multiprocessCompatible>true</em:multiprocessCompatible>

Просмотреть файл

@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "Firefox Screenshots",
"version": "10.11.0",
"version": "10.12.0",
"description": "__MSG_addonDescription__",
"author": "__MSG_addonAuthorsList__",
"homepage_url": "https://github.com/mozilla-services/screenshots",