Re: [whatwg/xhr] "Every millisecond, as long as the stop timeout flag is unset, queue a microtask to run these subsubsubsteps" looks wrong. (#112)

So on IRC we discussed an alternative model where setting timeout would simply reset the timer already in process (subtracting the time passed since the fetch started). So if the initial timeout was 500. 100 passed and you set it 200, the timer would run for another 100.

Speaking of timers, @smaug---- thoughts on https://www.w3.org/Bugs/Public/show_bug.cgi?id=28117? It seems preflights and redirects reset the timer in current implementations.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/xhr/issues/112#issuecomment-282316982

Received on Friday, 24 February 2017 15:20:09 UTC