mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
We were only increasing the index by 1, which wouldn't account for surrogate pairs (e.g. emojis). We need to increase the index by the character length so the string can be manipulated accurately after. Test case is added to cover the fix. Differential Revision: https://phabricator.services.mozilla.com/D275419