Closed Bug 1327986 Opened 8 years ago Closed 8 years ago

Debugger can't prettify a script with specific comment (invalid sourcemap)

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: arni2033, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: regression)

>>> My Info: Win7_64, Nightly 48, 32bit, ID 20160416030220 STR_1: 1. Open the following "data:" url or click URL in the form above > data:text/html,<script src="https://dl.dropboxusercontent.com/s/ofr77pmtgpz5sga/2016.04.17 20-41-26 pretty-print bug widget.js?dl=0"></script> 2. Open debugger, click button to prettify the script AR: Nothing ER: Script should be pretty-printed STR_2 ("real-life", because I noticed some hostility to minimized testcases): 1. Open http://www.gazeta.ru/ 2. Open debugger, prettify script "widget.js" [F.A.I.L.] STR_3 ("real-life"): 1. Open https://news.rambler.ru/ 2. Open debugger, prettify script "underscore-min.js" [FAIL] STR_4 ("real-life"): 1. Open http://sledcom.ru/ 2. Open debugger, prettify script "jquery-1.10.2.min.js" [FAIL] This is regression from bug 905700. Slightly fixed in bug 1111058 (but not enough). Pushlogs: [1] - script could be prettified in a normal way -> script became invisible (2014-11-27) [2] - script was invisible -> script became visible, but prettify doesn't work (2015-01-09) > [1] https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=ced1402861b8&tochange=cef590a6f946 > [2] https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=70de2960aa87&tochange=b3f84cf78dc2
No longer blocks: 1277113
Component: Untriaged → Developer Tools: Canvas Debugger
Component: Developer Tools: Canvas Debugger → Developer Tools: Debugger
debugger.html doesn't provide a button to prettify this source, which seems like a new bug that would have to be resolved first.
Priority: -- → P3
(In reply to Tom Tromey :tromey from comment #1) > debugger.html doesn't provide a button to prettify this source, > which seems like a new bug that would have to be resolved first. Aha, I'm just not seeing a button; I can right-click on the source's tab and prettify from the menu. This seems to work ok now.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.