When registering onreadystatechange for an XHR, the handler will be called three times with xmlHttpRequestGetReadyState retrieving already 4 every time, instead of just the last time.
This PR suggests this might be a regression in either ghcjs-dom or jsaddle (the PR refers to ghcjs-dom but also refers to versions that only exist for jsaddle).
We were able to fix this issue for reflex-dom by means of this, but the issue obviously lies deeper.
When registering
onreadystatechange
for an XHR, the handler will be called three times withxmlHttpRequestGetReadyState
retrieving already4
every time, instead of just the last time.This PR suggests this might be a regression in either ghcjs-dom or jsaddle (the PR refers to ghcjs-dom but also refers to versions that only exist for jsaddle).
We were able to fix this issue for reflex-dom by means of this, but the issue obviously lies deeper.