blob: f6ab2175b67156ddbf947d2ec4ff9d136159d7a9 [file] [log] [blame]
After removing a focused element at the end of tree, accessing focus navigation starting point shouldn't lead to crash.
PASS insertEnd(); focusEnd(); removeEnd(); moveFocus('forward'); document.activeElement.id is 'next'
PASS insertEnd(); focusEnd(); removeEnd(); moveFocus('backward'); document.activeElement.id is 'prev'