Closed
Bug 1045237
Opened 10 years ago
Closed 5 years ago
Event listeners popup "Open in debugger" doesn't work for prettyprinted scripts
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1578752
People
(Reporter: mahdi, Unassigned)
References
Details
(Whiteboard: [polish-backlog])
Attachments
(1 obsolete file)
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:34.0) Gecko/20100101 Firefox/34.0 (Beta/Release) Build ID: 20140728042654 Steps to reproduce: 1. Add an event listener in a line, but not the first 2. Minify your script and include 3. Inspect and select visual events, then "Open in Debugger" Actual results: Debugger opens, beautifies the script and cursor stays at first line. Expected results: Cursor should navigate to the handler after beautifying the script. An example: http://dibaiee.ir/up/ve/
Reporter | ||
Updated•10 years ago
|
Component: Untriaged → Developer Tools: Debugger
Updated•10 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 2•10 years ago
|
||
Assuming that beautifying is the same as pretty printing here.
Blocks: dbg-prettyprint
Updated•10 years ago
|
Summary: Visual events "open in debugger" doesn't work on beautified scripts → "Open in debugger" doesn't work for prettyprinted scripts
Updated•9 years ago
|
Summary: "Open in debugger" doesn't work for prettyprinted scripts → Event listeners popup "Open in debugger" doesn't work for prettyprinted scripts
Updated•9 years ago
|
Whiteboard: [devedition-40]
Updated•9 years ago
|
Priority: -- → P2
Updated•9 years ago
|
Updated•9 years ago
|
Whiteboard: [devedition-40] → [polish-backlog]
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•6 years ago
|
Priority: P2 → P3
Updated•5 years ago
|
Since pretty-printing produces source maps, this should just work for prettified sources and everything else.
The column numbers for pretty sources are always 0. I think this is a function of the maps generated by pretty-fast, which map source spans to whole lines. I don't think that's an issue but I'm not sure whether to hide the column numbers or not.
Updated•5 years ago
|
Attachment #9100617 -
Attachment is obsolete: true
Updated•5 years ago
|
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.
Description
•