Skip to content

[BUG] Service Workers are flaky #1292

@JoelEinbinder

Description

@JoelEinbinder

ChromiumBrowserContext should create a worker from a service worker times out sometimes. So far I've only repro'd this on windows. It looks like an upstream bug.

The service worker is created, and we attach to it, but we don't receive a Target.attachedToTarget message?! Instead, we just start getting messages from the service worker on a new sessionId, starting with Inspector.targetReloadedAfterCrash.

Later, when closing the browserContext/test, we get the missing attachedToTarget. Nothing is dumped to stderr. I'm confused.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions