Open
Bug 1288776
Opened 9 years ago
Updated 3 years ago
Wrong syntax highlight in Scratchpad
Categories
(DevTools :: Source Editor, defect, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: oonuma.ry0uyu, Unassigned)
References
Details
Attachments
(1 file)
5.48 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160623154057
Steps to reproduce:
I write javascript
```
function justaminute([aa=100,ba=200,ca=300]=[114514,810,42]){
return [aa,ba,ca]
}
justaminute(["foo","bar","baz"])
```
Actual results:
i find a wrong syntax highlight.
hire is screenshot.
Expected results:
showed true syntax highlight.
and I confirmed firefox 49 developer edition that configured `devtools.theme = dark`(default)
Summary: wrong scratch pad syntax highlight → Wrong syntax highlight in Scratchpad
Comment 2•8 years ago
|
||
Confirmed, this is an issue with the source editor component.
You can see the same problem if we load a script containing the code from the summary in the Debugger.
Scratchpad triage. Filter on TRIAGE-JD201705
Status: UNCONFIRMED → NEW
Component: Developer Tools: Scratchpad → Developer Tools: Source Editor
Ever confirmed: true
Priority: -- → P3
Updated•7 years ago
|
Product: Firefox → DevTools
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•