Open Bug 1288776 Opened 9 years ago Updated 3 years ago

Wrong syntax highlight in Scratchpad

Categories

(DevTools :: Source Editor, defect, P3)

47 Branch
defect

Tracking

(Not tracked)

People

(Reporter: oonuma.ry0uyu, Unassigned)

References

Details

Attachments

(1 file)

Attached image cap (2).PNG
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)
Component: Untriaged → Developer Tools: Scratchpad
Summary: wrong scratch pad syntax highlight → Wrong syntax highlight in Scratchpad
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
Product: Firefox → DevTools
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: