Closed Bug 1327728 Opened 7 years ago Closed 5 years ago

Event listeners tooltip in inspector (in browser toolbox) doesn't switch to exact script and line in debugger

Categories

(DevTools :: Debugger, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1175911

People

(Reporter: arni2033, Unassigned)

Details

>>>   My Info:   Win7_64, Nightly 49, 32bit, ID 20160526082509
STR_1:
1. Open new tab, open console (Ctrl+Shift+K), dock it to the bottom side of window.
   Don't select any other tab in toolbox opened in Step 1. Steps listed below refer to browser toolbox
2. Open browser toolbox -> debugger (to work around another bug), open browser toolbox -> inspector
3. Inspect close button (element "#toolbox-close") placed inside devtools toolbox opened in Step 1
4. Click (ev) button in markup near the node from Step 3
5. Click "Open in debugger" button near event listener "command" saying ".../toolbox.js:2051"

AR:  Browser toolbox switched to debugger tab, but irrelevant script is selected
ER:  Script from Step 5 should be opened at said line

I also tried this with other elements, see the table below. I'd like to say that it only happens with
elements in devtools toolbox, which have specified line in event listener, but it should be checked.

  Element                               |   event      |    script, line                 |   result
------------------------------------------------------------------------------------------------------
 "#propertyContainer" in computed view  |   copy       |   ".../computed.js:704"         |   fail
 "#toolbox-close" in devtools toolbox   |   command    |   ".../toolbox.js:2051"         |   fail
 "#inspector-pane-toggle" in inspector  |   mousedown  |   ".../inspector-panel.js:1042" |   fail
 "#inspector-searchbox" in inspector    |   input      |   ".../inspector-search.js:497" |   fail
 "#inspector-element-add-button"        |   command    |   ".../inspector.xul"           |   success
 "#back-button" in urlbar               |   mousedown  |   ".../browser.js:322"          |   success
No longer blocks: 1277113
Component: Untriaged → Developer Tools: Canvas Debugger
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
Product: Firefox → DevTools

We plan on working on this in bug 1175911

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