From 0744f9dc723fdbb5c0d1526ef0b7581a07c4ed39 Mon Sep 17 00:00:00 2001 From: Dmitry Gozman Date: Wed, 17 Jan 2024 09:58:01 -0800 Subject: [PATCH] Revert "feat(trace): allow Trace Viewer to include credentials when fetching traces cross-origin (#28502)" This reverts commit 3f3f33206004d7d1b46b614e1db5cc13fc384b79. --- packages/trace-viewer/src/traceModelBackends.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/trace-viewer/src/traceModelBackends.ts b/packages/trace-viewer/src/traceModelBackends.ts index 71c8f40d3906a..19c5fc2deec52 100644 --- a/packages/trace-viewer/src/traceModelBackends.ts +++ b/packages/trace-viewer/src/traceModelBackends.ts @@ -32,7 +32,7 @@ export class ZipTraceModelBackend implements TraceModelBackend { this._traceURL = traceURL; zipjs.configure({ baseURL: self.location.href } as any); this._zipReader = new zipjs.ZipReader( - new zipjs.HttpReader(formatUrl(traceURL), { mode: 'cors', credentials: 'include', preventHeadRequest: true } as any), + new zipjs.HttpReader(formatUrl(traceURL), { mode: 'cors', preventHeadRequest: true } as any), { useWebWorkers: false }); this._entriesPromise = this._zipReader.getEntries({ onprogress: progress }).then(entries => { const map = new Map();