|
9992 | 9992 | "pathname": "/", |
9993 | 9993 | "search": "", |
9994 | 9994 | "hash": "" |
| 9995 | + }, |
| 9996 | + "# Non-special URL and backslashes", |
| 9997 | + { |
| 9998 | + "input": "non-special:\\\\opaque", |
| 9999 | + "base": null, |
| 10000 | + "href": "non-special:\\\\opaque", |
| 10001 | + "origin": "null", |
| 10002 | + "protocol": "non-special:", |
| 10003 | + "username": "", |
| 10004 | + "password": "", |
| 10005 | + "host": "", |
| 10006 | + "hostname": "", |
| 10007 | + "port": "", |
| 10008 | + "pathname": "\\\\opaque", |
| 10009 | + "search": "", |
| 10010 | + "hash": "" |
| 10011 | + }, |
| 10012 | + { |
| 10013 | + "input": "non-special:\\\\opaque/path", |
| 10014 | + "base": null, |
| 10015 | + "href": "non-special:\\\\opaque/path", |
| 10016 | + "origin": "null", |
| 10017 | + "protocol": "non-special:", |
| 10018 | + "username": "", |
| 10019 | + "password": "", |
| 10020 | + "host": "", |
| 10021 | + "hostname": "", |
| 10022 | + "port": "", |
| 10023 | + "pathname": "\\\\opaque/path", |
| 10024 | + "search": "", |
| 10025 | + "hash": "" |
| 10026 | + }, |
| 10027 | + { |
| 10028 | + "input": "non-special:\\\\opaque\\path", |
| 10029 | + "base": null, |
| 10030 | + "href": "non-special:\\\\opaque\\path", |
| 10031 | + "origin": "null", |
| 10032 | + "protocol": "non-special:", |
| 10033 | + "username": "", |
| 10034 | + "password": "", |
| 10035 | + "host": "", |
| 10036 | + "hostname": "", |
| 10037 | + "port": "", |
| 10038 | + "pathname": "\\\\opaque\\path", |
| 10039 | + "search": "", |
| 10040 | + "hash": "" |
| 10041 | + }, |
| 10042 | + { |
| 10043 | + "input": "non-special:\\/opaque", |
| 10044 | + "base": null, |
| 10045 | + "href": "non-special:\\/opaque", |
| 10046 | + "origin": "null", |
| 10047 | + "protocol": "non-special:", |
| 10048 | + "username": "", |
| 10049 | + "password": "", |
| 10050 | + "host": "", |
| 10051 | + "hostname": "", |
| 10052 | + "port": "", |
| 10053 | + "pathname": "\\/opaque", |
| 10054 | + "search": "", |
| 10055 | + "hash": "" |
| 10056 | + }, |
| 10057 | + { |
| 10058 | + "input": "non-special:/\\path", |
| 10059 | + "base": null, |
| 10060 | + "href": "non-special:/\\path", |
| 10061 | + "origin": "null", |
| 10062 | + "protocol": "non-special:", |
| 10063 | + "username": "", |
| 10064 | + "password": "", |
| 10065 | + "host": "", |
| 10066 | + "hostname": "", |
| 10067 | + "port": "", |
| 10068 | + "pathname": "/\\path", |
| 10069 | + "search": "", |
| 10070 | + "hash": "" |
| 10071 | + }, |
| 10072 | + { |
| 10073 | + "input": "non-special://host\\a", |
| 10074 | + "base": null, |
| 10075 | + "failure": true |
| 10076 | + }, |
| 10077 | + { |
| 10078 | + "input": "non-special://host/a\\b", |
| 10079 | + "base": null, |
| 10080 | + "href": "non-special://host/a\\b", |
| 10081 | + "origin": "null", |
| 10082 | + "protocol": "non-special:", |
| 10083 | + "username": "", |
| 10084 | + "password": "", |
| 10085 | + "host": "host", |
| 10086 | + "hostname": "host", |
| 10087 | + "port": "", |
| 10088 | + "pathname": "/a\\b", |
| 10089 | + "search": "", |
| 10090 | + "hash": "" |
9995 | 10091 | } |
9996 | 10092 | ] |
0 commit comments