Closed Bug 1556819 Opened 7 years ago Closed 7 years ago

AutoDebuggerJobQueueInterruption can interfere with replay

Categories

(Core Graveyard :: Web Replay, defect)

defect
Not set
normal

Tracking

(firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox69 --- fixed

People

(Reporter: bhackett1024, Assigned: bhackett1024)

References

Details

Attachments

(2 files)

Attached patch patchSplinter Review

AutoDebuggerJobQueueInterruption is used when various debugger hooks are invoked, which can occur in different places when replaying than it did while recording. The callbacks invoked by this class can access the recording (taking some locks I think). It seems best to deal with this by disabling AutoDebuggerJobQueueInterruption when recording or replaying. We never spin up a nested event loop or promises in debugger hooks in a recording/replaying process (which would definitely perturb the recording!) so the run-to-completion issues which AutoDebuggerJobQueueInterruption is fixing cannot occur in the first place.

Bugbug thinks this bug is a enhancement, but please change it back in case of error.

Type: defect → enhancement
Type: enhancement → defect
Pushed by bhackett@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/852a1ba09661 Prevent AutoDebuggerJobQueueInterruption from doing anything when recording/replaying, r=jimb.
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: