VisualEditor: After selecting a focusable node backwards by cursoring, pressing up/down throws an exception
Closed, ResolvedPublic

Description

Steps to reproduce:

1.Open a page with VE which has a reference note in it
2.Now place your cursor after the reference note
3.Press backspace to select the reference note
4.Now press down key to go to the next line

Observed Result:
The cursor does not go to the next line and an error appears in the console:

Uncaught NotFoundError: Failed to execute 'selectNode' on 'Range': The node provided is null.

Environment:Betalabs


Version: unspecified
Severity: normal

Details

Reference
bz67755
Ryasmeen created this task.Jul 9 2014, 10:17 PM

Change 146472 had a related patch set uploaded by Esanders:
Don't handle up/down on focusableNodes even if backwards

https://gerrit.wikimedia.org/r/146472

Change 146472 merged by jenkins-bot:
Don't handle up/down on focusableNodes even if backwards

https://gerrit.wikimedia.org/r/146472

Verified the fix in Betalabs

Verified the fix in test2

Verified the fix in production en.wiki

Add Comment