File tree 1 file changed +50
-1
lines changed
1 file changed +50
-1
lines changed Original file line number Diff line number Diff line change 111
111
"protocol" : " http:"
112
112
}
113
113
},
114
+ {
115
+ "href" : " gopher://example.net:1234" ,
116
+ "new_value" : " file" ,
117
+ "expected" : {
118
+ "href" : " gopher://example.net:1234/" ,
119
+ "protocol" : " gopher:"
120
+ }
121
+ },
122
+ {
123
+ "href" :
" wss://x:[email protected] :1234" ,
124
+ "new_value" : " file" ,
125
+ "expected" : {
126
+ "href" :
" wss://x:[email protected] :1234/" ,
127
+ "protocol" : " wss:"
128
+ }
129
+ },
130
+ {
131
+ "comment" : " Can’t switch from file URL with no host" ,
132
+ "href" : " file://localhost/" ,
133
+ "new_value" : " http" ,
134
+ "expected" : {
135
+ "href" : " file:///" ,
136
+ "protocol" : " file:"
137
+ }
138
+ },
139
+ {
140
+ "href" : " file:///test" ,
141
+ "new_value" : " gopher" ,
142
+ "expected" : {
143
+ "href" : " file:///test" ,
144
+ "protocol" : " file:"
145
+ }
146
+ },
147
+ {
148
+ "href" : " file:" ,
149
+ "new_value" : " wss" ,
150
+ "expected" : {
151
+ "href" : " file:///" ,
152
+ "protocol" : " file:"
153
+ }
154
+ },
155
+ {
156
+ "href" : " file://hi/path" ,
157
+ "new_value" : " s" ,
158
+ "expected" : {
159
+ "href" : " file://hi/path" ,
160
+ "protocol" : " file:"
161
+ }
162
+ },
114
163
{
115
164
"href" : " https://example.net" ,
116
165
"new_value" : " s" ,
1177
1226
}
1178
1227
}
1179
1228
]
1180
- }
1229
+ }
You can’t perform that action at this time.
0 commit comments