Closed
Bug 794120
Opened 12 years ago
Closed 12 years ago
Can't inspect certain form-elements, e.g: input=submit or button from context menu
Categories
(DevTools :: Inspector, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: johan.charlez, Unassigned)
Details
Right clicking an input=submitor button element throws:
Error: TypeError: this.target is undefined
Source file: chrome://browser/content/nsContextMenu.js
Line: 160
And performing any action after right clicking above elements that closes the context menu throws:
Error: TypeError: gContextMenu is null
Source file: chrome://browser/content/browser.xul
Line: 1
STR:
1. right click (button, input=submit)
2. use context menuitem "Inspect Element (Q)"
Expected result:
The inspector launches, and the element is highlighted.
Actual result:
Exceptions are thrown (see above).
Comment 1•12 years ago
|
||
Can you reproduce with Firebug disabled?
Comment 2•12 years ago
|
||
Related: bug 724546
(In reply to Paul Rouget [:paul] from comment #1)
> Can you reproduce with Firebug disabled?
I'm in an odd position here.
* On my desktop: right-clicking said elements doesn't open a context menu. (Firebug is not installed here). It doesn't throw above exceptions.
* On my laptop, at the moment, a context menu is opened. (Firebug installed).
(In reply to Paul Rouget [:paul] from comment #1)
> Can you reproduce with Firebug disabled?
I can't reproduce this with Firebug disabled.
It looks like Firebug is adding the ability to open context menus for these elements.
I think you should be able to (1.right-click 2.inspect) these elements however, should we morph this bug to reflect the actual problem?
Comment 5•12 years ago
|
||
This should have been fixed a long while ago.
Comment 6•12 years ago
|
||
This should have been fixed here: bug 708643
Comment 7•12 years ago
|
||
Johan, can you still reproduce this? (works for me)
Please re-open if you still run into this bug.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WORKSFORME
No, the bug has not been fixed, the exceptions are still thrown with with Firebug.
I filed this bug to deal with the bug where the context menu is not shown for form buttons and select elements (With Firebug not installed). I suppose I forgot to add the bit about the context menu not showing up under 'Actual Results' in the STR, doh!
However, the bug is being dealt with in bug 433168, I'm waiting for a review.
So I suppose this bug can remain closed.
Cheers Paul!
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•