[FIX] web: guardedCatch on IE Edge async return
In IE Edge async and await are supported, but guardedCatch is added to polyfilled MyPromise object and async methods return original Promise so depending of chain guardedCatch can cause en error or not. It seems that historically, the MyPromise patching has also had issue in firefox with it sometimes working or not. In this changeset we completely remove it (which will have the drawback of more error shown in console in firefox). opw-1964486 opw-2116839 closes #39953 closes odoo/odoo#40154 X-original-commit: 5ca38da6 Signed-off-by:Nicolas Lempereur (nle) <nle@odoo.com>
Showing
- addons/web/static/lib/unhandled-rejection-polyfill/LICENSE 0 additions, 21 deletionsaddons/web/static/lib/unhandled-rejection-polyfill/LICENSE
- addons/web/static/lib/unhandled-rejection-polyfill/unhandled-rejection-polyfill.js 0 additions, 75 deletions...andled-rejection-polyfill/unhandled-rejection-polyfill.js
- addons/web/views/webclient_templates.xml 0 additions, 1 deletionaddons/web/views/webclient_templates.xml
Please register or sign in to comment