mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore: rerun tasks after the util handle has been evaluated (#8962)
This commit is contained in:
parent
ac9929d80f
commit
42cd6d04d6
@ -159,7 +159,6 @@ export class IsolatedWorld {
|
||||
this.#injectPuppeteerUtil(context);
|
||||
this.#ctxBindings.clear();
|
||||
this.#context.resolve(context);
|
||||
this.#taskManager.rerunAll();
|
||||
}
|
||||
|
||||
async #injectPuppeteerUtil(context: ExecutionContext): Promise<void> {
|
||||
@ -173,6 +172,7 @@ export class IsolatedWorld {
|
||||
})()`
|
||||
)) as JSHandle<PuppeteerUtil>
|
||||
);
|
||||
this.#taskManager.rerunAll();
|
||||
} catch (error: unknown) {
|
||||
debugError(error);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user