playwright/packages/trace-viewer/src
Max Schmitt a6d1fb93de
fix(trace-viewer): encode attachment filenames as UTF-8 (#29993)
Fixes https://github.com/microsoft/playwright/issues/29967

Tested in Firefox, Chromium, and Safari. This now leads to "good
attachment names" in Chromium and Safari, for Firefox, it won't produce
attachments, it will open them inline, but this is not a regression, was
before like that already.

See here for the spec:
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Disposition#filename_2

---------

Signed-off-by: Max Schmitt <max@schmitt.mx>
2024-03-18 21:26:45 +01:00
..
ui chore: prepare to reuse test server from ui mode (2) (#29966) 2024-03-18 09:59:02 -07: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 fix(trace viewer): replace blue dot with red dot+warning (#29380) 2024-02-06 08:27:45 -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 fix(trace-viewer): encode attachment filenames as UTF-8 (#29993) 2024-03-18 21:26:45 +01: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