[Bug] Safari: Case-insensitive search returns 0 results with emoji in document
Reproducible in vscode.dev or in VS Code Desktop?
- [x] Not reproducible in vscode.dev or VS Code Desktop
Reproducible in the monaco editor playground?
- [ ] Not reproducible in the monaco editor playground
Monaco Editor Playground Link
Can reproduce on Safari Web browser on the latest v0.54.0
https://microsoft.github.io/monaco-editor/playground.html?source=v0.54.0#XQAAAAIrAgAAAAAAAABBqQkHQ5NjdMjwa-jY7SIQ9S7DNlzs5W-mwj0fe1ZCDRFc9ws9XQE0SJE1jc2VKxhaLFIw9vEWSxW3yscw0m_1VlXnmFyGrY4OrtLzdbPAOcOj1cmr2b8Fg8va5YL5wHswkFrVJrfPtpxAHdkiJYXwpcP_qLelAdnaDKv6s8KNgd8HlYdEhVWasINXC5X-Xzw4kcMo1dreWpB61DlP9p4HyIPDQHVGYYwgrayPI_7CpdPeuiAWBYI5gQYvRmuMo8vVUSsOnJ4VytMQS-B9Uknt8yV4X7v2pu9l36FUi8PWOWnptY4k-U34W0I1h1NdRi6eO9TXqVaiHTbtKwx4qimckjV_gHmFfvks4v0tut3bw1Blr1iMxnDyNIMWNO8ngshBUiUFWEXxaVCLncuHIEvptXejaITW_00gHHrH7b4LTBREHZyTq07XVk_QU9KZXbaPhDs7if_wvOoX
Monaco Editor Playground Code
Use this JSON
{
"report": {
"metadata": {},
"events": [
{
"urls": [
"🤩💜",
"var(--button-highlight-background-image, inherit)"
],
"is_bitcode": false,
"timestamp": 1754982320,
"image_slot": 4,
"sdk_version": "7.4.1.1",
"image_file_size": 39430,
"image_max_uniform_pixels": 64,
"image_orientation": "landscape",
"image_id": "80986E56-741C-4835-B6B6-6E219E5792B5"
}
]
}
}
Reproduction Steps
- Open Monaco Editor Playground on the latest version v0.54.0 on Safari
- Paste this JSON with Emoji into the Javascript Section
{
"report": {
"metadata": {},
"events": [
{
"urls": [
"🤩💜",
"var(--button-highlight-background-image, inherit)"
],
"is_bitcode": false,
"timestamp": 1754982320,
"image_slot": 4,
"sdk_version": "7.4.1.1",
"image_file_size": 39430,
"image_max_uniform_pixels": 64,
"image_orientation": "landscape",
"image_id": "80986E56-741C-4835-B6B6-6E219E5792B5"
}
]
}
}
- Try open the Search with Command+F and search for
image_slot
Actual (Problematic) Behavior
The JSON has a string image_slot, but the search found no result if Match Case is OFF ❌
If the Match case is enabled -> Found 1 result ✅
Expected Behavior
- Should find 1 result of
image_slotin the given JSON - Work on Safari
Additional Context
This issue only occurs on Safari, both macOS 16 and macOS 26. Worked fine on Google Chrome
Confirming also having this issue!