chore(reporter): add another surrogate pair test case #33428
Merged
+1
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pavel asked for more surrogate pair test cases. I noticed we already had some, but I've added another test case that's special, in that not even VS Code handles it correctly. If you hit backspace on the character, it gets split up into its components:
Screen.Recording.2024-11-04.at.16.18.07.mov
The VS Code bug is tracked in microsoft/vscode#99629 and it's purportedly closed completed - not sure if i'm seeing a regression. At least Playwright knows how to handle it :D
@pavelfeldman let me know in case you meant a different kind of character and I remembered wrong.