Catch getLayoutMap error (#3518)
This might be causing issues with the PWA showing a blank screen with MacOS.
This commit is contained in:
parent
58622ccc34
commit
546dd9c278
@ -406,6 +406,9 @@ export class BrowserKeyboardMapperFactoryBase {
|
|||||||
// }
|
// }
|
||||||
|
|
||||||
// return null;
|
// return null;
|
||||||
|
}).catch(() => {
|
||||||
|
// NOTE@coder: It looks like the intention was to catch this error but
|
||||||
|
// a try/catch won't do it when using promises without `await`.
|
||||||
});
|
});
|
||||||
} catch {
|
} catch {
|
||||||
// getLayoutMap can throw if invoked from a nested browsing context
|
// getLayoutMap can throw if invoked from a nested browsing context
|
||||||
|
Reference in New Issue
Block a user