The purpose of this patch is to create a simple XUL utils to remove unneded repetitions in xulstore URLs and make it easier to update widely reused getters and setters without much overhead. This also removes the very bad practice of reaching into other files in order to reuse conditional methods. No functionality change should be introduced by this patch, this is a purely cleaning effort to simplify out code base and introduce some consistency. Bonus point: In case m-c decides to rename `Service.xulStore.` to something else, we will need to only update it in a single file (after we port all other instances of xulStore to use this util). Differential Revision: https://phabricator.services.mozilla.com/D197121 --HG-- extra : amend_source : 2e6875c85b82e60c154f3e58fee3c2c599eec33d |
||
---|---|---|
.. | ||
xul-store-utils.md |