playwright/packages/trace-viewer/src
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
..
ui fix(recorder): disallow external imports (#29129) 2024-01-23 11:29:40 -08:00
versions chore: stream trace viewer logs (#27807) 2023-10-26 11:15:43 -07:00
DEPS.list chore: introduce testInfo.testId (#21670) 2023-03-14 15:58:55 -07:00
entries.ts chore: render testInfo errors in the Errors tab (#28179) 2023-11-16 11:37:57 -08:00
events.ts chore: migrate injected scripts to esbuild (#13143) 2022-03-28 23:10:17 -07:00
geometry.ts chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00
index.tsx chore: better error for trace viewer over http:// (#27722) 2023-10-23 18:21:19 +02:00
multimap.ts chore: move protocol and trace types into the top-level packages (#17486) 2022-09-20 18:41:51 -07:00
progress.ts chore: roll @zip.js/zip.js to 2.7.29 (#27047) 2023-09-13 18:39:10 +02:00
snapshotRenderer.ts feat(trace): preserve noscript when javascript is disabled (#28971) 2024-01-12 12:11:39 -08:00
snapshotServer.ts fix(snapshots): match resources by method (#24145) 2023-07-10 20:04:48 -07:00
snapshotStorage.ts fix(snapshots): match resources by method (#24145) 2023-07-10 20:04:48 -07:00
sw.ts chore: roll @zip.js/zip.js to 2.7.29 (#27047) 2023-09-13 18:39:10 +02:00
traceModel.ts feat(trace): show target point for raw mouse apis (#28459) 2023-12-07 06:27:49 -08:00
traceModelBackends.ts Revert "feat(trace): allow Trace Viewer to include credentials when fetching traces cross-origin (#28502)" (#29024) 2024-01-17 10:40:58 -08:00
uiMode.tsx chore: better error for trace viewer over http:// (#27722) 2023-10-23 18:21:19 +02:00
vite-env.d.ts chore: migrate trace-viewer and recorder to vite (#13076) 2022-03-25 14:12:00 -07:00