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)
Core Graveyard
Web Replay
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.
Comment 1•6 years ago
|
||
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
Assignee | ||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
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.
Comment 5•6 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 6 years ago
status-firefox68:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla68
Updated•5 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•