Open Bug 1264964 Opened 8 years ago Updated 2 years ago

Devtools: Event Popup in Inspector does not use source map to prettify code

Categories

(DevTools :: Inspector, defect, P3)

48 Branch
defect

Tracking

(Not tracked)

People

(Reporter: nachtigall, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [btpp-backlog])

Attachments

(1 file)

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.
Component: Untriaged → Developer Tools: Inspector
See Also: → 1265327
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]
Flags: needinfo?(jdescottes)
FWIW right now this popup gets the source text from the JS engine, not from the sources.
Blocks: source-maps
Status: UNCONFIRMED → NEW
Has Regression Range: --- → irrelevant
Has STR: --- → yes
Ever confirmed: true
OS: Unspecified → All
Hardware: Unspecified → All
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: