Lines Matching refs:urlRecord
12262 let urlRecord;
12264 urlRecord = new URL(url, baseURL);
12268 if (urlRecord.protocol === "http:") {
12269 urlRecord.protocol = "ws:";
12270 } else if (urlRecord.protocol === "https:") {
12271 urlRecord.protocol = "wss:";
12273 if (urlRecord.protocol !== "ws:" && urlRecord.protocol !== "wss:") {
12275 `Expected a ws: or wss: protocol, got ${urlRecord.protocol}`,
12279 if (urlRecord.hash || urlRecord.href.endsWith("#")) {
12291 this[kWebSocketURL] = new URL(urlRecord.href);
12293 urlRecord,