Change #3732

Remove Synchronous XMLHttpRequest

Added by Lukas Hämmerle over 2 years ago. Updated 12 months ago.

Status:RejectedStart date:2016-08-19
Priority:NormalDue date:
Assignee:Lukas Hämmerle% Done:

0%

Category:-
Target version:-

Description

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)

History

#1 Updated by Lukas Hämmerle over 2 years ago

  • Tracker changed from Bug to Change
  • Target version set to 1.20.2

#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.

#3 Updated by Lukas Hämmerle 12 months ago

Has not become an issue so far, therefore no change needed for now.

#4 Updated by Lukas Hämmerle 12 months ago

  • Status changed from New to Rejected
  • Target version deleted (2.0)

Also available in: Atom PDF