(url2)
| 51001 | byteLength += chunk.length; |
| 51002 | } |
| 51003 | } |
| 51004 | function urlIsLocal(url2) { |
| 51005 | assert2("protocol" in url2); |
| 51006 | const protocol = url2.protocol; |
| 51007 | return protocol === "about:" || protocol === "blob:" || protocol === "data:"; |
| 51008 | } |
| 51009 | function urlHasHttpsScheme(url2) { |
| 51010 | if (typeof url2 === "string") { |
| 51011 | return url2.startsWith("https:"); |
no test coverage detected
searching dependent graphs…