Since the url string we get in the function is the input value, it may not be a valid URL, and in such case the getUrl function would return a null object, causing a crash of the panel. We revert to a more cautious approach by adding the computed params after the last ? char we see in the input value. Test cases are added to cover the fix (and more scenarios around resend panel param synchronization) Original Revision: https://phabricator.services.mozilla.com/D252450 Differential Revision: https://phabricator.services.mozilla.com/D252625