Repository navigation
test: assert ConnectAsync does not modify the caller's ConnectOptions - #3796
Conversation
…ns (upstream #15762) Upstream stopped mutating the launch/connect options (logger defaulting). PuppeteerSharp injects the logger via ILoggerFactory and never writes it into the options, so only the upstream 'should not modify the connect options' test is ported. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
Ports puppeteer/puppeteer#15762 (do not modify the options passed to launch and connect).
Upstream defaulted
options.loggerin place; PuppeteerSharp takes the logger throughILoggerFactoryand never writes it into the options, so no production change is needed. This adds the upstream launcher.spec testshould not modify the connect options. The PuppeteerNode.test.ts unit test (frozen options on launch) has no .NET equivalent.Note: not run locally (build env lacks dev cert / tar issue); relying on CI.
🤖 Generated with Claude Code
Summary by CodeRabbit