(url2)
| 51007 | return protocol === "about:" || protocol === "blob:" || protocol === "data:"; |
| 51008 | } |
| 51009 | function urlHasHttpsScheme(url2) { |
| 51010 | if (typeof url2 === "string") { |
| 51011 | return url2.startsWith("https:"); |
| 51012 | } |
| 51013 | return url2.protocol === "https:"; |
| 51014 | } |
| 51015 | function urlIsHttpHttpsScheme(url2) { |
| 51016 | assert2("protocol" in url2); |
no outgoing calls
no test coverage detected
searching dependent graphs…