DescriptionFix for CSS escaped identifier assert
Escaped identifiers are stored as 16-bit string so using the 8-bit
string storage for them causes unexpected errors in tokenToLowerCase().
In debug there was an ASSERT that crashed the browser. In release
any non-ascii chars in the string would have been partly garbled.
This also removes the "const" from an argument because the function
does mutate the argument so calling it const was not very honest.
BUG=358750
R=eseidel
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=170841
Patch Set 1 #
Total comments: 2
Patch Set 2 : Nicer testcase indentation #
Total comments: 1
Patch Set 3 : Added explanation in a comment. #
Total comments: 2
Messages
Total messages: 22 (0 generated)
|