New issue
Advanced search Search tips

Issue 875695 link

Starred by 3 users

Issue metadata

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



Sign in to add a comment

JS string template breaking syntax highlighting

Reported by loopylem...@gmail.com, Aug 20

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

Steps to reproduce the problem:
1. Open DevTools source maps
2. Open a file that includes two JS string templates
3. 

What is the expected behavior?
The syntax highlighting should continue after a string template is closed

What went wrong?
Syntax highlighting did not recognise the end of the second string template. DevTools assumed the rest of the file was a string.

Did this work before? Yes 

Chrome version: 68.0.3440.106  Channel: stable
OS Version: OS X 10.13.5
Flash Version:
 
Screen Shot 2018-08-20 at 11.55.00 am.png
300 KB View Download
Labels: Needs-Triage-M68 Needs-Bisect
Cc: viswa.karala@chromium.org
Labels: Triaged-ET Needs-Feedback
Thanks for filing the issue!

@Reporter: Could you please provide sample Test file/URL that reproduces the issue which help further triaging the issue in better way.

Thanks!
Unfortunately the application that I'm seeing the issue on is not public, and I can't seem to replicate it on another project.

It seems to happen only when I'm debugging a Nativescript project using the chrome debugger.
Project Member

Comment 4 by sheriffbot@chromium.org, Aug 22

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
Labels: -Needs-Bisect
As per comment# 3 from the reporter, as he is unable to reproduce the Test file/URL to test the issue, so without Test file/URL ET team cannot proceed further to triage it, hence removing Needs-Bisect label and requesting someone from the Platform>DevTools team help in providing further inputs on this issue.

Thanks!
Owner: einbinder@chromium.org
Status: Assigned (was: Unconfirmed)

Comment 7 Deleted

That doesn't look like JavaScript. Is it a typescript/flow file? What is the file extension?

Sign in to add a comment