playwright/tests
Dmitry Gozman 8e607d509f
fix(recorder): disallow external imports (#29129)
Previously, new `Recorder` instance was given an existing
`InjectedScript`. However, we built a separate source for
`InjectedScript` vs `Recorder`, and both bundles contain their own copy
of all helper modules, e.g. `roleUtils`.

This resulted in two copies of helper modules, which is troublesome for
any module-level globals like a top-level cache. Depending on whether
`Recorder` or `InjectedScript` called into the helper, they would access
the different value of a module global, which lead to bugs.

To prevent this, we force any external dependencies to be imported
through the `InjectedScript.utils`.
2024-01-23 11:29:40 -08:00
..
android test: unflake 'android.launchServer' WS leak test (#28891) 2024-01-08 19:07:06 +01:00
assets feat: page.handleLocator that closes any interstitial pages/dialogs (#29029) 2024-01-19 12:35:00 -08:00
components chore: move vite root dir into template folder (#29081) 2024-01-23 09:40:05 -08:00
config fix(launcher): unregister global process handlers when all browser are closed (#29011) 2024-01-16 14:41:26 -08:00
electron chore: get rid of 'electron-to-chromium' dependency (#28826) 2024-01-03 19:49:37 +01:00
image_tools chore: bump @babel dependencies (#27632) 2023-10-17 20:52:41 +02:00
installation chore: migrate ct to vite5 (#29033) 2024-01-19 11:13:03 -08:00
library fix(recorder): disallow external imports (#29129) 2024-01-23 11:29:40 -08:00
page feat: page.handleLocator that closes any interstitial pages/dialogs (#29029) 2024-01-19 12:35:00 -08:00
playwright-test chore: move vite root dir into template folder (#29081) 2024-01-23 09:40:05 -08:00
stress fix(dispatchers): separate gc bucket for main frame, increased limit (#28629) 2023-12-14 10:42:08 -08:00
webview2 test: use net8.0 for webview2 tests (#28665) 2023-12-15 13:03:33 -08:00
.eslintrc.js chore: enable no-floating-promises ESLint rule for tests (#23376) 2023-06-02 21:59:12 +02:00
index.d.ts test: added tests for WebSocket over Socks proxy (#7235) 2021-06-24 18:50:16 +02:00
tsconfig.json test: add installation tests for supposed plugin story (#27331) 2023-09-28 17:18:22 -07:00