Add test to check handling of null selection
There is a difference between an empty selection and no selection at all. In the latter case APIs such as `selection.getRangeAt(0)` will throw an error.
Showing
Please register or sign in to comment