Closed Bug 1446648 Opened 7 years ago Closed 6 years ago

Web Replay: Record refcount changes on various classes

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

RESOLVED INVALID
Tracking Status
firefox61 --- affected

People

(Reporter: bhackett1024, Assigned: bhackett1024)

References

Details

Attachments

(2 files)

Attached patch patchSplinter Review
While testing, I've noticed that the thread which releases the last reference on this class can vary within the same recording, leading to mismatches with the recording when the destructor performs recorded operations. This happens because refcount changes are not recorded by default. The attached patch records refcount changes for nsPipeInputStream, makes changes to nsISupportsImpl.h so that using a recorded refcount is a one line change, and uses this to revert earlier changes to allow recording Runnable refcounts.
AbstractThread has similar issues.
Summary: Web Replay: Record refcount changes on nsPipeInputStream → Web Replay: Record refcount changes on various classes
Closing this bug, all the changes here will be reviewed in separate bugs dependent on bug 1422587.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: