The trial in California Superior Court is a test case for thousands of other lawsuits seeking damages for social media harms.