playwright/packages/playwright-core/src/server/firefox
Dmitry Gozman c56877032d
fix(persistent): close browser instead of pages (#18485)
Previously, we closed pages one by one before closing the browser when
shutting down the persistent context. This logic was introduced in
https://github.com/microsoft/playwright/pull/4040 to properly finish
video recordings in persistent context.

Such a process makes it unnecessary brittle to close the persistent
context. For example, Chromium headless is sometimes unable to close the
last persistent page for unknown reasons.

Instead, we can just stop video recordings manually and close the
browser right away.

Fixes #18229.
2022-11-01 14:26:38 -07:00
..
ffAccessibility.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
ffBrowser.ts fix(persistent): close browser instead of pages (#18485) 2022-11-01 14:26:38 -07:00
ffConnection.ts fix(firefox): launch races (#15259) 2022-06-30 10:58:22 -07:00
ffExecutionContext.ts chore: use utils via index export (6) (#13417) 2022-04-07 21:48:41 -07:00
ffInput.ts chore: always import type (#13365) 2022-04-06 14:57:14 -07:00
ffNetworkManager.ts feat(chromium): Service Worker Network Instrumentation and Inspection (#14716) 2022-07-01 12:49:43 -07:00
ffPage.ts chore: allow not overriding media when creating context (#18413) 2022-10-31 09:09:52 -07:00
firefox.ts feat(firefox): process.env.PLAYWRIGHT_DISABLE_FIREFOX_CROSS_PROCESS (#18458) 2022-10-31 15:19:10 -07:00
protocol.d.ts feat(firefox): roll to r1352 (#17494) 2022-09-21 11:12:45 -07:00