Home
last modified time | relevance | path

Searched refs:urlRecord (Results 1 - 3 of 3) sorted by relevance

/third_party/node/test/fixtures/wpt/url/
H A Durl-setters-stripping.any.js12 function urlRecord(scheme) { function
31 const url = urlRecord(scheme);
39 const url = urlRecord(scheme);
55 const url = urlRecord(scheme);
70 const url = urlRecord(scheme);
78 const url = urlRecord(scheme);
87 const url = urlRecord(scheme);
95 const url = urlRecord(scheme);
103 const url = urlRecord(scheme);
117 const url = urlRecord(schem
[all...]
/third_party/node/deps/undici/src/lib/websocket/
H A Dwebsocket.js64 // 1. Let urlRecord be the result of applying the URL parser to url with baseURL.
65 let urlRecord
68 urlRecord = new URL(url, baseURL)
70 // 3. If urlRecord is failure, then throw a "SyntaxError" DOMException.
74 // 4. If urlRecord’s scheme is "http", then set urlRecord’s scheme to "ws".
75 if (urlRecord.protocol === 'http:') {
76 urlRecord.protocol = 'ws:'
77 } else if (urlRecord.protocol === 'https:') {
78 // 5. Otherwise, if urlRecord
[all...]
/third_party/node/deps/undici/
H A Dundici.js12262 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
[all...]

Completed in 12 milliseconds