mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
chore(domworld): clear set (#6847)
This commit is contained in:
parent
de904db51d
commit
25abae6e79
@ -115,7 +115,7 @@ export class DOMWorld {
|
||||
|
||||
async _setContext(context?: ExecutionContext): Promise<void> {
|
||||
if (context) {
|
||||
this._ctxBindings = new Set();
|
||||
this._ctxBindings.clear();
|
||||
this._contextResolveCallback.call(null, context);
|
||||
this._contextResolveCallback = null;
|
||||
for (const waitTask of this._waitTasks) waitTask.rerun();
|
||||
|
Loading…
Reference in New Issue
Block a user