Closed Bug 2000768 Opened 1 year ago Closed 1 year ago

Saving all network logs as HAR fails: TypeError: cyclic object value

Categories

(DevTools :: Netmonitor, defect)

Firefox 145
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1995694

People

(Reporter: abrifq, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:145.0) Gecko/20100101 Firefox/145.0

Steps to reproduce:

In Network tab, I enabled Persist Logs and disabled Disable Cache, and then started logging a test on a website, login->do action->logout.

After that, I tried to Save all as HAR from the cog on the top rightmost.

Actual results:

File got created, however it was empty.
I checked Bug 1950380 before filing this one, and then checked browser console for errors.

I found only this error happening when I try to save, so it should be isolated to this error. However, I have no idea where does it cycles.

TypeError: cyclic object value
    stringify resource://devtools/client/netmonitor/src/har/har-exporter.js:264
    fetchHarData resource://devtools/client/netmonitor/src/har/har-exporter.js:215
har-exporter.js:266:15

Expected results:

The file should have saved as usual, like it does with saving a singular log.

Component: Untriaged → Netmonitor
Product: Firefox → DevTools
Summary: Saving all network logs as HAR fails → Saving all network logs as HAR fails: TypeError: cyclic object value

Should be fixed by Bug 1995694

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Duplicate of bug: 1995694
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.