Closed
Bug 1826928
Opened 2 years ago
Closed 2 years ago
prettyFast does not add space between `of` and `[`
Categories
(DevTools :: Debugger, defect, P3)
DevTools
Debugger
Tracking
(firefox114 fixed)
RESOLVED
FIXED
114 Branch
Tracking | Status | |
---|---|---|
firefox114 | --- | fixed |
People
(Reporter: nchevobbe, Assigned: nchevobbe)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Steps to reproduce
- Navigate to
data:text/html,<meta charset=utf8><script>for(const y of []){}</script>
- Open the debugger, select the source (under
(no domain)
) - Click the pretty print icon
Expected results
The inline script is prettified like:
for(const y of []){
}
Actual results
The inline script is prettified like:
for(const y of[]){
}
(note that the space between of
and [
was removed)
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D174947
Updated•2 years ago
|
Assignee: nobody → nchevobbe
Status: NEW → ASSIGNED
Assignee | ||
Updated•2 years ago
|
Severity: -- → S3
Priority: -- → P3
Pushed by nchevobbe@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/baf6bbd0d48d
[devtools] Add space between `of` and `[` in pretty printed scripts. r=devtools-reviewers,ochameau.
![]() |
||
Comment 3•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox114:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•