Closed Bug 1249022 Opened 8 years ago Closed 5 years ago

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

Categories

(DevTools :: Debugger, defect, P3)

defect

Tracking

(firefox47 affected)

RESOLVED FIXED
Tracking Status
firefox47 --- affected

People

(Reporter: arni2033, Unassigned)

References

(Blocks 1 open bug, )

Details

>>>   My Info:   Win7_64, Nightly 47, 32bit, ID 20160212030242
STR:
1. Open the following "data:" url or click URL in the form above
>   data:text/html,<script src='https://www.google.com/jsapi?autoload={"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.

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