playwright/packages/playwright-core/src/server/dispatchers
Dmitry Gozman 412c11db20
fix(reuse): make sure all dispose and close sequences are executed (#19572)
- When disposing recursively, only the root dispatcher received
`_dispose()` call, while some dispatchers need `_onDispose()` to clean
things up.
- When reusing the context, pages should be notified with `_onClose()`
so that all client-side waiting promises could reject.

Fixes #19216.
2022-12-19 15:54:53 -08:00
..
androidDispatcher.ts feat(android): add AndroidDevice.close event (#18306) 2022-10-25 18:18:14 -07:00
artifactDispatcher.ts chore: conditionally dispatch network events (#18687) 2022-11-09 21:10:57 -08:00
browserContextDispatcher.ts fix(reuse): make sure all dispose and close sequences are executed (#19572) 2022-12-19 15:54:53 -08:00
browserDispatcher.ts fix(inspector): support custom test id attribute (#18996) 2022-11-29 11:43:47 -08:00
browserTypeDispatcher.ts chore: move connect utility into localUtils (#17590) 2022-09-27 13:05:06 -07:00
cdpSessionDispatcher.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
consoleMessageDispatcher.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
debugControllerDispatcher.ts fix(reuse): make sure all dispose and close sequences are executed (#19572) 2022-12-19 15:54:53 -08:00
DEPS.list chore: make bundles typed (#13620) 2022-04-18 17:50:25 -07:00
dialogDispatcher.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
dispatcher.ts fix(reuse): make sure all dispose and close sequences are executed (#19572) 2022-12-19 15:54:53 -08:00
electronDispatcher.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
elementHandlerDispatcher.ts chore: conditionally dispatch network events (#18687) 2022-11-09 21:10:57 -08:00
frameDispatcher.ts chore: expose utility script to inner evaluates (#19147) 2022-11-29 16:57:11 -08:00
jsHandleDispatcher.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
jsonPipeDispatcher.ts chore: move connect utility into localUtils (#17590) 2022-09-27 13:05:06 -07:00
localUtilsDispatcher.ts feat(connect): allow exposing local network to the remote browser (experimental) (#19372) 2022-12-09 11:16:29 -08:00
networkDispatchers.ts chore: conditionally dispatch network events (#18687) 2022-11-09 21:10:57 -08:00
pageDispatcher.ts fix(reuse): make sure all dispose and close sequences are executed (#19572) 2022-12-19 15:54:53 -08:00
playwrightDispatcher.ts feat(android): add Android.{launchServer,connect} (#18263) 2022-10-24 17:23:11 -07:00
selectorsDispatcher.ts chore: use provided value for the generated test id (#18631) 2022-11-08 12:04:43 -08:00
streamDispatcher.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
tracingDispatcher.ts chore: conditionally dispatch network events (#18687) 2022-11-09 21:10:57 -08:00
writableStreamDispatcher.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00