Closed Bug 1948292 Opened 10 months ago Closed 10 months ago

Display error when "Copy Object" context menu entry failed

Categories

(DevTools :: Console, defect, P3)

defect

Tracking

(firefox137 fixed)

RESOLVED FIXED
137 Branch
Tracking Status
firefox137 --- fixed

People

(Reporter: nchevobbe, Assigned: nchevobbe)

Details

Attachments

(2 files)

Since we're using the copy helper under the hood, when it does fail, we get the error message in helperResult, but we don't expose it in the UI.
We could display the error in the NotificationBox (see screenshot)

The error is displayed using the toolbox notification box.
A test case is added to make sure everything is working as expected.

Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Pushed by nchevobbe@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/9bd68380d0f2 [devtools] Display error when copy object context menu action failed. r=devtools-reviewers,ochameau.
Severity: -- → S3
Priority: -- → P3
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: