playwright/packages/playwright-core
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
..
bin chore: generate self-signed certificates for socks proxy (#32192) 2024-08-16 20:21:05 +02:00
bundles Reapply "fix(har timing): record connect timing for proxied connections" (#32855) (#33003) 2024-10-08 14:17:50 +02:00
src chore(bidi): remove assertion from response dispatch (#33100) 2024-10-14 13:25:30 -07:00
types docs(route): header override propagation (#32971) 2024-10-07 13:52:55 -07:00
.eslintrc.js chore: strengthen linting (#29669) 2024-02-26 16:52:28 -08:00
.npmignore fix(client-certificates): include socks-certs in npm package (#31872) 2024-07-26 11:04:38 +02:00
browsers.json feat(webkit): roll to r2092 (#33078) 2024-10-14 22:21:49 +02:00
cli.js chore: split cli processing into cli endpoint and program (#29131) 2024-01-23 15:22:09 -08:00
index.d.ts chore: migrate to monorepo (#9421) 2021-10-11 16:52:17 +02:00
index.js chore: refactored minimum Node Major version to variable (#24188) 2023-07-18 19:57:48 +02:00
index.mjs fix: export request from index.jsm (#13158) 2022-03-30 09:35:47 -07:00
package.json chore: mark 1.49.0-next (#32873) 2024-09-30 04:24:57 -07:00
README.md chore: drop dependency on playwright-core in all our packages (#2318) 2020-05-21 13:18:15 -07:00
ThirdPartyNotices.txt Reapply "fix(har timing): record connect timing for proxied connections" (#32855) (#33003) 2024-10-08 14:17:50 +02:00

playwright-core

This package contains the no-browser flavor of Playwright.