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)
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.
Updated•7 years ago
|
Status: UNCONFIRMED → NEW
Component: Untriaged → Scratchpad
Ever confirmed: true
Product: Firefox → DevTools
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Updated•6 years ago
|
Product: DevTools → DevTools Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•