fix: webview zoom level persistence on navigation (#40650)
This commit is contained in:
parent
66b4b21646
commit
10a165a9ff
4 changed files with 72 additions and 6 deletions
|
@ -873,7 +873,13 @@ describe('node feature', () => {
|
|||
});
|
||||
};
|
||||
|
||||
process.once('unhandledRejection', () => done(new Error('catch block is delayed to next tick')));
|
||||
let called = false;
|
||||
process.once('unhandledRejection', () => {
|
||||
if (called) return;
|
||||
|
||||
done(new Error('catch block is delayed to next tick'));
|
||||
called = true;
|
||||
});
|
||||
|
||||
setTimeout(() => {
|
||||
f3().catch(() => done());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue