playwright/packages
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
..
html-reporter chore: move vite root dir into template folder (#29081) 2024-01-23 09:40:05 -08:00
playwright fix: test.fail wrapper method (#29112) 2024-01-22 19:47:27 -08:00
playwright-browser-chromium chore: mark version 1.42.0-next (#28973) 2024-01-13 00:20:27 +01:00
playwright-browser-firefox chore: mark version 1.42.0-next (#28973) 2024-01-13 00:20:27 +01:00
playwright-browser-webkit chore: mark version 1.42.0-next (#28973) 2024-01-13 00:20:27 +01:00
playwright-chromium chore: mark version 1.42.0-next (#28973) 2024-01-13 00:20:27 +01:00
playwright-core fix(recorder): disallow external imports (#29129) 2024-01-23 11:29:40 -08:00
playwright-ct-core chore: move vite root dir into template folder (#29081) 2024-01-23 09:40:05 -08:00
playwright-ct-react fix(ct-react): do not reset mount hooks upon update (#29072) 2024-01-19 12:55:36 -08:00
playwright-ct-react17 fix(ct-react): do not reset mount hooks upon update (#29072) 2024-01-19 12:55:36 -08:00
playwright-ct-solid chore: refactor import processing in ct (#28975) 2024-01-12 20:02:27 -08:00
playwright-ct-svelte chore: move off babel proposals to plugins (#29053) 2024-01-18 17:50:52 -08:00
playwright-ct-vue chore: refactor import processing in ct (#28975) 2024-01-12 20:02:27 -08:00
playwright-ct-vue2 chore: refactor import processing in ct (#28975) 2024-01-12 20:02:27 -08:00
playwright-firefox chore: mark version 1.42.0-next (#28973) 2024-01-13 00:20:27 +01:00
playwright-test chore: mark version 1.42.0-next (#28973) 2024-01-13 00:20:27 +01:00
playwright-webkit chore: mark version 1.42.0-next (#28973) 2024-01-13 00:20:27 +01:00
protocol/src feat: page.handleLocator that closes any interstitial pages/dialogs (#29029) 2024-01-19 12:35:00 -08:00
recorder chore: make asLocator() always safe (#28207) 2023-11-16 16:31:34 -08:00
trace/src feat(trace): show target point for raw mouse apis (#28459) 2023-12-07 06:27:49 -08:00
trace-viewer fix(recorder): disallow external imports (#29129) 2024-01-23 11:29:40 -08:00
web fix(ct): move import list into the compilation cache data (#28986) 2024-01-16 19:31:19 -08:00
.eslintrc-with-ts-config.js lint: prevent object string concatenation (#23172) 2023-05-19 15:17:43 -07:00
.eslintrc.js chore: replace process.exit with graceful closure (#24242) 2023-07-24 08:29:29 -07:00