Re-factor destinations
/getDestination
to reduce unnecessary duplication, and reject non-string inputs#9975
Merged
timvandermeij merged 2 commits intomozilla:masterfrom Snuffleupagus:getDestination-refactorAug 12, 2018
+56-50