зеркало из https://github.com/mozilla/gecko-dev.git
be55ac8482
This commit changes `Store::local_row_to_item` to validate local URLs, and flags items with malformed URLs as invalid. These items are either replaced with valid remote copies, if they exist, or deleted if not. Additionally, `BaseBookmarksStore#_calculateIndex` no longer throws when determining the sort index for an item with an invalid URL. As an aside, we use the `url` crate to parse URLs. This is the same crate as used by `MozURL`, which, in turn, backs the JS `URL` constructor...so URLs should be validated the same way in Rust and JS. Differential Revision: https://phabricator.services.mozilla.com/D64695 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
locales | ||
modules | ||
modules-testing | ||
tests | ||
tps/extensions/tps | ||
SyncComponents.manifest | ||
Weave.jsm | ||
components.conf | ||
moz.build |