Revision 0b94ea95c4e0639d9363cee4603545324f047456 authored by James Graham on 11 April 2018, 14:49:07 UTC, committed by James Graham on 11 April 2018, 14:49:07 UTC
1 parent 72160f1
017.html
<!doctype html>
<title>WebSockets: too few slashes after ws: and wss:</title>
<script src=/resources/testharness.js></script>
<script src=/resources/testharnessreport.js></script>
<script src=../constants.js?pipe=sub></script>
<meta name="variant" content="">
<meta name="variant" content="?wss">
<div id=log></div>
<script>
var tests = [
['ws:', PORT],
['ws:/', PORT],
['wss:', PORT_SSL],
['wss:/', PORT_SSL]
];
//Pass condition is to not throw
for (var i = 0; i < tests.length; ++i) {
test(function(){new WebSocket(tests[i][0] + location.hostname + ':' + tests[i][1] + '/echo')}, tests[i][0]);
}
</script>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...