Revert "feat(trace): allow Trace Viewer to include credentials when fetching traces cross-origin (#28502)" (#29024)
This reverts commit 3f3f332060.
References #29019.
This commit is contained in:
parent
c82919859c
commit
300a0127de
|
|
@ -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<string, zip.Entry>();
|
||||
|
|
|
|||
Loading…
Reference in a new issue