Created attachment 8844591 [details] password-poo.png User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3018.3 Safari/537.36 Steps to reproduce: Paste "
Ugh, the bugzilla form fields don't handle emoji! Let's try again. Steps to reproduce: Copy a poo emoji from https://codepoints.net/U+1F4A9?lang=en into a password field. Actual results: I see two dots in the password field. See attachment. Expected results: I see only one dot in the password field.
Thanks for the report. Relevant code is mozilla::TextEditRules::FillBufWithPWChars(nsAString_internal *, int32_t): https://dxr.mozilla.org/mozilla-central/search?q=%2Bcallers%3A%22mozilla%3A%3ATextEditRules%3A%3AFillBufWithPWChars%28nsAString_internal+%2A%2C+int32_t%29%22 Testcase is in the URL field. Confirmed on Nightly 54.