Pressing backspace in empty document crashes tab in Vanadium #1701
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Vanadium is a security hardened fork of Chromium used on GrapheneOS (an Android-based OS) as the System WebView, so e.g. regular Chrome on GrapheneOS also uses the Vanadium WebView. Pressing backspace in a CodeMirror 6 editor with an empty document crashes the tab in Vanadium. I reported this to Vanadium. Interestingly it also happens in Monaco (though different from CM6, there it already happens when pressing backspace in an empty line).
I'd love to have a minimal reproduction example for the Vanadium bug report that doesn't rely on CodeMirror but I've not managed to produce one yet ... just the CodeMirror
contenteditableHTML doesn't do it, so it must be related to some JS code. Interestingly it also happens withEditorState.readOnly.of(true).If I go to https://codemirror.net in Vanadium 148.0.7778.96.0, backspace out the content of the demo editor, and continue backspacing, nothing happens. Any further details on how to reproduce this?
Huh, I'm assuming you're also testing this on GrapheneOS? I can reproduce it every time on a Pixel 7a and on a Pixel 9 Pro.