Browser Throwing Error "Synchronous XMLHttpRequest on the main thread is deprecated" for Event 'load'
(Doc ID 2807296.1)
Last updated on AUGUST 31, 2023
Applies to:
Oracle JDeveloper - Version 12.2.1.4.0 and laterOracle Banking Platform - Version 2.7.0.0.0 and later
Information in this document applies to any platform.
Symptoms
Browser is throwing error in console:
[Deprecation] Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check https://xhr.spec.whatwg.org/.
AdfXMLRequest.send @ core-d0yor4.js AdfXmlHttpLibraryLoadableScript._send @ core-d0yor4.js ... load (async)
Issue can be seen in multiple browsers (Firefox, Chrome, Edge).
Changes
This issue is different from unpublished Bug 32398707:
- Affects Chromium-based browsers (Chrome/Edge) with V8 JS engine and Gecko-based browsers (Firefox) alike, while Bug 32398707 only impacts Chromium-based browsers.
- Issue is triggered on page load event, while Bug 32398707 involves page dismissal with beforeunload and unload events.
- Workaround (enable "Allows synchronous XHR requests in page dismissal") does not work.
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |