Closed
Bug 1505045
Opened 6 years ago
Closed 6 years ago
"store is undefined" exception in webconsole-output-wrapper.js setTimeoutIfNeeded
Categories
(DevTools :: Console, defect, P1)
Tracking
(firefox65 fixed)
RESOLVED
FIXED
Firefox 65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
Details
Attachments
(1 file)
This is an error I get from time to time in the browser console. This happened here: https://searchfox.org/mozilla-central/rev/7c848ac7630df5baf1314b0c03e015683599efb9/devtools/client/webconsole/webconsole-output-wrapper.js#442,451 The function gets called while the store isn't initialized yet, causing the exception.
Assignee | ||
Comment 1•6 years ago
|
||
In some cases, the setTimeoutIfNeeded function can be called before the store is initialized, which is causing an exception when we try to dispatch the messages. With this patch, we check if the store is not ready, and re-schedule a timeout so messages can be handled properly when the store is ready.
Assignee | ||
Comment 2•6 years ago
|
||
TRY push https://treeherder.mozilla.org/#/jobs?repo=try&revision=4458207c82a944166cb8aa29e3b4850377c8cb42
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b05772bcb6f4 Fix error in setTimeoutIfNeeded when store is not ready yet; r=Honza.
Comment 4•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/b05772bcb6f4
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 65
You need to log in
before you can comment on or make changes to this bug.
Description
•