Open Bug 1774368 Opened 3 years ago Updated 3 years ago

Pretty printing script with Records/Tuples displays an error in the editor

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: nchevobbe, Unassigned)

References

(Blocks 2 open bugs)

Details

Steps to reproduce

  1. With records and tuples enabled
  2. Go to https://ffx-devtools-recors-and-tuples.glitch.me/
  3. Open the debugger
  4. Open script.js
  5. Click on the pretty print button at the bottom

Actual result

The editor content is replaced with the following error:

Error loading this URI: Unexpected character '{' (1:4)

We'll probably need to update the pretty print library

Severity: -- → S3
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.