I'd like to think that we all agree that you would be arrested for saying things in person (hate crimes, etc) would be the same things you'd be arrested for saying online... i'd place the line about there.
However, there are cases which do cross the line... https://www.bbc.co.uk/news/articles/c9dj1zlvxglo