Closed Bug 1051688 Opened 11 years ago Closed 9 years ago

Inspector should have a "Turn on inspector mode in X seconds" option

Categories

(DevTools :: Inspector, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1036722

People

(Reporter: manishearth, Unassigned)

Details

Sometimes one wishes to inspect a panel that can only be opened by clicking some button, and disappears if you click elsewhere once it is opened. These panels can't properly be inspected by the inspector since click events don't work in inspect mode, and opening the panel first and then clicking inspect will close the panel. For example, try to use the Browser Toolbox to inspect the buttons in the panelUI panel. It would be nice to have a mode where we can specify a delay for the inspector to enable itself, in which time we can open the panel. Alternatively, the ability to trigger click events from the Inspector's source panel would be nice -- there already is an "ev" button, but that just links to the code without any way of triggering the event.
There's an interesting discussion about this in bug 1036722. Do you think what you had in mind could be solved with this bug?
(In reply to Patrick Brosset [:pbrosset] [:patrick] from comment #1) > There's an interesting discussion about this in bug 1036722. Do you think > what you had in mind could be solved with this bug? Yes, but it seems limited to mouse motion events. Adding a "click" button to the virtual pointer would solve this, though. When I get time I'll try to get a simple implementation up. This would be very nice to have.
Marking this as duplicate as Bug 1036722 have been re-purposed to emulate mouse/pointer events, which includes clicks.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.