Closed Bug 1928336 Opened 1 month ago Closed 1 month ago

Avoid showing the target's URL for WebExtensions

Categories

(DevTools :: General, enhancement)

enhancement

Tracking

(firefox134 fixed)

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

To followup on bug 1754452 review discussion, we should hide the top level target URL always displayed in WebExtension toolboxes as it always refers to the fallback document, which is confusing and not useful.
Also, this made me realize that the toolbox host window title isn't updated on target selection, which could be an helpful way to keep track of the currently selected target URL.
If we combine these two, may be we could and should hide the target URL anytime we are in a Window host? But I imagine that this combination only occurs when debugging add-ons. We only show this for remote debugging and I think you can only have the window host for add-ons.

The target info url is misleading as it only refers to the top level target URL,
which in the case of add-ons is always the fallback document.
And it is also redundant with the toolbox window title which, thanks to this patch,
will be updated to the currently selected target title+url.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ee077a8108c4 [devtools] Update toolbox host title on target selection and hide target URL in target info for web extensions. r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: