The Brandenburg Test is a doctrine for free speech which states that "the government cannot punish speech based solely on its content or perceived offensiveness unless it poses an immediate, concrete threat of illegal activity."
Canadian speech law protects freedom of expression but allows for significant restrictions. Currently, Canadian law restricts speech that incites hatred, defames, harasses, or endangers others, with recent legislation focusing on online harms.