+'://'+domain.toUpperCase()+'/echo');
  ws.onopen = t.step_func(function(e) {
    ws.close();
    t.done();
  });
  ws.onclose = ws.onerror = ws.onmessage = t.step_func(function() {assert_unreached()});
});
</script>
