playwright/packages/trace-viewer/src
Max Schmitt 36ebdfb441
fix: provisional fix for Trace Viewer source 404 (#29192)
Motivation: Sometimes the files are not available anymore on the Service
Worker side. The Trace Viewer frontend then falls back to `file?path=`
and uses its response, no matter what the response status is.

This patch checks for the response status code before using its
response.

e.g. https://github.com/microsoft/playwright-dotnet/issues/2775 after
some time / and some other reports.

---------

Signed-off-by: Max Schmitt <max@schmitt.mx>
Co-authored-by: Dmitry Gozman <dgozman@gmail.com>
2024-01-27 14:05:15 +01:00
..
ui fix: provisional fix for Trace Viewer source 404 (#29192) 2024-01-27 14:05:15 +01: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