playwright/packages/playwright-core/src/server/bidi
Yury Semikhatsky f8806d253d
chore(bidi): remove assertion from response dispatch (#33100)
After the context has been disposed we can't route any callbacks to it
because
it is not in the map, so the assertion doesn't make sense as it always
ends up in
the top level session.

Fixes the following error:
```
  pw:browser <closing ws> Closing websocket due to failed onmessage callback. eventData={"type":"success","id":32,"result":{}} e=Assertion error Error: Assertion error
  pw:browser     at assert (/home/yurys/playwright/packages/playwright-core/src/utils/debug.ts:21:11)
  pw:browser     at BidiSession.dispatchMessage (/home/yurys/playwright/packages/playwright-core/src/server/bidi/bidiConnection.ts:229:13)
  pw:browser     at BidiConnection.call [as _dispatchMessage] (/home/yurys/playwright/packages/playwright-core/src/server/bidi/bidiConnection.ts:93:25)
```
2024-10-14 13:25:30 -07:00
..
third_party chore(bidi): launch firefox with user prefs tailored for testing (#32817) 2024-09-25 18:17:07 -07:00
bidiBrowser.ts chore: support launchPersistentContext with bidi (#32641) 2024-09-16 17:31:26 -07:00
bidiChromium.ts chore: introduce option overrides on context/browser (#32606) 2024-09-13 17:34:34 +02:00
bidiConnection.ts chore(bidi): remove assertion from response dispatch (#33100) 2024-10-14 13:25:30 -07:00
bidiExecutionContext.ts feat(trace): highlight strict mode violation elements in the snapshot (#32893) 2024-10-02 00:00:45 -07:00
bidiFirefox.ts chore(bidi): launch firefox with user prefs tailored for testing (#32817) 2024-09-25 18:17:07 -07:00
bidiInput.ts chore: wheel input in bidi (#32499) 2024-09-06 17:10:14 -07:00
bidiNetworkManager.ts chore: cookies in intercepted bidi requests (#32623) 2024-09-13 18:29:35 -07:00
bidiOverCdp.ts chore: support bidi connection to chromium (#32474) 2024-09-05 14:56:07 -07:00
bidiPage.ts chore: address api review for page.forceGarbageCollection (#32824) 2024-09-26 05:08:33 -07:00
bidiPdf.ts chore(bidi): bring to front, pdf (#32698) 2024-09-23 19:05:55 -07:00
DEPS.list chore: split firefox and chromium bidi implementations (#32478) 2024-09-05 18:31:56 -07:00