Re: JS log-dumping an object and circular references problem

"R.Wieser" <[email protected]> Mon, 8 Feb 2021 14:24:17 +0100
Newsgroups gmane.comp.mozilla.general
Message-ID <[email protected]>
Dave,

> Can you guess from the documented properties of this
> object which one might be the culprit?

With the code using a simple array instead of a WeakList there is no need to 
guess :

URI
loadGroup
originalURI
owner
securityInfo
loadingPrincipal
loadingDocument
referrer
originalURI
notificationCallbacks
loadInfo

Some of them are present more than just two times as well as on different 
recursion depths.

> If so can you serialise response.culprit?

:-)  Nope.   It would just blow up again.

Regards,
Rudy Wieser