Files
tubestation/devtools
Nicolas Chevobbe 1787ad1b44 Bug 1970248 - [devtools] Don't use getUrl to build input value in onUpdateQueryParams. a=dmeehan.
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
2025-06-05 12:59:53 +00:00
..