We are developing a web application using GWT in the interface.
In GWT, we make calls to the server by adding javascript code as follows:
public native static void call(int requestId, String url, ICall handler) ;
Some calls take a minute, and some others take just a couple of seconds. If we make several calls at the same time, they all run in parallel. This means that a call that ends after 2 seconds should not wait for the call to end, which lasts a minute. This is true in Chrome and Safari. However, Firefox waits for the first function to be called to finish executing other functions.
Why is Firefox waiting for the javascript function to complete to launch another function? How to fix it?
thank