       assert_unreached("onopen");
        });

        ws.onerror = t.step_func(function() {
            assert_true(true)
            t.done()
        });
      });
}, 'Websockets - Received 301 code');
</script>
