mirror of
https://github.com/microsoft/playwright.git
synced 2024-12-15 14:11:50 +03:00
190ed9465f
This prevents shared workers from stalling upon restart. We receive `Inspector.targetCrashed` and `Inspector.targetReloadedAfterCrash` events that assume `Runtime.runIfWaitingForDebugger` from any attached client. It is easier and more stable to just detach from shared workers, because we do not inspect them. For service workers, we should actually issue `Runtime.runIfWaitingForDebugger` in such cases, because we attach to them. Fixes #18932. |
||
---|---|---|
.. | ||
shared-worker.html | ||
shared-worker.js |