mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-21 09:15:35 +00:00
4ad9038141
This factors out the `Prefs` object from UnifiedComplete.js into UrlbarPreferences.jsm and makes required changes so it's not tied to consts and other identifiers local to UnifiedComplete.js. It adds another new module, UrlbarUtils.jsm, for storing consts that both UrlbarPreferences and UnifiedComplete use. In order to preserve blame as much as possible, I used `hg cp` to copy UnifiedComplete.js to UrlbarPreferences.jsm, and then I removed all the non-Prefs code before making other changes, so this patch looks bigger than it really is. (Maybe I wasn't actually so successful in preserving a lot of blame.) Differential Revision: https://phabricator.services.mozilla.com/D5626 --HG-- rename : toolkit/components/places/UnifiedComplete.js => browser/components/urlbar/UrlbarPrefs.jsm extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
cpp | ||
docs | ||
eslint | ||
python | ||
shell | ||
spell | ||
test | ||
tox | ||
wpt | ||
yamllint_ | ||
codespell.yml | ||
cpp-virtual-final.yml | ||
eslint.yml | ||
flake8.yml | ||
hooks.py | ||
mach_commands.py | ||
mingw-capitalization.yml | ||
py2.yml | ||
py3.yml | ||
shellcheck.yml | ||
test-disable.yml | ||
wpt_manifest.yml | ||
wpt.yml | ||
yaml.yml |