Closed Bug 1548623 Opened 6 years ago Closed 6 years ago

Don't cancel content JS from interrupt callback when recording/replaying

Categories

(Core Graveyard :: Web Replay, defect)

defect
Not set
normal

Tracking

(firefox68 fixed)

RESOLVED FIXED
mozilla68
Tracking Status
firefox68 --- fixed

People

(Reporter: bhackett1024, Assigned: bhackett1024)

References

Details

Attachments

(1 file)

When recording/replaying the interrupt callback runs at non-deterministic points, so we disallow recorded events from occurring here. As for the logic to paint from the interrupt callback, the logic to cancel content JS from the interrupt callback should be disabled as well when recording/replaying.

Isn't this already the case? The interrupt callback for XPCJSContext never does anything if we're recording/replaying: https://searchfox.org/mozilla-central/rev/b59a99943de4dd314bae4e44ab43ce7687ccbbec/js/xpconnect/src/XPCJSContext.cpp#593-595

Ah, good catch! I don't recall seeing that check for force-painting when I wrote my patch, but maybe I just glossed over it...

Pushed by bhackett@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/da538647fa04 Avoid performing recorded operations in the interrupt callback, r=smaug.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
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: