Newer version of the Chrome browser are shouting warnings when the
XMLHttpRequest object is being used synchronously. We all know that we must not block the main UI thread with unnecessary synchronous calls.
init.js, is generating such a warning in Chrome!
Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
Part of the function
UpdateFormDigest is the following faulty line:
b.open("POST", GetUrlFromWebUrlAndWebRelativeUrl(f, "_vti_bin/sites.asmx"), false);
false parameter states a synchronous request.
Searching on the web was not providing me any evidence that Microsoft is currently working on this particular piece of legacy code.
Anyone in the StackExchange community picked something up?
I have checked this against the following SharePoint versions:
- SharePoint Server 184.108.40.20669
- SharePoint Online 220.127.116.1107