************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC. *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS! *****
************************************************************
Affected Version:
What steps will reproduce the problem?
1. Create a javascript file containing:
function foo() {
var operator = "bar";
}
2. Push it for review
3. Check the difference (side by side or unified).
What is the expected output? What do you see instead?
operator should not be highlighted.
Instead, operator is highlighted with CSS class 'kwd'
Please provide any additional information below.
I checked: https://developer.mozilla.org/en-US/docs/JavaScript/Reference/Reserved_Words
And operator does not seem to be a valid keyword in javascript.