Open
Bug 1264964
Opened 9 years ago
Updated 2 years ago
Devtools: Event Popup in Inspector does not use source map to prettify code
Categories
(DevTools :: Inspector, defect, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: nachtigall, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [btpp-backlog])
Attachments
(1 file)
21.90 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0
Build ID: 20160407164938
Steps to reproduce:
1. Open Devtools
2. Go to a page which uses minified JS with a source map
3. Hover over a DOM node which has an JS event attached
4. Click on the "ev" button to see the event popup
Actual results:
Event popup shows the source code. It is prettified (alignment is correct), but the source map is not used (varialbe names still minified, etc.) See attached screenshot.
Expected results:
Use the source map to show the code. In the Debugger the code ist shown very nicely. But in the inspector's event popup, it seems like the popup does not use source maps.
Updated•9 years ago
|
Component: Untriaged → Developer Tools: Inspector
Comment 1•9 years ago
|
||
Inspector bugs triage. Filter on CLIMBING SHOES.
Non breaking, UI only -> P3.
ni? myself to verify the bug.
Flags: needinfo?(jdescottes)
Priority: -- → P3
Whiteboard: [btpp-backlog]
Updated•8 years ago
|
Flags: needinfo?(jdescottes)
Comment 2•8 years ago
|
||
FWIW right now this popup gets the source text from the JS engine, not from the sources.
Updated•7 years ago
|
Blocks: source-maps
Status: UNCONFIRMED → NEW
Has Regression Range: --- → irrelevant
Has STR: --- → yes
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → All
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•