Open
Bug 1327705
Opened 7 years ago
Updated 11 months ago
Debugger can't prettify scripts from sourcemap
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(Not tracked)
NEW
People
(Reporter: arni2033, Unassigned)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
488.66 KB,
application/zip
|
Details |
>>> My Info: Win7_64, Nightly 49, 32bit, ID 20160526082509 STR_1: 1. Open the following "data:" url: data:text/html,<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script> 2. Open debugger 3. Prettify script "jquery.js" (sic) STR_2: 1. Download and extract attached "testcase 1" in a folder with a short full name 2. Open .html file 3. Open debugger 4. Prettify script "jquery.js" (sic) AR: Prettify button switches to "enabled" state, but nothing happens with the script ER: Either X or Y X) Script should be prettified Y) Prettify button should be in "enabled" state and also disabled. That's the only logical option if Firefox developers don't admit admit the possibility that script from sourcemap isn't prettified
Comment hidden (spam) |
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
Updated•6 years ago
|
Blocks: source-maps
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•5 years ago
|
Blocks: dbg-prettyprint-m2
Updated•5 years ago
|
Priority: -- → P3
Updated•4 years ago
|
Updated•1 year ago
|
Severity: normal → S3
Comment 2•11 months ago
|
||
This is a known issue as pretty-print does generate its own sourcemap, we would have to somehow juggle the original sourcemap and the one from pretty-print, which would be quite complex
Or, pretty-print could accept the sourcemap original mapping and alter it somehow (sounds complex too)
You need to log in
before you can comment on or make changes to this bug.
Description
•