зеркало из https://github.com/mozilla/gecko-dev.git
c2b5a6345f
* onResourceListAvailable and populateStorageTree were both computing distinct dictinary. `storages` versus `this.storageResources` (with the resourcesWithHosts making them both differents). It is easier to follow if we have only one dictionary, build by onResourceListAvailable and that's the straight object given by the ResourceWatcher API. * Since we migrated to resources API. `resources` object passed to onResourceAvailable should no longer have any `from` attribute. This is no longer a RDP packet, but an array computed by the ResourceWatcher API. * This isn't really useful to filter out resources with empty `hosts` because `populateTreeFromResource` will be a noop if that's empty. I think it is easier to follow if we pass all the resources to this method. Differential Revision: https://phabricator.services.mozilla.com/D105646 |
||
---|---|---|
.. | ||
client | ||
docs | ||
platform | ||
server | ||
shared | ||
startup | ||
.eslintrc.js | ||
.eslintrc.mochitests.js | ||
.eslintrc.xpcshell.js | ||
CODE_OF_CONDUCT.md | ||
moz.build | ||
templates.mozbuild | ||
tsconfig.json |