Joe Lissner

Results 1 issues of Joe Lissner

https://github.com/mswjs/interceptors/blob/ac4f22b1319401d946746d5ca34f6f98846465f1/src/interceptors/XMLHttpRequest/XMLHttpRequestController.ts#L610 if `location.href` is an empty string, you get an "Invalid baseURL" error. ![image](https://github.com/mswjs/interceptors/assets/6201030/c074886c-8763-4680-9cb8-c24c4ce74bcf) I believe this could easily be fixed by updating to `return new URL(url.toString(), location.href || undefined)`