The U.S. Supreme Court will soon be grappling with classic First Amendment principles in the modern-day social-media context of a case involving threatening posts on Facebook.

The justices agreed to examine the constitutionality of a federal law making it a crime to transmit communications containing “any threat to injure the person of another.”