User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/28.0.1500.95 Safari/537.36 Steps to reproduce: 1. Running Dev Tools 2. Open Debugger 3. Put in a breakpoint, wait for breakpoint 4. Looking at an object in the watch screen, and see that I can click it. I right click to bring up a context menu. Actual results: Instead of a context menu, the debugger treats the right click as a left click and expands Expected results: I expected a context menu, hopefully with a way to copy the value. Since this was a JSON based object, I was hoping I could copy the contents as JSON. (I was able to solve the problem by adding a watch on JSON.stringify(json) and then highlighting the variable.) Chrome Dev Tools and Firebug both have this functionality built in.
Assignee: nobody → bbenvie
OS: Mac OS X → All
Priority: -- → P3
Hardware: x86 → All
Version: 22 Branch → Trunk
Status: UNCONFIRMED → NEW
Component: Developer Tools: Debugger → Developer Tools: Object Inspector
Ever confirmed: true
Summary: In Dev Tools > Debugger when I right click a JS variable it acted like a left click → VariablesView does not distinguish between right and left clicks
Created attachment 816793 [details] [diff] [review] bug-902539.patch Adds checks to _onClick, _onEdit, and _onDelete to bail out if it's not the left mouse button.
Created attachment 816806 [details] [diff] [review] bug-902539.patch Fix pressing delete key wouldn't cause a delete, add a test. https://tbpl.mozilla.org/?tree=Try&rev=7907ffd5b1b0
Attachment #816806 - Flags: review?(vporof) → review+
There's no r=? in this commit.
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 27
You need to log in before you can comment on or make changes to this bug.