зеркало из https://github.com/mozilla/gecko-dev.git
b91249c508
Starting from bug 1597679, `HTMLTextAreaElement::GetValueInternal()` stops converting `\r\n` and `\r` with `\n` because it may be in hot path and the scan cost of `\r` in `nsContentUtils::PlatformToDOMLineBreaks()` is redundant in most cases. However, there are still some paths to input `\r`. This patch makes them call `nsContentUtils::PlatformToDOMLineBreaks()` if they have not done it. Differential Revision: https://phabricator.services.mozilla.com/D54906 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
auth | ||
permissions | ||
pref | ||
spellcheck | ||
universalchardet | ||
build.mk | ||
confvars.sh | ||
moz.build | ||
moz.configure |