How to reproduce:
1. Open the attached project
2. Open Test Runner window
3. Run Playmode tests on WebGL
Expected result: No issues
Actual result: "The message header is corrupted and for security reasons connection will be terminated." errors in the UI and browser console
Not reproducible after Build&Run
Reproducible with Google Chrome Version 96.0.4664.110
Not reproducible with Safari 15.2
Tested with MacBook Pro (16-inch, 2019), Big Sur 11.6.2
Reproducible: 2021.3.0f1, 2022.1.b1, 2022.2.0a1