Synchronous XMLHttpRequests are being dropped
Hi,
I'm experiencing a strange issue with synchronous XMLHttpRequests seemingly being dropped by Firefox. To give some background info: I'm working with some people on a dynamic analysis for JavaScript code. The analyser relies on synchronous XMLHttpRequests being sent from the main thread (I realise that this is deprecated for a reason, but unfortunately, to satisfy some guarantees for the analysis, we have no other option). In some cases, it seems that the synchronous XMLHttpRequests that are sent never get a response, and are seemingly dropped. In fact, the processing of entire events is silently abandoned.
Unfortunately, we don't have a lot of details on what exactly is going wrong: we only know that 1) 99.9% of the requests are sent and received just fine, but every once in a while a request doesn't get a response 2) when a request fails, it was usually preceded by another request that took an unusually long time to get a response (~1000ms-1500ms).
Does anyone have an idea on under what kinds of circumstances synchronous XMLHttpRequests are dropped? I would assume that they are dropped if they timeout for example?