Closed Bug 1832478 Opened 2 years ago Closed 2 years ago

Swallow error caused by destroyed front/toolbox in getCompatibilityIssues

Categories

(DevTools :: Inspector: Rules, task)

task

Tracking

(firefox115 fixed)

RESOLVED FIXED
115 Branch
Tracking Status
firefox115 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

References

Details

Attachments

(1 file)

No description provided.

We had rejections in getCompatibilityIssues on TRY when the page navigated or
the toolbox was being destroyed.
To workaround this, we wrap the call in a try/catch block where we swallow the
error in such case.

Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e2b422fa32fb [devtools] Swallow error caused by destroyed front/toolbox in getCompatibilityIssues. r=jdescottes,devtools-reviewers.
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 115 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: