mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-19 01:10:22 +00:00
bda9b87fdb
1. As per the spec, if maxTargets is 0, return all targets. 2. Where maxTargets > 0, fix the loop condition so it doesn't incorrectly fetch one more target than requested. Differential Revision: https://phabricator.services.mozilla.com/D42446 --HG-- extra : moz-landing-system : lando