— The code running the xhr is the only thing that can stop the xhr with abort();
— Where else could it be?
—
const p = fetch(url);
p.cancel();
— Https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/abort
— Weirdly the compat chart has a question mark for Firefox
— I know, but there's no way to do this with native fetch I think
— Then fetch has to be fixed for that somehow, I think
— The surface area of a fetch is only a promise, right?