This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/toolkit/mozapps/extensions/internal/XPIProviderUtils.js b/toolkit/mozapps/extensions/internal/XPIProviderUtils.js | |
| --- a/toolkit/mozapps/extensions/internal/XPIProviderUtils.js | |
| +++ b/toolkit/mozapps/extensions/internal/XPIProviderUtils.js | |
| @@ -614,24 +614,21 @@ this.XPIDatabase = { | |
| else { | |
| this.rebuildUnreadableDB(e, aRebuildOnError); | |
| } | |
| } | |
| finally { | |
| if (fstream) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/toolkit/mozapps/extensions/internal/XPIProviderUtils.js b/toolkit/mozapps/extensions/internal/XPIProviderUtils.js | |
| --- a/toolkit/mozapps/extensions/internal/XPIProviderUtils.js | |
| +++ b/toolkit/mozapps/extensions/internal/XPIProviderUtils.js | |
| @@ -614,24 +614,21 @@ this.XPIDatabase = { | |
| else { | |
| this.rebuildUnreadableDB(e, aRebuildOnError); | |
| } | |
| } | |
| finally { | |
| if (fstream) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let install = AddonManager.getInstall({ | |
| "url": "/tmp/test.xpi", | |
| "hash": "..." | |
| }); | |
| install.then(...); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class SystemAddonInstallLocation extends DirectoryInstallLocation { | |
| /** | |
| * @param aName | |
| * The string identifier for the install location | |
| * @param aDirectory | |
| * The nsIFile directory for the install location | |
| * @param aScope | |
| * The scope of add-ons installed in this location | |
| * @param aResetSet | |
| * True to throw away the current add-on set |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/client/ui/components/forms/AddonGroupForm.jsx b/client/ui/components/forms/AddonGroupForm.jsx | |
| index 53037c9..f091fc0 100644 | |
| --- a/client/ui/components/forms/AddonGroupForm.jsx | |
| +++ b/client/ui/components/forms/AddonGroupForm.jsx | |
| @@ -33,7 +33,7 @@ class AddonGroupForm extends React.Component { | |
| pk: pt.string, | |
| saveAddonGroup: pt.func.isRequired, | |
| saveRequest: pt.object, | |
| - syncAddonGroup: pt.func.isRequired, | |
| + syncAddonGroups: pt.func.isRequired, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/toolkit/mozapps/extensions/.eslintrc.js b/toolkit/mozapps/extensions/.eslintrc.js | |
| --- a/toolkit/mozapps/extensions/.eslintrc.js | |
| +++ b/toolkit/mozapps/extensions/.eslintrc.js | |
| @@ -1,8 +1,11 @@ | |
| "use strict"; | |
| module.exports = { // eslint-disable-line no-undef | |
| + "parserOptions": { | |
| + "ecmaVersion": 8, | |
| + }, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "vendors": {}, | |
| "hashFunction": "sha512", | |
| "name": "SystemAddons-no-update", | |
| "schema_version": 1000 | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let install = yield new Promise( | |
| resolve => AddonInstall.createInstall(resolve, addon._sourceBundle) | |
| ); | |
| // Make the new install own its temporary file | |
| install.ownsTempFile = true; | |
| install.downloadCompleted(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| "use strict"; | |
| Components.utils.import("resource://gre/modules/AddonManager.jsm"); | |
| const AddonBox = React.createClass({ | |
| getInitialState: function() { | |
| return {data: []}; | |
| }, | |
| componentDidMount: function() { | |
| AddonManager.getAddonsByTypes(["extension"], a => this.setState(a)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ npm run build | |
| > morgoth@ build /Users/rhelmer/src/morgoth | |
| > webpack --config ./webpack.config.js | |
| Hash: 281c3271bc39ad0bc486 | |
| Version: webpack 1.13.2 | |
| Child | |
| Hash: 281c3271bc39ad0bc486 | |
| Version: webpack 1.13.2 |