fn bump_selection_out_of_invalid_node( cx: &mut JSContext, selection: &Selection, ) -> Result<(), ()>