Closed Bug 1491527 Opened 7 years ago Closed 7 years ago

In Scratchpad an arrow symbol => was split into two (= and >) after "Pretty Print"

Categories

(DevTools Graveyard :: Scratchpad, defect)

62 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 951622

People

(Reporter: yaru.uvva, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:62.0) Gecko/20100101 Firefox/62.0 Build ID: 20180830143136 Steps to reproduce: Copy/paste this code into Scratchpad and click "Pretty Print". var p = new Promise(resolve => resolve); console.log(p); Actual results: Arrow symbol => was replaced with = SPACE > var p = new Promise(resolve = > resolve); console.log(p); If you click "Run" it will fail with this error: /* Exception: SyntaxError: expected expression, got '>' @Scratchpad/1:1 */ Expected results: "Pretty Print" must not change => symbol.
Status: UNCONFIRMED → NEW
Component: Untriaged → Scratchpad
Ever confirmed: true
Product: Firefox → DevTools
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.