Remove Synchronous XMLHttpRequest
|Assignee:||Lukas Hämmerle||% Done:|
Firefox complains in recent versions "Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience."
Synchronous requests are made in functions isShibbolethSession and loadDiscoFeedIdPs (for the latter only if wayf_use_disco_feed == true)
#2 Updated by Lukas Hämmerle over 2 years ago
- Priority changed from High to Normal
- Target version changed from 1.20.2 to 2.0
After doing some research on this topic I fear there is no quick and good solution to change the synchronous XMLHttpRequests to asynchronous XMLHttpRequests as of now. Given the current code structure and the way the Embedded Discovery Service is rendered, changing this would require a substantial amount of work and it would be hardly doable in the short term. The benefit would be almost zero because all it would change is getting rid of the warning message (in the JS console) in some web browsers. There have been no real problems known so far.