()
| 238 | loadEventFired = false; |
| 239 | xhr.onload = () => (loadCallbackFired = true); |
| 240 | let badEvent = () => { |
| 241 | throw new Error("Shouldn't call me"); |
| 242 | }; |
| 243 | xhr.addEventListener('load', () => (loadEventFired = true)); |
| 244 | xhr.addEventListener('load', badEvent); |
| 245 | xhr.removeEventListener('load', badEvent); |
nothing calls this directly
no outgoing calls
no test coverage detected