Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. microsoft/playwright-dotnet#2775 after some time / and some other reports. --------- Signed-off-by: Max Schmitt <[email protected]> Co-authored-by: Dmitry Gozman <[email protected]>
- Loading branch information