Skip to content
Snippets Groups Projects
Commit 5ca38da6 authored by Nicolas Lempereur's avatar Nicolas Lempereur
Browse files

[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

Signed-off-by: default avatarNicolas Lempereur (nle) <nle@odoo.com>
parent 75efe4b4
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment