New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 894687 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Windows
Pri: 2
Type: Bug



Sign in to add a comment

Syntax highlight error in DevTools->sources when debug jsx with grave like {`foo ${bar}`}

Reported by moonk...@gmail.com, Oct 12

Issue description

UserAgent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36

Steps to reproduce the problem:
1. write something with jsx 
2. use string template in es6 like {`foo ${bar}`}
3. everything after this statement will be highlight as string 

What is the expected behavior?

What went wrong?
highlight in source panel went wrong 

Did this work before? No 

Chrome version: 69.0.3497.100  Channel: stable
OS Version: 10.0
Flash Version:
 
QQ截图20181012104401.jpg
30.9 KB View Download
testcode.js
480 bytes View Download
Labels: Needs-Triage-M69
Cc: krajshree@chromium.org
Labels: Triaged-ET Needs-Feedback
reporter@ - Thanks for filing the issue...!!

Could you please provide a sample test file/url to test the issue from TE-end.
This will help us in triaging the issue further.

Thanks...!!
set up a test site for this case 
http://case.moonkop.com/
Project Member

Comment 4 by sheriffbot@chromium.org, Oct 12

Labels: -Needs-Feedback
Thank you for providing more feedback. Adding the requester to the cc list.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Owner: einbinder@chromium.org
Status: Assigned (was: Unconfirmed)

Sign in to add a comment