No synchronous XHR for password verification

Discussions and requests related to new CMSimple features, plugins, templates etc. and how to develop.
Please don't ask for support at this forums!
Post Reply
cmb
Posts: 14225
Joined: Tue Jun 21, 2011 11:04 am
Location: Bingen, RLP, DE
Contact:

No synchronous XHR for password verification

Post by cmb » Thu Dec 01, 2016 11:55 pm

Hi!

When the password is changed in the configuration, CMSimple_XH sends a synchronous XHR to verify the old password. However, synchronous XHR is deprecated:
Synchronous XMLHttpRequest outside of workers is in the process of being removed from the web platform as it has detrimental effects to the end user's experience. (This is a long process that takes many years.) Developers must not pass false for the async argument when entry settings object's global object is a Window object. User agents are strongly encouraged to warn about such usage in developer tools and may experiment with throwing an InvalidAccessError exception when it occurs.
Therefore we should change the current behavior. Any suggestions?
Christoph M. Becker – Plugins for CMSimple_XH

Post Reply