Closed Bug 1249022 Opened 4 years ago Closed 5 months ago

[e10s] Pretty printing in debugger replaces script from google jsapi


(DevTools :: Debugger, defect, P3)



(firefox47 affected)

Tracking Status
firefox47 --- affected


(Reporter: arni2033, Unassigned)


(Blocks 2 open bugs, )


>>>   My Info:   Win7_64, Nightly 47, 32bit, ID 20160212030242
1. Open the following "data:" url or click URL in the form above
>   data:text/html,<script src='{"modules":[{"name":"ads","version":"1","callback":"(function(){})","packages":["content"]}]}'></script>
2. Open devtools -> Debugger, select "jsapi" in the left sidebar
3. Click button "{}" to pretty print the script.
4. Click it again (this step isn't necessary, because everything is already broken)

AR:  This is the only line displayed in the code area in Debbugger:   (function(){})
ER:  Normal script. You know,... lots of code.

Note: maybe connected to bug 1224981. Request screenshots, screencasts etc. from my side if necessary
Pretty printing is admittedly somewhat fragile right now.

Normally, I'd flag this as P1, but unfortunately the number of P1 bugs for the debugger is already growing larger than what we can take on, and we need to start making a selection.

We're currently rethinking some parts of the debugger design, including those related to source maps and pretty printing, so fixing this will likely be a medium term project. Marking this as P2 for now.
Priority: -- → P2
See Also: → 1258830
Product: Firefox → DevTools
tracking-e10s: + → ---
Priority: P2 → P3

This works in the new debugger.

Closed: 5 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.