Closed Bug 1332299 Opened 9 years ago Closed 4 years ago

Optionally open the Addon Debugger automatically after an addon is installed using the RDP method addonsActor.installTemporaryAddons

Categories

(WebExtensions :: Developer Tools, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1787409

People

(Reporter: rpl, Unassigned)

References

Details

(Whiteboard: triaged [addon-debugging])

The goal of this issue is to define an additional {openAddonDebugger: true} parameter on the addons RDP actor installTemporaryAddon method (https://dxr.mozilla.org/mozilla-central/source/devtools/server/actors/addons.js#19), which will open the addon debugger automatically as soon as the addon has been installed. Once added, we are going to be able to implement on the "web-ext" CLI command the behavior described in the github issue 759 (https://github.com/mozilla/web-ext/issues/759).
Summary: Optionally open the Addon Debugger automatically after an addon is installe by the RDP method addonsActor.installTemporaryAddons → Optionally open the Addon Debugger automatically after an addon is installed using the RDP method addonsActor.installTemporaryAddons
It would be nice if the client could get some sort of hint that this feature exists. The client checks for new methods by querying requestTypes but that probably won't help here. Maybe it could just send a flag in the installTemporaryAddon response object?
(In reply to Kumar McMillan [:kumar] (needinfo all the things) from comment #1) > It would be nice if the client could get some sort of hint that this feature > exists. The client checks for new methods by querying requestTypes but that > probably won't help here. Maybe it could just send a flag in the > installTemporaryAddon response object? Good point, there are definitely more than one possible strategies to achieve it, an easy one could be to define both a new `openAddonDebuggerFor` method and the new '{openAddonDebugger: true}' option on the existent `installTemporaryAddon` method, then we can retrieve the `requestTypes` and, if the actor has the new method "openAddonDebuggerFor", then we can assume that the actor also supports the new option on the `installTemporaryAddon` method.
Priority: -- → P3
Whiteboard: triaged
Product: Toolkit → WebExtensions
Type: defect → enhancement
Whiteboard: triaged → triaged [addon-debugging]

This has been implemented recently in Bug 1787409 (which has been landed in Nightly 106)

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.