Skip to content

Commit

Permalink
chore(domworld): clear set (puppeteer#6847)
Browse files Browse the repository at this point in the history
  • Loading branch information
jschfflr authored Feb 9, 2021
1 parent de904db commit 25abae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/DOMWorld.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 25abae6

Please sign in to comment.