https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 2762f9e510988a8a9936fe8049d0f9ea2ba87be2 authored by James Graham on 30 July 2018, 13:36:45 UTC
Add a directory handler that uses the MANIFEST.json for listings.
Tip revision: 2762f9e
Create-verify-url-set-non-default-port.any.js
// META: script=websocket.sub.js

test(function() {
  var urlNonDefaultPort = "ws://" + __SERVER__NAME + ":" + __NEW__PORT + "/" + __PATH;
  var wsocket = new WebSocket(urlNonDefaultPort);
  assert_equals(wsocket.url, urlNonDefaultPort, "wsocket.url is set correctly");
}, "W3C WebSocket API - Create WebSocket - wsocket.url should be set correctly");
back to top