Skip to content

Commit

Permalink
chore: post review
Browse files Browse the repository at this point in the history
  • Loading branch information
Lightning00Blade committed Aug 9, 2023
1 parent 4584f1c commit 81e1d05
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions packages/puppeteer-core/src/common/bidi/Page.ts
Original file line number Diff line number Diff line change
Expand Up @@ -746,11 +746,10 @@ export class Page extends PageBase {
}

override async removeScriptToEvaluateOnNewDocument(
script: string
id: string
): Promise<void> {
await this.#connection.send('script.removePreloadScript', {
script,
// TODO: should change spec to accept browsingContext
script: id,
});
}
}
Expand Down

0 comments on commit 81e1d05

Please sign in to comment.