Closed Bug 1879018 Opened 1 year ago Closed 1 year ago

Assert.sys.mjs tries to JSON.stringify XPCOM objects, fails, and this takes a long time

Categories

(Testing :: General, defect)

defect

Tracking

(firefox124 fixed)

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: darktrojan, Assigned: darktrojan)

References

Details

Attachments

(1 file)

There's a much more sensible way to implement this fix, and it also works for arrays of XPCOM objects, which the previous attempt did not.

This is a better way to fix the problem than my previous attempt.

Blocks: 1879157
Pushed by geoff@darktrojan.net: https://hg.mozilla.org/integration/autoland/rev/e1d5fc41cdc6 Use replacer function to avoid calling JSON.stringify on XPCOM objects in Assert.sys.mjs. r=jmaher
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: