Closed Bug 2017909 Opened 9 months ago Closed 9 months ago

Add test for server toolbox crashes

Categories

(DevTools :: General, task)

task

Tracking

(firefox149 fixed)

RESOLVED FIXED
149 Branch
Tracking Status
firefox149 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

References

(Blocks 1 open bug)

Details

Attachments

(1 external file)

We currently have a convoluted test for component toolbox errors (ie errors in a React component which lead to display the toolbox's AppErrorBoundary component).

Similarly we have some logic to show this component when a server error breaks the toolbox initialization, but we have no way to test it.

We probably need to introduce a pref or some flag to force a failure on the server.

It is worth test as we are adding more feature to toolbox crash UI.

Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 9 months ago
Resolution: --- → FIXED
Target Milestone: --- → 149 Branch
QA Whiteboard: [qa-triage-done-c150/b149]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: