Fix old browsers crashing because of missing finally polyfill in web UI (#13115)

Fix #13015
This commit is contained in:
ThibG
2020-02-18 17:22:44 +01:00
committed by GitHub
parent 7584342d83
commit 1314bba68a
4 changed files with 33 additions and 2 deletions

View File

@ -18,7 +18,8 @@ function loadPolyfills() {
Number.isNaN &&
Object.assign &&
Object.values &&
window.Symbol
window.Symbol &&
Promise.prototype.finally
);
// Latest version of Firefox and Safari do not have IntersectionObserver.