onabort callback for HTTPLoader is called twice
Created by: robertbryer
When the AbandonRequestRule calls abandon on a segment load, it enqueues two segment replacement requests in ScheduleController (and re-loads the same segment at the lower quality twice). This is because the onAbort callback for HTTPLoader is called twice, once through the XHRLoader with x.loader.abort(x)
, and again on x.onabort()
.
So this PR removes the second x.onabort call.