This is a testharness.js-based test. [FAIL] opening an insecure WebSocket in a secure context should fail Failed to construct 'WebSocket': An insecure WebSocket connection may not be initiated from a page loaded over HTTPS. Harness: the test ran to completion.