DescriptionMojo javascript encoder: Empty string encoded as NULL.
Instead, encode null as NULL (and not just any falsy value) via
a == comparison with null (and use ==, not === to treat undefined
the same way as null).
BUG=407258
Committed: https://crrev.com/c1a2be03ea10bf2416b614779909ea0d20bb683c
Cr-Commit-Position: refs/heads/master@{#292221}
Patch Set 1 #Patch Set 2 : Add comment about undefined. #Messages
Total messages: 14 (0 generated)
|