Debian Codegraph @

test/__snapshots__/url-toolkit.js.snap

raw
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "../../../z.ts" {} 1`] = `
4 Object {
5 "fragment": "",
6 "netLoc": "//a.com",
7 "params": "",
8 "path": "/b/cd/e.m3u8",
9 "query": "",
10 "scheme": "",
11 }
12 `;
13
14 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "../../../z.ts" {} 2`] = `
15 Object {
16 "fragment": "",
17 "netLoc": "",
18 "params": "",
19 "path": "../../../z.ts",
20 "query": "",
21 "scheme": "",
22 }
23 `;
24
25 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "../../z.ts" {} 1`] = `
26 Object {
27 "fragment": "",
28 "netLoc": "//a.com",
29 "params": "",
30 "path": "/b/cd/e.m3u8",
31 "query": "",
32 "scheme": "",
33 }
34 `;
35
36 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "../../z.ts" {} 2`] = `
37 Object {
38 "fragment": "",
39 "netLoc": "",
40 "params": "",
41 "path": "../../z.ts",
42 "query": "",
43 "scheme": "",
44 }
45 `;
46
47 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "//example.com/z.ts" {} 1`] = `
48 Object {
49 "fragment": "",
50 "netLoc": "//a.com",
51 "params": "",
52 "path": "/b/cd/e.m3u8",
53 "query": "",
54 "scheme": "",
55 }
56 `;
57
58 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "//example.com/z.ts" {} 2`] = `
59 Object {
60 "fragment": "",
61 "netLoc": "//example.com",
62 "params": "",
63 "path": "/z.ts",
64 "query": "",
65 "scheme": "",
66 }
67 `;
68
69 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "/example.com/z.ts" {} 1`] = `
70 Object {
71 "fragment": "",
72 "netLoc": "//a.com",
73 "params": "",
74 "path": "/b/cd/e.m3u8",
75 "query": "",
76 "scheme": "",
77 }
78 `;
79
80 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "/example.com/z.ts" {} 2`] = `
81 Object {
82 "fragment": "",
83 "netLoc": "",
84 "params": "",
85 "path": "/example.com/z.ts",
86 "query": "",
87 "scheme": "",
88 }
89 `;
90
91 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "g:h" {} 1`] = `
92 Object {
93 "fragment": "",
94 "netLoc": "//a.com",
95 "params": "",
96 "path": "/b/cd/e.m3u8",
97 "query": "",
98 "scheme": "",
99 }
100 `;
101
102 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "g:h" {} 2`] = `
103 Object {
104 "fragment": "",
105 "netLoc": "",
106 "params": "",
107 "path": "h",
108 "query": "",
109 "scheme": "g:",
110 }
111 `;
112
113 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "https://example.com/z.ts" {} 1`] = `
114 Object {
115 "fragment": "",
116 "netLoc": "//a.com",
117 "params": "",
118 "path": "/b/cd/e.m3u8",
119 "query": "",
120 "scheme": "",
121 }
122 `;
123
124 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "https://example.com/z.ts" {} 2`] = `
125 Object {
126 "fragment": "",
127 "netLoc": "//example.com",
128 "params": "",
129 "path": "/z.ts",
130 "query": "",
131 "scheme": "https:",
132 }
133 `;
134
135 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "https://example.com:8080/z.ts" {} 1`] = `
136 Object {
137 "fragment": "",
138 "netLoc": "//a.com",
139 "params": "",
140 "path": "/b/cd/e.m3u8",
141 "query": "",
142 "scheme": "",
143 }
144 `;
145
146 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "https://example.com:8080/z.ts" {} 2`] = `
147 Object {
148 "fragment": "",
149 "netLoc": "//example.com:8080",
150 "params": "",
151 "path": "/z.ts",
152 "query": "",
153 "scheme": "https:",
154 }
155 `;
156
157 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "z.ts" {} 1`] = `
158 Object {
159 "fragment": "",
160 "netLoc": "//a.com",
161 "params": "",
162 "path": "/b/cd/e.m3u8",
163 "query": "",
164 "scheme": "",
165 }
166 `;
167
168 exports[`url toolkit works with a selection of valid urls "//a.com/b/cd/e.m3u8" + "z.ts" {} 2`] = `
169 Object {
170 "fragment": "",
171 "netLoc": "",
172 "params": "",
173 "path": "z.ts",
174 "query": "",
175 "scheme": "",
176 }
177 `;
178
179 exports[`url toolkit works with a selection of valid urls "/a/b/cd/e.m3u8" + "../../../z.ts" {} 1`] = `
180 Object {
181 "fragment": "",
182 "netLoc": "",
183 "params": "",
184 "path": "/a/b/cd/e.m3u8",
185 "query": "",
186 "scheme": "",
187 }
188 `;
189
190 exports[`url toolkit works with a selection of valid urls "/a/b/cd/e.m3u8" + "../../../z.ts" {} 2`] = `
191 Object {
192 "fragment": "",
193 "netLoc": "",
194 "params": "",
195 "path": "../../../z.ts",
196 "query": "",
197 "scheme": "",
198 }
199 `;
200
201 exports[`url toolkit works with a selection of valid urls "/a/b/cd/e.m3u8" + "//example.com/z.ts" {} 1`] = `
202 Object {
203 "fragment": "",
204 "netLoc": "",
205 "params": "",
206 "path": "/a/b/cd/e.m3u8",
207 "query": "",
208 "scheme": "",
209 }
210 `;
211
212 exports[`url toolkit works with a selection of valid urls "/a/b/cd/e.m3u8" + "//example.com/z.ts" {} 2`] = `
213 Object {
214 "fragment": "",
215 "netLoc": "//example.com",
216 "params": "",
217 "path": "/z.ts",
218 "query": "",
219 "scheme": "",
220 }
221 `;
222
223 exports[`url toolkit works with a selection of valid urls "/a/b/cd/e.m3u8" + "/example.com/z.ts" {} 1`] = `
224 Object {
225 "fragment": "",
226 "netLoc": "",
227 "params": "",
228 "path": "/a/b/cd/e.m3u8",
229 "query": "",
230 "scheme": "",
231 }
232 `;
233
234 exports[`url toolkit works with a selection of valid urls "/a/b/cd/e.m3u8" + "/example.com/z.ts" {} 2`] = `
235 Object {
236 "fragment": "",
237 "netLoc": "",
238 "params": "",
239 "path": "/example.com/z.ts",
240 "query": "",
241 "scheme": "",
242 }
243 `;
244
245 exports[`url toolkit works with a selection of valid urls "/a/b/cd/e.m3u8" + "g:h" {} 1`] = `
246 Object {
247 "fragment": "",
248 "netLoc": "",
249 "params": "",
250 "path": "/a/b/cd/e.m3u8",
251 "query": "",
252 "scheme": "",
253 }
254 `;
255
256 exports[`url toolkit works with a selection of valid urls "/a/b/cd/e.m3u8" + "g:h" {} 2`] = `
257 Object {
258 "fragment": "",
259 "netLoc": "",
260 "params": "",
261 "path": "h",
262 "query": "",
263 "scheme": "g:",
264 }
265 `;
266
267 exports[`url toolkit works with a selection of valid urls "/a/b/cd/e.m3u8" + "https://example.com/z.ts" {} 1`] = `
268 Object {
269 "fragment": "",
270 "netLoc": "",
271 "params": "",
272 "path": "/a/b/cd/e.m3u8",
273 "query": "",
274 "scheme": "",
275 }
276 `;
277
278 exports[`url toolkit works with a selection of valid urls "/a/b/cd/e.m3u8" + "https://example.com/z.ts" {} 2`] = `
279 Object {
280 "fragment": "",
281 "netLoc": "//example.com",
282 "params": "",
283 "path": "/z.ts",
284 "query": "",
285 "scheme": "https:",
286 }
287 `;
288
289 exports[`url toolkit works with a selection of valid urls "/a/b/cd/e.m3u8" + "https://example.com:8080/z.ts" {} 1`] = `
290 Object {
291 "fragment": "",
292 "netLoc": "",
293 "params": "",
294 "path": "/a/b/cd/e.m3u8",
295 "query": "",
296 "scheme": "",
297 }
298 `;
299
300 exports[`url toolkit works with a selection of valid urls "/a/b/cd/e.m3u8" + "https://example.com:8080/z.ts" {} 2`] = `
301 Object {
302 "fragment": "",
303 "netLoc": "//example.com:8080",
304 "params": "",
305 "path": "/z.ts",
306 "query": "",
307 "scheme": "https:",
308 }
309 `;
310
311 exports[`url toolkit works with a selection of valid urls "/a/b/cd/e.m3u8" + "z.ts" {} 1`] = `
312 Object {
313 "fragment": "",
314 "netLoc": "",
315 "params": "",
316 "path": "/a/b/cd/e.m3u8",
317 "query": "",
318 "scheme": "",
319 }
320 `;
321
322 exports[`url toolkit works with a selection of valid urls "/a/b/cd/e.m3u8" + "z.ts" {} 2`] = `
323 Object {
324 "fragment": "",
325 "netLoc": "",
326 "params": "",
327 "path": "z.ts",
328 "query": "",
329 "scheme": "",
330 }
331 `;
332
333 exports[`url toolkit works with a selection of valid urls "a.com" + "z.ts" {} 1`] = `
334 Object {
335 "fragment": "",
336 "netLoc": "",
337 "params": "",
338 "path": "a.com",
339 "query": "",
340 "scheme": "",
341 }
342 `;
343
344 exports[`url toolkit works with a selection of valid urls "a.com" + "z.ts" {} 2`] = `
345 Object {
346 "fragment": "",
347 "netLoc": "",
348 "params": "",
349 "path": "z.ts",
350 "query": "",
351 "scheme": "",
352 }
353 `;
354
355 exports[`url toolkit works with a selection of valid urls "a.com/" + "z.ts" {} 1`] = `
356 Object {
357 "fragment": "",
358 "netLoc": "",
359 "params": "",
360 "path": "a.com/",
361 "query": "",
362 "scheme": "",
363 }
364 `;
365
366 exports[`url toolkit works with a selection of valid urls "a.com/" + "z.ts" {} 2`] = `
367 Object {
368 "fragment": "",
369 "netLoc": "",
370 "params": "",
371 "path": "z.ts",
372 "query": "",
373 "scheme": "",
374 }
375 `;
376
377 exports[`url toolkit works with a selection of valid urls "a.com/b/cd" + "../z.ts" {} 1`] = `
378 Object {
379 "fragment": "",
380 "netLoc": "",
381 "params": "",
382 "path": "a.com/b/cd",
383 "query": "",
384 "scheme": "",
385 }
386 `;
387
388 exports[`url toolkit works with a selection of valid urls "a.com/b/cd" + "../z.ts" {} 2`] = `
389 Object {
390 "fragment": "",
391 "netLoc": "",
392 "params": "",
393 "path": "../z.ts",
394 "query": "",
395 "scheme": "",
396 }
397 `;
398
399 exports[`url toolkit works with a selection of valid urls "a.com/b/cd" + "/b/z.ts" {} 1`] = `
400 Object {
401 "fragment": "",
402 "netLoc": "",
403 "params": "",
404 "path": "a.com/b/cd",
405 "query": "",
406 "scheme": "",
407 }
408 `;
409
410 exports[`url toolkit works with a selection of valid urls "a.com/b/cd" + "/b/z.ts" {} 2`] = `
411 Object {
412 "fragment": "",
413 "netLoc": "",
414 "params": "",
415 "path": "/b/z.ts",
416 "query": "",
417 "scheme": "",
418 }
419 `;
420
421 exports[`url toolkit works with a selection of valid urls "a.com/b/cd" + "/z.ts" {} 1`] = `
422 Object {
423 "fragment": "",
424 "netLoc": "",
425 "params": "",
426 "path": "a.com/b/cd",
427 "query": "",
428 "scheme": "",
429 }
430 `;
431
432 exports[`url toolkit works with a selection of valid urls "a.com/b/cd" + "/z.ts" {} 2`] = `
433 Object {
434 "fragment": "",
435 "netLoc": "",
436 "params": "",
437 "path": "/z.ts",
438 "query": "",
439 "scheme": "",
440 }
441 `;
442
443 exports[`url toolkit works with a selection of valid urls "a.com/b/cd" + "z.ts" {} 1`] = `
444 Object {
445 "fragment": "",
446 "netLoc": "",
447 "params": "",
448 "path": "a.com/b/cd",
449 "query": "",
450 "scheme": "",
451 }
452 `;
453
454 exports[`url toolkit works with a selection of valid urls "a.com/b/cd" + "z.ts" {} 2`] = `
455 Object {
456 "fragment": "",
457 "netLoc": "",
458 "params": "",
459 "path": "z.ts",
460 "query": "",
461 "scheme": "",
462 }
463 `;
464
465 exports[`url toolkit works with a selection of valid urls "http:///example.com/a/" + "../../b" {} 1`] = `
466 Object {
467 "fragment": "",
468 "netLoc": "//",
469 "params": "",
470 "path": "/example.com/a/",
471 "query": "",
472 "scheme": "http:",
473 }
474 `;
475
476 exports[`url toolkit works with a selection of valid urls "http:///example.com/a/" + "../../b" {} 2`] = `
477 Object {
478 "fragment": "",
479 "netLoc": "",
480 "params": "",
481 "path": "../../b",
482 "query": "",
483 "scheme": "",
484 }
485 `;
486
487 exports[`url toolkit works with a selection of valid urls "http://[0:0:0:0::0]/a/b.c" + "d" {} 1`] = `
488 Object {
489 "fragment": "",
490 "netLoc": "//[0:0:0:0::0]",
491 "params": "",
492 "path": "/a/b.c",
493 "query": "",
494 "scheme": "http:",
495 }
496 `;
497
498 exports[`url toolkit works with a selection of valid urls "http://[0:0:0:0::0]/a/b.c" + "d" {} 2`] = `
499 Object {
500 "fragment": "",
501 "netLoc": "",
502 "params": "",
503 "path": "d",
504 "query": "",
505 "scheme": "",
506 }
507 `;
508
509 exports[`url toolkit works with a selection of valid urls "http://0.0.0.0/a/b.c" + "d" {} 1`] = `
510 Object {
511 "fragment": "",
512 "netLoc": "//0.0.0.0",
513 "params": "",
514 "path": "/a/b.c",
515 "query": "",
516 "scheme": "http:",
517 }
518 `;
519
520 exports[`url toolkit works with a selection of valid urls "http://0.0.0.0/a/b.c" + "d" {} 2`] = `
521 Object {
522 "fragment": "",
523 "netLoc": "",
524 "params": "",
525 "path": "d",
526 "query": "",
527 "scheme": "",
528 }
529 `;
530
531 exports[`url toolkit works with a selection of valid urls "http://a.b.com/b/cd?test=1#something" + "g;x" {} 1`] = `
532 Object {
533 "fragment": "#something",
534 "netLoc": "//a.b.com",
535 "params": "",
536 "path": "/b/cd",
537 "query": "?test=1",
538 "scheme": "http:",
539 }
540 `;
541
542 exports[`url toolkit works with a selection of valid urls "http://a.b.com/b/cd?test=1#something" + "g;x" {} 2`] = `
543 Object {
544 "fragment": "",
545 "netLoc": "",
546 "params": ";x",
547 "path": "g",
548 "query": "",
549 "scheme": "",
550 }
551 `;
552
553 exports[`url toolkit works with a selection of valid urls "http://a.com" + "z.ts" {} 1`] = `
554 Object {
555 "fragment": "",
556 "netLoc": "//a.com",
557 "params": "",
558 "path": "",
559 "query": "",
560 "scheme": "http:",
561 }
562 `;
563
564 exports[`url toolkit works with a selection of valid urls "http://a.com" + "z.ts" {} 2`] = `
565 Object {
566 "fragment": "",
567 "netLoc": "",
568 "params": "",
569 "path": "z.ts",
570 "query": "",
571 "scheme": "",
572 }
573 `;
574
575 exports[`url toolkit works with a selection of valid urls "http://a.com/" + "z.ts" {} 1`] = `
576 Object {
577 "fragment": "",
578 "netLoc": "//a.com",
579 "params": "",
580 "path": "/",
581 "query": "",
582 "scheme": "http:",
583 }
584 `;
585
586 exports[`url toolkit works with a selection of valid urls "http://a.com/" + "z.ts" {} 2`] = `
587 Object {
588 "fragment": "",
589 "netLoc": "",
590 "params": "",
591 "path": "z.ts",
592 "query": "",
593 "scheme": "",
594 }
595 `;
596
597 exports[`url toolkit works with a selection of valid urls "http://a.com/?test=1" + "z.ts" {} 1`] = `
598 Object {
599 "fragment": "",
600 "netLoc": "//a.com",
601 "params": "",
602 "path": "/",
603 "query": "?test=1",
604 "scheme": "http:",
605 }
606 `;
607
608 exports[`url toolkit works with a selection of valid urls "http://a.com/?test=1" + "z.ts" {} 2`] = `
609 Object {
610 "fragment": "",
611 "netLoc": "",
612 "params": "",
613 "path": "z.ts",
614 "query": "",
615 "scheme": "",
616 }
617 `;
618
619 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd" + "z.ts" {} 1`] = `
620 Object {
621 "fragment": "",
622 "netLoc": "//a.com",
623 "params": "",
624 "path": "/b/cd",
625 "query": "",
626 "scheme": "http:",
627 }
628 `;
629
630 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd" + "z.ts" {} 2`] = `
631 Object {
632 "fragment": "",
633 "netLoc": "",
634 "params": "",
635 "path": "z.ts",
636 "query": "",
637 "scheme": "",
638 }
639 `;
640
641 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd#something" + "z.ts" {} 1`] = `
642 Object {
643 "fragment": "#something",
644 "netLoc": "//a.com",
645 "params": "",
646 "path": "/b/cd",
647 "query": "",
648 "scheme": "http:",
649 }
650 `;
651
652 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd#something" + "z.ts" {} 2`] = `
653 Object {
654 "fragment": "",
655 "netLoc": "",
656 "params": "",
657 "path": "z.ts",
658 "query": "",
659 "scheme": "",
660 }
661 `;
662
663 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/" + "z.ts" {} 1`] = `
664 Object {
665 "fragment": "",
666 "netLoc": "//a.com",
667 "params": "",
668 "path": "/b/cd/",
669 "query": "",
670 "scheme": "http:",
671 }
672 `;
673
674 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/" + "z.ts" {} 2`] = `
675 Object {
676 "fragment": "",
677 "netLoc": "",
678 "params": "",
679 "path": "z.ts",
680 "query": "",
681 "scheme": "",
682 }
683 `;
684
685 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/./e.m3u8?test=1#something" + "" {"alwaysNormalize":true} 1`] = `
686 Object {
687 "fragment": "#something",
688 "netLoc": "//a.com",
689 "params": "",
690 "path": "/b/cd/./e.m3u8",
691 "query": "?test=1",
692 "scheme": "http:",
693 }
694 `;
695
696 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/./e.m3u8?test=1#something" + "" {"alwaysNormalize":true} 2`] = `
697 Object {
698 "fragment": "",
699 "netLoc": "",
700 "params": "",
701 "path": "",
702 "query": "",
703 "scheme": "",
704 }
705 `;
706
707 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/./e.m3u8?test=1#something" + "" {} 1`] = `
708 Object {
709 "fragment": "#something",
710 "netLoc": "//a.com",
711 "params": "",
712 "path": "/b/cd/./e.m3u8",
713 "query": "?test=1",
714 "scheme": "http:",
715 }
716 `;
717
718 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/./e.m3u8?test=1#something" + "" {} 2`] = `
719 Object {
720 "fragment": "",
721 "netLoc": "",
722 "params": "",
723 "path": "",
724 "query": "",
725 "scheme": "",
726 }
727 `;
728
729 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8" + "g:h" {} 1`] = `
730 Object {
731 "fragment": "",
732 "netLoc": "//a.com",
733 "params": "",
734 "path": "/b/cd/e.m3u8",
735 "query": "",
736 "scheme": "http:",
737 }
738 `;
739
740 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8" + "g:h" {} 2`] = `
741 Object {
742 "fragment": "",
743 "netLoc": "",
744 "params": "",
745 "path": "h",
746 "query": "",
747 "scheme": "g:",
748 }
749 `;
750
751 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8" + "https://example.com/z.ts" {} 1`] = `
752 Object {
753 "fragment": "",
754 "netLoc": "//a.com",
755 "params": "",
756 "path": "/b/cd/e.m3u8",
757 "query": "",
758 "scheme": "http:",
759 }
760 `;
761
762 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8" + "https://example.com/z.ts" {} 2`] = `
763 Object {
764 "fragment": "",
765 "netLoc": "//example.com",
766 "params": "",
767 "path": "/z.ts",
768 "query": "",
769 "scheme": "https:",
770 }
771 `;
772
773 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8" + "https://example.com:8080/z.ts" {} 1`] = `
774 Object {
775 "fragment": "",
776 "netLoc": "//a.com",
777 "params": "",
778 "path": "/b/cd/e.m3u8",
779 "query": "",
780 "scheme": "http:",
781 }
782 `;
783
784 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8" + "https://example.com:8080/z.ts" {} 2`] = `
785 Object {
786 "fragment": "",
787 "netLoc": "//example.com:8080",
788 "params": "",
789 "path": "/z.ts",
790 "query": "",
791 "scheme": "https:",
792 }
793 `;
794
795 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8" + "z.ts" {} 1`] = `
796 Object {
797 "fragment": "",
798 "netLoc": "//a.com",
799 "params": "",
800 "path": "/b/cd/e.m3u8",
801 "query": "",
802 "scheme": "http:",
803 }
804 `;
805
806 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8" + "z.ts" {} 2`] = `
807 Object {
808 "fragment": "",
809 "netLoc": "",
810 "params": "",
811 "path": "z.ts",
812 "query": "",
813 "scheme": "",
814 }
815 `;
816
817 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8?test=1#something" + "" {} 1`] = `
818 Object {
819 "fragment": "#something",
820 "netLoc": "//a.com",
821 "params": "",
822 "path": "/b/cd/e.m3u8",
823 "query": "?test=1",
824 "scheme": "http:",
825 }
826 `;
827
828 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8?test=1#something" + "" {} 2`] = `
829 Object {
830 "fragment": "",
831 "netLoc": "",
832 "params": "",
833 "path": "",
834 "query": "",
835 "scheme": "",
836 }
837 `;
838
839 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8?test=1#something" + "./a:b" {} 1`] = `
840 Object {
841 "fragment": "#something",
842 "netLoc": "//a.com",
843 "params": "",
844 "path": "/b/cd/e.m3u8",
845 "query": "?test=1",
846 "scheme": "http:",
847 }
848 `;
849
850 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8?test=1#something" + "./a:b" {} 2`] = `
851 Object {
852 "fragment": "",
853 "netLoc": "",
854 "params": "",
855 "path": "./a:b",
856 "query": "",
857 "scheme": "",
858 }
859 `;
860
861 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8?test=1#something" + "//example.com/z.ts?abc=1#test" {} 1`] = `
862 Object {
863 "fragment": "#something",
864 "netLoc": "//a.com",
865 "params": "",
866 "path": "/b/cd/e.m3u8",
867 "query": "?test=1",
868 "scheme": "http:",
869 }
870 `;
871
872 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8?test=1#something" + "//example.com/z.ts?abc=1#test" {} 2`] = `
873 Object {
874 "fragment": "#test",
875 "netLoc": "//example.com",
876 "params": "",
877 "path": "/z.ts",
878 "query": "?abc=1",
879 "scheme": "",
880 }
881 `;
882
883 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8?test=1#something" + "/subdir/z.ts?abc=1#test" {} 1`] = `
884 Object {
885 "fragment": "#something",
886 "netLoc": "//a.com",
887 "params": "",
888 "path": "/b/cd/e.m3u8",
889 "query": "?test=1",
890 "scheme": "http:",
891 }
892 `;
893
894 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8?test=1#something" + "/subdir/z.ts?abc=1#test" {} 2`] = `
895 Object {
896 "fragment": "#test",
897 "netLoc": "",
898 "params": "",
899 "path": "/subdir/z.ts",
900 "query": "?abc=1",
901 "scheme": "",
902 }
903 `;
904
905 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8?test=1#something" + "a:b" {} 1`] = `
906 Object {
907 "fragment": "#something",
908 "netLoc": "//a.com",
909 "params": "",
910 "path": "/b/cd/e.m3u8",
911 "query": "?test=1",
912 "scheme": "http:",
913 }
914 `;
915
916 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8?test=1#something" + "a:b" {} 2`] = `
917 Object {
918 "fragment": "",
919 "netLoc": "",
920 "params": "",
921 "path": "b",
922 "query": "",
923 "scheme": "a:",
924 }
925 `;
926
927 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8?test=1#something" + "a_:b" {} 1`] = `
928 Object {
929 "fragment": "#something",
930 "netLoc": "//a.com",
931 "params": "",
932 "path": "/b/cd/e.m3u8",
933 "query": "?test=1",
934 "scheme": "http:",
935 }
936 `;
937
938 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8?test=1#something" + "a_:b" {} 2`] = `
939 Object {
940 "fragment": "",
941 "netLoc": "",
942 "params": "",
943 "path": "a_:b",
944 "query": "",
945 "scheme": "",
946 }
947 `;
948
949 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8?test=1#something" + "subdir/z.ts?abc=1#test" {} 1`] = `
950 Object {
951 "fragment": "#something",
952 "netLoc": "//a.com",
953 "params": "",
954 "path": "/b/cd/e.m3u8",
955 "query": "?test=1",
956 "scheme": "http:",
957 }
958 `;
959
960 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd/e.m3u8?test=1#something" + "subdir/z.ts?abc=1#test" {} 2`] = `
961 Object {
962 "fragment": "#test",
963 "netLoc": "",
964 "params": "",
965 "path": "subdir/z.ts",
966 "query": "?abc=1",
967 "scheme": "",
968 }
969 `;
970
971 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1" + "z.ts" {} 1`] = `
972 Object {
973 "fragment": "",
974 "netLoc": "//a.com",
975 "params": "",
976 "path": "/b/cd",
977 "query": "?test=1",
978 "scheme": "http:",
979 }
980 `;
981
982 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1" + "z.ts" {} 2`] = `
983 Object {
984 "fragment": "",
985 "netLoc": "",
986 "params": "",
987 "path": "z.ts",
988 "query": "",
989 "scheme": "",
990 }
991 `;
992
993 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1#something" + "./;x" {} 1`] = `
994 Object {
995 "fragment": "#something",
996 "netLoc": "//a.com",
997 "params": "",
998 "path": "/b/cd",
999 "query": "?test=1",
1000 "scheme": "http:",
1001 }
1002 `;
1003
1004 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1#something" + "./;x" {} 2`] = `
1005 Object {
1006 "fragment": "",
1007 "netLoc": "",
1008 "params": ";x",
1009 "path": "./",
1010 "query": "",
1011 "scheme": "",
1012 }
1013 `;
1014
1015 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1#something" + ";x" {} 1`] = `
1016 Object {
1017 "fragment": "#something",
1018 "netLoc": "//a.com",
1019 "params": "",
1020 "path": "/b/cd",
1021 "query": "?test=1",
1022 "scheme": "http:",
1023 }
1024 `;
1025
1026 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1#something" + ";x" {} 2`] = `
1027 Object {
1028 "fragment": "",
1029 "netLoc": "",
1030 "params": ";x",
1031 "path": "",
1032 "query": "",
1033 "scheme": "",
1034 }
1035 `;
1036
1037 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1#something" + "g;x" {} 1`] = `
1038 Object {
1039 "fragment": "#something",
1040 "netLoc": "//a.com",
1041 "params": "",
1042 "path": "/b/cd",
1043 "query": "?test=1",
1044 "scheme": "http:",
1045 }
1046 `;
1047
1048 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1#something" + "g;x" {} 2`] = `
1049 Object {
1050 "fragment": "",
1051 "netLoc": "",
1052 "params": ";x",
1053 "path": "g",
1054 "query": "",
1055 "scheme": "",
1056 }
1057 `;
1058
1059 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1#something" + "z.ts" {} 1`] = `
1060 Object {
1061 "fragment": "#something",
1062 "netLoc": "//a.com",
1063 "params": "",
1064 "path": "/b/cd",
1065 "query": "?test=1",
1066 "scheme": "http:",
1067 }
1068 `;
1069
1070 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1#something" + "z.ts" {} 2`] = `
1071 Object {
1072 "fragment": "",
1073 "netLoc": "",
1074 "params": "",
1075 "path": "z.ts",
1076 "query": "",
1077 "scheme": "",
1078 }
1079 `;
1080
1081 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1#something" + "z.ts#test" {} 1`] = `
1082 Object {
1083 "fragment": "#something",
1084 "netLoc": "//a.com",
1085 "params": "",
1086 "path": "/b/cd",
1087 "query": "?test=1",
1088 "scheme": "http:",
1089 }
1090 `;
1091
1092 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1#something" + "z.ts#test" {} 2`] = `
1093 Object {
1094 "fragment": "#test",
1095 "netLoc": "",
1096 "params": "",
1097 "path": "z.ts",
1098 "query": "",
1099 "scheme": "",
1100 }
1101 `;
1102
1103 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1#something" + "z.ts?abc=1" {} 1`] = `
1104 Object {
1105 "fragment": "#something",
1106 "netLoc": "//a.com",
1107 "params": "",
1108 "path": "/b/cd",
1109 "query": "?test=1",
1110 "scheme": "http:",
1111 }
1112 `;
1113
1114 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1#something" + "z.ts?abc=1" {} 2`] = `
1115 Object {
1116 "fragment": "",
1117 "netLoc": "",
1118 "params": "",
1119 "path": "z.ts",
1120 "query": "?abc=1",
1121 "scheme": "",
1122 }
1123 `;
1124
1125 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1#something" + "z.ts?abc=1#test" {} 1`] = `
1126 Object {
1127 "fragment": "#something",
1128 "netLoc": "//a.com",
1129 "params": "",
1130 "path": "/b/cd",
1131 "query": "?test=1",
1132 "scheme": "http:",
1133 }
1134 `;
1135
1136 exports[`url toolkit works with a selection of valid urls "http://a.com/b/cd?test=1#something" + "z.ts?abc=1#test" {} 2`] = `
1137 Object {
1138 "fragment": "#test",
1139 "netLoc": "",
1140 "params": "",
1141 "path": "z.ts",
1142 "query": "?abc=1",
1143 "scheme": "",
1144 }
1145 `;
1146
1147 exports[`url toolkit works with a selection of valid urls "http://a.com/expiretime=111;dirmatch=true/master.m3u8" + "./a:b" {} 1`] = `
1148 Object {
1149 "fragment": "",
1150 "netLoc": "//a.com",
1151 "params": "",
1152 "path": "/expiretime=111;dirmatch=true/master.m3u8",
1153 "query": "",
1154 "scheme": "http:",
1155 }
1156 `;
1157
1158 exports[`url toolkit works with a selection of valid urls "http://a.com/expiretime=111;dirmatch=true/master.m3u8" + "./a:b" {} 2`] = `
1159 Object {
1160 "fragment": "",
1161 "netLoc": "",
1162 "params": "",
1163 "path": "./a:b",
1164 "query": "",
1165 "scheme": "",
1166 }
1167 `;
1168
1169 exports[`url toolkit works with a selection of valid urls "http://a.com:8080/b/cd/e.m3u8" + "z.ts" {} 1`] = `
1170 Object {
1171 "fragment": "",
1172 "netLoc": "//a.com:8080",
1173 "params": "",
1174 "path": "/b/cd/e.m3u8",
1175 "query": "",
1176 "scheme": "http:",
1177 }
1178 `;
1179
1180 exports[`url toolkit works with a selection of valid urls "http://a.com:8080/b/cd/e.m3u8" + "z.ts" {} 2`] = `
1181 Object {
1182 "fragment": "",
1183 "netLoc": "",
1184 "params": "",
1185 "path": "z.ts",
1186 "query": "",
1187 "scheme": "",
1188 }
1189 `;
1190
1191 exports[`url toolkit works with a selection of valid urls "http://a.com?test=1" + "z.ts" {} 1`] = `
1192 Object {
1193 "fragment": "",
1194 "netLoc": "//a.com",
1195 "params": "",
1196 "path": "",
1197 "query": "?test=1",
1198 "scheme": "http:",
1199 }
1200 `;
1201
1202 exports[`url toolkit works with a selection of valid urls "http://a.com?test=1" + "z.ts" {} 2`] = `
1203 Object {
1204 "fragment": "",
1205 "netLoc": "",
1206 "params": "",
1207 "path": "z.ts",
1208 "query": "",
1209 "scheme": "",
1210 }
1211 `;
1212
1213 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q" + "." {} 1`] = `
1214 Object {
1215 "fragment": "",
1216 "netLoc": "//a",
1217 "params": ";p",
1218 "path": "/b/c/d",
1219 "query": "?q",
1220 "scheme": "http:",
1221 }
1222 `;
1223
1224 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q" + "." {} 2`] = `
1225 Object {
1226 "fragment": "",
1227 "netLoc": "",
1228 "params": "",
1229 "path": ".",
1230 "query": "",
1231 "scheme": "",
1232 }
1233 `;
1234
1235 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q" + ".." {} 1`] = `
1236 Object {
1237 "fragment": "",
1238 "netLoc": "//a",
1239 "params": ";p",
1240 "path": "/b/c/d",
1241 "query": "?q",
1242 "scheme": "http:",
1243 }
1244 `;
1245
1246 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q" + ".." {} 2`] = `
1247 Object {
1248 "fragment": "",
1249 "netLoc": "",
1250 "params": "",
1251 "path": "..",
1252 "query": "",
1253 "scheme": "",
1254 }
1255 `;
1256
1257 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q" + "../" {} 1`] = `
1258 Object {
1259 "fragment": "",
1260 "netLoc": "//a",
1261 "params": ";p",
1262 "path": "/b/c/d",
1263 "query": "?q",
1264 "scheme": "http:",
1265 }
1266 `;
1267
1268 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q" + "../" {} 2`] = `
1269 Object {
1270 "fragment": "",
1271 "netLoc": "",
1272 "params": "",
1273 "path": "../",
1274 "query": "",
1275 "scheme": "",
1276 }
1277 `;
1278
1279 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q" + "./" {} 1`] = `
1280 Object {
1281 "fragment": "",
1282 "netLoc": "//a",
1283 "params": ";p",
1284 "path": "/b/c/d",
1285 "query": "?q",
1286 "scheme": "http:",
1287 }
1288 `;
1289
1290 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q" + "./" {} 2`] = `
1291 Object {
1292 "fragment": "",
1293 "netLoc": "",
1294 "params": "",
1295 "path": "./",
1296 "query": "",
1297 "scheme": "",
1298 }
1299 `;
1300
1301 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "" {} 1`] = `
1302 Object {
1303 "fragment": "#f",
1304 "netLoc": "//a",
1305 "params": ";p",
1306 "path": "/b/c/d",
1307 "query": "?q",
1308 "scheme": "http:",
1309 }
1310 `;
1311
1312 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "" {} 2`] = `
1313 Object {
1314 "fragment": "",
1315 "netLoc": "",
1316 "params": "",
1317 "path": "",
1318 "query": "",
1319 "scheme": "",
1320 }
1321 `;
1322
1323 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "#s" {} 1`] = `
1324 Object {
1325 "fragment": "#f",
1326 "netLoc": "//a",
1327 "params": ";p",
1328 "path": "/b/c/d",
1329 "query": "?q",
1330 "scheme": "http:",
1331 }
1332 `;
1333
1334 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "#s" {} 2`] = `
1335 Object {
1336 "fragment": "#s",
1337 "netLoc": "",
1338 "params": "",
1339 "path": "",
1340 "query": "",
1341 "scheme": "",
1342 }
1343 `;
1344
1345 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "." {} 1`] = `
1346 Object {
1347 "fragment": "#f",
1348 "netLoc": "//a",
1349 "params": ";p",
1350 "path": "/b/c/d",
1351 "query": "?q",
1352 "scheme": "http:",
1353 }
1354 `;
1355
1356 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "." {} 2`] = `
1357 Object {
1358 "fragment": "",
1359 "netLoc": "",
1360 "params": "",
1361 "path": ".",
1362 "query": "",
1363 "scheme": "",
1364 }
1365 `;
1366
1367 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + ".." {} 1`] = `
1368 Object {
1369 "fragment": "#f",
1370 "netLoc": "//a",
1371 "params": ";p",
1372 "path": "/b/c/d",
1373 "query": "?q",
1374 "scheme": "http:",
1375 }
1376 `;
1377
1378 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + ".." {} 2`] = `
1379 Object {
1380 "fragment": "",
1381 "netLoc": "",
1382 "params": "",
1383 "path": "..",
1384 "query": "",
1385 "scheme": "",
1386 }
1387 `;
1388
1389 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "../" {} 1`] = `
1390 Object {
1391 "fragment": "#f",
1392 "netLoc": "//a",
1393 "params": ";p",
1394 "path": "/b/c/d",
1395 "query": "?q",
1396 "scheme": "http:",
1397 }
1398 `;
1399
1400 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "../" {} 2`] = `
1401 Object {
1402 "fragment": "",
1403 "netLoc": "",
1404 "params": "",
1405 "path": "../",
1406 "query": "",
1407 "scheme": "",
1408 }
1409 `;
1410
1411 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "../.." {} 1`] = `
1412 Object {
1413 "fragment": "#f",
1414 "netLoc": "//a",
1415 "params": ";p",
1416 "path": "/b/c/d",
1417 "query": "?q",
1418 "scheme": "http:",
1419 }
1420 `;
1421
1422 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "../.." {} 2`] = `
1423 Object {
1424 "fragment": "",
1425 "netLoc": "",
1426 "params": "",
1427 "path": "../..",
1428 "query": "",
1429 "scheme": "",
1430 }
1431 `;
1432
1433 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "../../" {} 1`] = `
1434 Object {
1435 "fragment": "#f",
1436 "netLoc": "//a",
1437 "params": ";p",
1438 "path": "/b/c/d",
1439 "query": "?q",
1440 "scheme": "http:",
1441 }
1442 `;
1443
1444 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "../../" {} 2`] = `
1445 Object {
1446 "fragment": "",
1447 "netLoc": "",
1448 "params": "",
1449 "path": "../../",
1450 "query": "",
1451 "scheme": "",
1452 }
1453 `;
1454
1455 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "../../../../g" {} 1`] = `
1456 Object {
1457 "fragment": "#f",
1458 "netLoc": "//a",
1459 "params": ";p",
1460 "path": "/b/c/d",
1461 "query": "?q",
1462 "scheme": "http:",
1463 }
1464 `;
1465
1466 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "../../../../g" {} 2`] = `
1467 Object {
1468 "fragment": "",
1469 "netLoc": "",
1470 "params": "",
1471 "path": "../../../../g",
1472 "query": "",
1473 "scheme": "",
1474 }
1475 `;
1476
1477 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "../../../g" {} 1`] = `
1478 Object {
1479 "fragment": "#f",
1480 "netLoc": "//a",
1481 "params": ";p",
1482 "path": "/b/c/d",
1483 "query": "?q",
1484 "scheme": "http:",
1485 }
1486 `;
1487
1488 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "../../../g" {} 2`] = `
1489 Object {
1490 "fragment": "",
1491 "netLoc": "",
1492 "params": "",
1493 "path": "../../../g",
1494 "query": "",
1495 "scheme": "",
1496 }
1497 `;
1498
1499 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "../../g" {} 1`] = `
1500 Object {
1501 "fragment": "#f",
1502 "netLoc": "//a",
1503 "params": ";p",
1504 "path": "/b/c/d",
1505 "query": "?q",
1506 "scheme": "http:",
1507 }
1508 `;
1509
1510 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "../../g" {} 2`] = `
1511 Object {
1512 "fragment": "",
1513 "netLoc": "",
1514 "params": "",
1515 "path": "../../g",
1516 "query": "",
1517 "scheme": "",
1518 }
1519 `;
1520
1521 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "../g" {} 1`] = `
1522 Object {
1523 "fragment": "#f",
1524 "netLoc": "//a",
1525 "params": ";p",
1526 "path": "/b/c/d",
1527 "query": "?q",
1528 "scheme": "http:",
1529 }
1530 `;
1531
1532 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "../g" {} 2`] = `
1533 Object {
1534 "fragment": "",
1535 "netLoc": "",
1536 "params": "",
1537 "path": "../g",
1538 "query": "",
1539 "scheme": "",
1540 }
1541 `;
1542
1543 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "..g" {} 1`] = `
1544 Object {
1545 "fragment": "#f",
1546 "netLoc": "//a",
1547 "params": ";p",
1548 "path": "/b/c/d",
1549 "query": "?q",
1550 "scheme": "http:",
1551 }
1552 `;
1553
1554 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "..g" {} 2`] = `
1555 Object {
1556 "fragment": "",
1557 "netLoc": "",
1558 "params": "",
1559 "path": "..g",
1560 "query": "",
1561 "scheme": "",
1562 }
1563 `;
1564
1565 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "./" {} 1`] = `
1566 Object {
1567 "fragment": "#f",
1568 "netLoc": "//a",
1569 "params": ";p",
1570 "path": "/b/c/d",
1571 "query": "?q",
1572 "scheme": "http:",
1573 }
1574 `;
1575
1576 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "./" {} 2`] = `
1577 Object {
1578 "fragment": "",
1579 "netLoc": "",
1580 "params": "",
1581 "path": "./",
1582 "query": "",
1583 "scheme": "",
1584 }
1585 `;
1586
1587 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "./../g" {} 1`] = `
1588 Object {
1589 "fragment": "#f",
1590 "netLoc": "//a",
1591 "params": ";p",
1592 "path": "/b/c/d",
1593 "query": "?q",
1594 "scheme": "http:",
1595 }
1596 `;
1597
1598 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "./../g" {} 2`] = `
1599 Object {
1600 "fragment": "",
1601 "netLoc": "",
1602 "params": "",
1603 "path": "./../g",
1604 "query": "",
1605 "scheme": "",
1606 }
1607 `;
1608
1609 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "./g" {} 1`] = `
1610 Object {
1611 "fragment": "#f",
1612 "netLoc": "//a",
1613 "params": ";p",
1614 "path": "/b/c/d",
1615 "query": "?q",
1616 "scheme": "http:",
1617 }
1618 `;
1619
1620 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "./g" {} 2`] = `
1621 Object {
1622 "fragment": "",
1623 "netLoc": "",
1624 "params": "",
1625 "path": "./g",
1626 "query": "",
1627 "scheme": "",
1628 }
1629 `;
1630
1631 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "./g/." {} 1`] = `
1632 Object {
1633 "fragment": "#f",
1634 "netLoc": "//a",
1635 "params": ";p",
1636 "path": "/b/c/d",
1637 "query": "?q",
1638 "scheme": "http:",
1639 }
1640 `;
1641
1642 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "./g/." {} 2`] = `
1643 Object {
1644 "fragment": "",
1645 "netLoc": "",
1646 "params": "",
1647 "path": "./g/.",
1648 "query": "",
1649 "scheme": "",
1650 }
1651 `;
1652
1653 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + ".g" {} 1`] = `
1654 Object {
1655 "fragment": "#f",
1656 "netLoc": "//a",
1657 "params": ";p",
1658 "path": "/b/c/d",
1659 "query": "?q",
1660 "scheme": "http:",
1661 }
1662 `;
1663
1664 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + ".g" {} 2`] = `
1665 Object {
1666 "fragment": "",
1667 "netLoc": "",
1668 "params": "",
1669 "path": ".g",
1670 "query": "",
1671 "scheme": "",
1672 }
1673 `;
1674
1675 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "/../g" {} 1`] = `
1676 Object {
1677 "fragment": "#f",
1678 "netLoc": "//a",
1679 "params": ";p",
1680 "path": "/b/c/d",
1681 "query": "?q",
1682 "scheme": "http:",
1683 }
1684 `;
1685
1686 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "/../g" {} 2`] = `
1687 Object {
1688 "fragment": "",
1689 "netLoc": "",
1690 "params": "",
1691 "path": "/../g",
1692 "query": "",
1693 "scheme": "",
1694 }
1695 `;
1696
1697 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "/./g" {} 1`] = `
1698 Object {
1699 "fragment": "#f",
1700 "netLoc": "//a",
1701 "params": ";p",
1702 "path": "/b/c/d",
1703 "query": "?q",
1704 "scheme": "http:",
1705 }
1706 `;
1707
1708 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "/./g" {} 2`] = `
1709 Object {
1710 "fragment": "",
1711 "netLoc": "",
1712 "params": "",
1713 "path": "/./g",
1714 "query": "",
1715 "scheme": "",
1716 }
1717 `;
1718
1719 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "//g" {} 1`] = `
1720 Object {
1721 "fragment": "#f",
1722 "netLoc": "//a",
1723 "params": ";p",
1724 "path": "/b/c/d",
1725 "query": "?q",
1726 "scheme": "http:",
1727 }
1728 `;
1729
1730 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "//g" {} 2`] = `
1731 Object {
1732 "fragment": "",
1733 "netLoc": "//g",
1734 "params": "",
1735 "path": "",
1736 "query": "",
1737 "scheme": "",
1738 }
1739 `;
1740
1741 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "/g" {} 1`] = `
1742 Object {
1743 "fragment": "#f",
1744 "netLoc": "//a",
1745 "params": ";p",
1746 "path": "/b/c/d",
1747 "query": "?q",
1748 "scheme": "http:",
1749 }
1750 `;
1751
1752 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "/g" {} 2`] = `
1753 Object {
1754 "fragment": "",
1755 "netLoc": "",
1756 "params": "",
1757 "path": "/g",
1758 "query": "",
1759 "scheme": "",
1760 }
1761 `;
1762
1763 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + ";x" {} 1`] = `
1764 Object {
1765 "fragment": "#f",
1766 "netLoc": "//a",
1767 "params": ";p",
1768 "path": "/b/c/d",
1769 "query": "?q",
1770 "scheme": "http:",
1771 }
1772 `;
1773
1774 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + ";x" {} 2`] = `
1775 Object {
1776 "fragment": "",
1777 "netLoc": "",
1778 "params": ";x",
1779 "path": "",
1780 "query": "",
1781 "scheme": "",
1782 }
1783 `;
1784
1785 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "?y" {} 1`] = `
1786 Object {
1787 "fragment": "#f",
1788 "netLoc": "//a",
1789 "params": ";p",
1790 "path": "/b/c/d",
1791 "query": "?q",
1792 "scheme": "http:",
1793 }
1794 `;
1795
1796 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "?y" {} 2`] = `
1797 Object {
1798 "fragment": "",
1799 "netLoc": "",
1800 "params": "",
1801 "path": "",
1802 "query": "?y",
1803 "scheme": "",
1804 }
1805 `;
1806
1807 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g" {} 1`] = `
1808 Object {
1809 "fragment": "#f",
1810 "netLoc": "//a",
1811 "params": ";p",
1812 "path": "/b/c/d",
1813 "query": "?q",
1814 "scheme": "http:",
1815 }
1816 `;
1817
1818 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g" {} 2`] = `
1819 Object {
1820 "fragment": "",
1821 "netLoc": "",
1822 "params": "",
1823 "path": "g",
1824 "query": "",
1825 "scheme": "",
1826 }
1827 `;
1828
1829 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g#s" {} 1`] = `
1830 Object {
1831 "fragment": "#f",
1832 "netLoc": "//a",
1833 "params": ";p",
1834 "path": "/b/c/d",
1835 "query": "?q",
1836 "scheme": "http:",
1837 }
1838 `;
1839
1840 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g#s" {} 2`] = `
1841 Object {
1842 "fragment": "#s",
1843 "netLoc": "",
1844 "params": "",
1845 "path": "g",
1846 "query": "",
1847 "scheme": "",
1848 }
1849 `;
1850
1851 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g#s/./x" {} 1`] = `
1852 Object {
1853 "fragment": "#f",
1854 "netLoc": "//a",
1855 "params": ";p",
1856 "path": "/b/c/d",
1857 "query": "?q",
1858 "scheme": "http:",
1859 }
1860 `;
1861
1862 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g#s/./x" {} 2`] = `
1863 Object {
1864 "fragment": "#s/./x",
1865 "netLoc": "",
1866 "params": "",
1867 "path": "g",
1868 "query": "",
1869 "scheme": "",
1870 }
1871 `;
1872
1873 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g." {} 1`] = `
1874 Object {
1875 "fragment": "#f",
1876 "netLoc": "//a",
1877 "params": ";p",
1878 "path": "/b/c/d",
1879 "query": "?q",
1880 "scheme": "http:",
1881 }
1882 `;
1883
1884 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g." {} 2`] = `
1885 Object {
1886 "fragment": "",
1887 "netLoc": "",
1888 "params": "",
1889 "path": "g.",
1890 "query": "",
1891 "scheme": "",
1892 }
1893 `;
1894
1895 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g.." {} 1`] = `
1896 Object {
1897 "fragment": "#f",
1898 "netLoc": "//a",
1899 "params": ";p",
1900 "path": "/b/c/d",
1901 "query": "?q",
1902 "scheme": "http:",
1903 }
1904 `;
1905
1906 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g.." {} 2`] = `
1907 Object {
1908 "fragment": "",
1909 "netLoc": "",
1910 "params": "",
1911 "path": "g..",
1912 "query": "",
1913 "scheme": "",
1914 }
1915 `;
1916
1917 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g/" {} 1`] = `
1918 Object {
1919 "fragment": "#f",
1920 "netLoc": "//a",
1921 "params": ";p",
1922 "path": "/b/c/d",
1923 "query": "?q",
1924 "scheme": "http:",
1925 }
1926 `;
1927
1928 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g/" {} 2`] = `
1929 Object {
1930 "fragment": "",
1931 "netLoc": "",
1932 "params": "",
1933 "path": "g/",
1934 "query": "",
1935 "scheme": "",
1936 }
1937 `;
1938
1939 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g/../h" {} 1`] = `
1940 Object {
1941 "fragment": "#f",
1942 "netLoc": "//a",
1943 "params": ";p",
1944 "path": "/b/c/d",
1945 "query": "?q",
1946 "scheme": "http:",
1947 }
1948 `;
1949
1950 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g/../h" {} 2`] = `
1951 Object {
1952 "fragment": "",
1953 "netLoc": "",
1954 "params": "",
1955 "path": "g/../h",
1956 "query": "",
1957 "scheme": "",
1958 }
1959 `;
1960
1961 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g/./h" {} 1`] = `
1962 Object {
1963 "fragment": "#f",
1964 "netLoc": "//a",
1965 "params": ";p",
1966 "path": "/b/c/d",
1967 "query": "?q",
1968 "scheme": "http:",
1969 }
1970 `;
1971
1972 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g/./h" {} 2`] = `
1973 Object {
1974 "fragment": "",
1975 "netLoc": "",
1976 "params": "",
1977 "path": "g/./h",
1978 "query": "",
1979 "scheme": "",
1980 }
1981 `;
1982
1983 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g:h" {} 1`] = `
1984 Object {
1985 "fragment": "#f",
1986 "netLoc": "//a",
1987 "params": ";p",
1988 "path": "/b/c/d",
1989 "query": "?q",
1990 "scheme": "http:",
1991 }
1992 `;
1993
1994 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g:h" {} 2`] = `
1995 Object {
1996 "fragment": "",
1997 "netLoc": "",
1998 "params": "",
1999 "path": "h",
2000 "query": "",
2001 "scheme": "g:",
2002 }
2003 `;
2004
2005 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g;x" {} 1`] = `
2006 Object {
2007 "fragment": "#f",
2008 "netLoc": "//a",
2009 "params": ";p",
2010 "path": "/b/c/d",
2011 "query": "?q",
2012 "scheme": "http:",
2013 }
2014 `;
2015
2016 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g;x" {} 2`] = `
2017 Object {
2018 "fragment": "",
2019 "netLoc": "",
2020 "params": ";x",
2021 "path": "g",
2022 "query": "",
2023 "scheme": "",
2024 }
2025 `;
2026
2027 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g;x?y#s" {} 1`] = `
2028 Object {
2029 "fragment": "#f",
2030 "netLoc": "//a",
2031 "params": ";p",
2032 "path": "/b/c/d",
2033 "query": "?q",
2034 "scheme": "http:",
2035 }
2036 `;
2037
2038 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g;x?y#s" {} 2`] = `
2039 Object {
2040 "fragment": "#s",
2041 "netLoc": "",
2042 "params": ";x",
2043 "path": "g",
2044 "query": "?y",
2045 "scheme": "",
2046 }
2047 `;
2048
2049 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g?y" {} 1`] = `
2050 Object {
2051 "fragment": "#f",
2052 "netLoc": "//a",
2053 "params": ";p",
2054 "path": "/b/c/d",
2055 "query": "?q",
2056 "scheme": "http:",
2057 }
2058 `;
2059
2060 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g?y" {} 2`] = `
2061 Object {
2062 "fragment": "",
2063 "netLoc": "",
2064 "params": "",
2065 "path": "g",
2066 "query": "?y",
2067 "scheme": "",
2068 }
2069 `;
2070
2071 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g?y#s" {} 1`] = `
2072 Object {
2073 "fragment": "#f",
2074 "netLoc": "//a",
2075 "params": ";p",
2076 "path": "/b/c/d",
2077 "query": "?q",
2078 "scheme": "http:",
2079 }
2080 `;
2081
2082 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g?y#s" {} 2`] = `
2083 Object {
2084 "fragment": "#s",
2085 "netLoc": "",
2086 "params": "",
2087 "path": "g",
2088 "query": "?y",
2089 "scheme": "",
2090 }
2091 `;
2092
2093 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g?y/./x" {} 1`] = `
2094 Object {
2095 "fragment": "#f",
2096 "netLoc": "//a",
2097 "params": ";p",
2098 "path": "/b/c/d",
2099 "query": "?q",
2100 "scheme": "http:",
2101 }
2102 `;
2103
2104 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "g?y/./x" {} 2`] = `
2105 Object {
2106 "fragment": "",
2107 "netLoc": "",
2108 "params": "",
2109 "path": "g",
2110 "query": "?y/./x",
2111 "scheme": "",
2112 }
2113 `;
2114
2115 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "http:" {} 1`] = `
2116 Object {
2117 "fragment": "#f",
2118 "netLoc": "//a",
2119 "params": ";p",
2120 "path": "/b/c/d",
2121 "query": "?q",
2122 "scheme": "http:",
2123 }
2124 `;
2125
2126 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "http:" {} 2`] = `
2127 Object {
2128 "fragment": "",
2129 "netLoc": "",
2130 "params": "",
2131 "path": "",
2132 "query": "",
2133 "scheme": "http:",
2134 }
2135 `;
2136
2137 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "http:g" {} 1`] = `
2138 Object {
2139 "fragment": "#f",
2140 "netLoc": "//a",
2141 "params": ";p",
2142 "path": "/b/c/d",
2143 "query": "?q",
2144 "scheme": "http:",
2145 }
2146 `;
2147
2148 exports[`url toolkit works with a selection of valid urls "http://a/b/c/d;p?q#f" + "http:g" {} 2`] = `
2149 Object {
2150 "fragment": "",
2151 "netLoc": "",
2152 "params": "",
2153 "path": "g",
2154 "query": "",
2155 "scheme": "http:",
2156 }
2157 `;
2158
2159 exports[`url toolkit works with a selection of valid urls "http://a_b.com/b/cd?test=1#something" + "g;x" {} 1`] = `
2160 Object {
2161 "fragment": "#something",
2162 "netLoc": "//a_b.com",
2163 "params": "",
2164 "path": "/b/cd",
2165 "query": "?test=1",
2166 "scheme": "http:",
2167 }
2168 `;
2169
2170 exports[`url toolkit works with a selection of valid urls "http://a_b.com/b/cd?test=1#something" + "g;x" {} 2`] = `
2171 Object {
2172 "fragment": "",
2173 "netLoc": "",
2174 "params": ";x",
2175 "path": "g",
2176 "query": "",
2177 "scheme": "",
2178 }
2179 `;
2180
2181 exports[`url toolkit works with a selection of valid urls "http://a~b.com/b/cd?test=1#something" + "g;x" {} 1`] = `
2182 Object {
2183 "fragment": "#something",
2184 "netLoc": "//a~b.com",
2185 "params": "",
2186 "path": "/b/cd",
2187 "query": "?test=1",
2188 "scheme": "http:",
2189 }
2190 `;
2191
2192 exports[`url toolkit works with a selection of valid urls "http://a~b.com/b/cd?test=1#something" + "g;x" {} 2`] = `
2193 Object {
2194 "fragment": "",
2195 "netLoc": "",
2196 "params": ";x",
2197 "path": "g",
2198 "query": "",
2199 "scheme": "",
2200 }
2201 `;
2202
2203 exports[`url toolkit works with a selection of valid urls "http://a-b.com/b/cd?test=1#something" + "g;x" {} 1`] = `
2204 Object {
2205 "fragment": "#something",
2206 "netLoc": "//a-b.com",
2207 "params": "",
2208 "path": "/b/cd",
2209 "query": "?test=1",
2210 "scheme": "http:",
2211 }
2212 `;
2213
2214 exports[`url toolkit works with a selection of valid urls "http://a-b.com/b/cd?test=1#something" + "g;x" {} 2`] = `
2215 Object {
2216 "fragment": "",
2217 "netLoc": "",
2218 "params": ";x",
2219 "path": "g",
2220 "query": "",
2221 "scheme": "",
2222 }
2223 `;
2224
2225 exports[`url toolkit works with a selection of valid urls "http://example.com/" + "a#
2226 b" {} 1`] = `
2227 Object {
2228 "fragment": "",
2229 "netLoc": "//example.com",
2230 "params": "",
2231 "path": "/",
2232 "query": "",
2233 "scheme": "http:",
2234 }
2235 `;
2236
2237 exports[`url toolkit works with a selection of valid urls "http://example.com/" + "a#
2238 b" {} 2`] = `
2239 Object {
2240 "fragment": "#
2241 b",
2242 "netLoc": "",
2243 "params": "",
2244 "path": "a",
2245 "query": "",
2246 "scheme": "",
2247 }
2248 `;
2249
2250 exports[`url toolkit works with a selection of valid urls "http://ö.de" + "z.ts" {} 1`] = `
2251 Object {
2252 "fragment": "",
2253 "netLoc": "//ö.de",
2254 "params": "",
2255 "path": "",
2256 "query": "",
2257 "scheme": "http:",
2258 }
2259 `;
2260
2261 exports[`url toolkit works with a selection of valid urls "http://ö.de" + "z.ts" {} 2`] = `
2262 Object {
2263 "fragment": "",
2264 "netLoc": "",
2265 "params": "",
2266 "path": "z.ts",
2267 "query": "",
2268 "scheme": "",
2269 }
2270 `;
2271
2272 exports[`url toolkit works with a selection of valid urls "http://ö.de/" + "z.ts" {} 1`] = `
2273 Object {
2274 "fragment": "",
2275 "netLoc": "//ö.de",
2276 "params": "",
2277 "path": "/",
2278 "query": "",
2279 "scheme": "http:",
2280 }
2281 `;
2282
2283 exports[`url toolkit works with a selection of valid urls "http://ö.de/" + "z.ts" {} 2`] = `
2284 Object {
2285 "fragment": "",
2286 "netLoc": "",
2287 "params": "",
2288 "path": "z.ts",
2289 "query": "",
2290 "scheme": "",
2291 }
2292 `;
2293
2294 exports[`url toolkit works with a selection of valid urls "http://ö.de/a" + "z.ts" {} 1`] = `
2295 Object {
2296 "fragment": "",
2297 "netLoc": "//ö.de",
2298 "params": "",
2299 "path": "/a",
2300 "query": "",
2301 "scheme": "http:",
2302 }
2303 `;
2304
2305 exports[`url toolkit works with a selection of valid urls "http://ö.de/a" + "z.ts" {} 2`] = `
2306 Object {
2307 "fragment": "",
2308 "netLoc": "",
2309 "params": "",
2310 "path": "z.ts",
2311 "query": "",
2312 "scheme": "",
2313 }
2314 `;
2315
2316 exports[`url toolkit works with a selection of valid urls "http://ö.de/a/b" + "z.ts" {} 1`] = `
2317 Object {
2318 "fragment": "",
2319 "netLoc": "//ö.de",
2320 "params": "",
2321 "path": "/a/b",
2322 "query": "",
2323 "scheme": "http:",
2324 }
2325 `;
2326
2327 exports[`url toolkit works with a selection of valid urls "http://ö.de/a/b" + "z.ts" {} 2`] = `
2328 Object {
2329 "fragment": "",
2330 "netLoc": "",
2331 "params": "",
2332 "path": "z.ts",
2333 "query": "",
2334 "scheme": "",
2335 }
2336 `;
2337
2338 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "../../z.ts?abc=1#test" {} 1`] = `
2339 Object {
2340 "fragment": "#something",
2341 "netLoc": "//a.com",
2342 "params": "",
2343 "path": "/b/cd/e.m3u8",
2344 "query": "?test=1",
2345 "scheme": "https:",
2346 }
2347 `;
2348
2349 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "../../z.ts?abc=1#test" {} 2`] = `
2350 Object {
2351 "fragment": "#test",
2352 "netLoc": "",
2353 "params": "",
2354 "path": "../../z.ts",
2355 "query": "?abc=1",
2356 "scheme": "",
2357 }
2358 `;
2359
2360 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "../../z.ts?abc=1&something=blah/./../test#test" {} 1`] = `
2361 Object {
2362 "fragment": "#something",
2363 "netLoc": "//a.com",
2364 "params": "",
2365 "path": "/b/cd/e.m3u8",
2366 "query": "?test=1",
2367 "scheme": "https:",
2368 }
2369 `;
2370
2371 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "../../z.ts?abc=1&something=blah/./../test#test" {} 2`] = `
2372 Object {
2373 "fragment": "#test",
2374 "netLoc": "",
2375 "params": "",
2376 "path": "../../z.ts",
2377 "query": "?abc=1&something=blah/./../test",
2378 "scheme": "",
2379 }
2380 `;
2381
2382 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "../z.ts?abc=1#test" {} 1`] = `
2383 Object {
2384 "fragment": "#something",
2385 "netLoc": "//a.com",
2386 "params": "",
2387 "path": "/b/cd/e.m3u8",
2388 "query": "?test=1",
2389 "scheme": "https:",
2390 }
2391 `;
2392
2393 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "../z.ts?abc=1#test" {} 2`] = `
2394 Object {
2395 "fragment": "#test",
2396 "netLoc": "",
2397 "params": "",
2398 "path": "../z.ts",
2399 "query": "?abc=1",
2400 "scheme": "",
2401 }
2402 `;
2403
2404 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "./../z.ts?abc=1#test" {} 1`] = `
2405 Object {
2406 "fragment": "#something",
2407 "netLoc": "//a.com",
2408 "params": "",
2409 "path": "/b/cd/e.m3u8",
2410 "query": "?test=1",
2411 "scheme": "https:",
2412 }
2413 `;
2414
2415 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "./../z.ts?abc=1#test" {} 2`] = `
2416 Object {
2417 "fragment": "#test",
2418 "netLoc": "",
2419 "params": "",
2420 "path": "./../z.ts",
2421 "query": "?abc=1",
2422 "scheme": "",
2423 }
2424 `;
2425
2426 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "././z.ts?abc=1#test" {} 1`] = `
2427 Object {
2428 "fragment": "#something",
2429 "netLoc": "//a.com",
2430 "params": "",
2431 "path": "/b/cd/e.m3u8",
2432 "query": "?test=1",
2433 "scheme": "https:",
2434 }
2435 `;
2436
2437 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "././z.ts?abc=1#test" {} 2`] = `
2438 Object {
2439 "fragment": "#test",
2440 "netLoc": "",
2441 "params": "",
2442 "path": "././z.ts",
2443 "query": "?abc=1",
2444 "scheme": "",
2445 }
2446 `;
2447
2448 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "./z.ts?abc=1#test" {} 1`] = `
2449 Object {
2450 "fragment": "#something",
2451 "netLoc": "//a.com",
2452 "params": "",
2453 "path": "/b/cd/e.m3u8",
2454 "query": "?test=1",
2455 "scheme": "https:",
2456 }
2457 `;
2458
2459 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "./z.ts?abc=1#test" {} 2`] = `
2460 Object {
2461 "fragment": "#test",
2462 "netLoc": "",
2463 "params": "",
2464 "path": "./z.ts",
2465 "query": "?abc=1",
2466 "scheme": "",
2467 }
2468 `;
2469
2470 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "//example.com/subdir/pointless/../z.ts?abc=1#test" {"alwaysNormalize":true} 1`] = `
2471 Object {
2472 "fragment": "#something",
2473 "netLoc": "//a.com",
2474 "params": "",
2475 "path": "/b/cd/e.m3u8",
2476 "query": "?test=1",
2477 "scheme": "https:",
2478 }
2479 `;
2480
2481 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "//example.com/subdir/pointless/../z.ts?abc=1#test" {"alwaysNormalize":true} 2`] = `
2482 Object {
2483 "fragment": "#test",
2484 "netLoc": "//example.com",
2485 "params": "",
2486 "path": "/subdir/pointless/../z.ts",
2487 "query": "?abc=1",
2488 "scheme": "",
2489 }
2490 `;
2491
2492 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "//example.com/subdir/pointless/../z.ts?abc=1#test" {} 1`] = `
2493 Object {
2494 "fragment": "#something",
2495 "netLoc": "//a.com",
2496 "params": "",
2497 "path": "/b/cd/e.m3u8",
2498 "query": "?test=1",
2499 "scheme": "https:",
2500 }
2501 `;
2502
2503 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "//example.com/subdir/pointless/../z.ts?abc=1#test" {} 2`] = `
2504 Object {
2505 "fragment": "#test",
2506 "netLoc": "//example.com",
2507 "params": "",
2508 "path": "/subdir/pointless/../z.ts",
2509 "query": "?abc=1",
2510 "scheme": "",
2511 }
2512 `;
2513
2514 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "//example.com/z.ts?abc=1#test" {} 1`] = `
2515 Object {
2516 "fragment": "#something",
2517 "netLoc": "//a.com",
2518 "params": "",
2519 "path": "/b/cd/e.m3u8",
2520 "query": "?test=1",
2521 "scheme": "https:",
2522 }
2523 `;
2524
2525 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "//example.com/z.ts?abc=1#test" {} 2`] = `
2526 Object {
2527 "fragment": "#test",
2528 "netLoc": "//example.com",
2529 "params": "",
2530 "path": "/z.ts",
2531 "query": "?abc=1",
2532 "scheme": "",
2533 }
2534 `;
2535
2536 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "/subdir/pointless/../z.ts?abc=1#test" {"alwaysNormalize":true} 1`] = `
2537 Object {
2538 "fragment": "#something",
2539 "netLoc": "//a.com",
2540 "params": "",
2541 "path": "/b/cd/e.m3u8",
2542 "query": "?test=1",
2543 "scheme": "https:",
2544 }
2545 `;
2546
2547 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "/subdir/pointless/../z.ts?abc=1#test" {"alwaysNormalize":true} 2`] = `
2548 Object {
2549 "fragment": "#test",
2550 "netLoc": "",
2551 "params": "",
2552 "path": "/subdir/pointless/../z.ts",
2553 "query": "?abc=1",
2554 "scheme": "",
2555 }
2556 `;
2557
2558 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "/subdir/pointless/../z.ts?abc=1#test" {} 1`] = `
2559 Object {
2560 "fragment": "#something",
2561 "netLoc": "//a.com",
2562 "params": "",
2563 "path": "/b/cd/e.m3u8",
2564 "query": "?test=1",
2565 "scheme": "https:",
2566 }
2567 `;
2568
2569 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "/subdir/pointless/../z.ts?abc=1#test" {} 2`] = `
2570 Object {
2571 "fragment": "#test",
2572 "netLoc": "",
2573 "params": "",
2574 "path": "/subdir/pointless/../z.ts",
2575 "query": "?abc=1",
2576 "scheme": "",
2577 }
2578 `;
2579
2580 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "subdir/pointless/../z.ts?abc=1#test" {} 1`] = `
2581 Object {
2582 "fragment": "#something",
2583 "netLoc": "//a.com",
2584 "params": "",
2585 "path": "/b/cd/e.m3u8",
2586 "query": "?test=1",
2587 "scheme": "https:",
2588 }
2589 `;
2590
2591 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e.m3u8?test=1#something" + "subdir/pointless/../z.ts?abc=1#test" {} 2`] = `
2592 Object {
2593 "fragment": "#test",
2594 "netLoc": "",
2595 "params": "",
2596 "path": "subdir/pointless/../z.ts",
2597 "query": "?abc=1",
2598 "scheme": "",
2599 }
2600 `;
2601
2602 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e/f.m3u8?test=1#something" + "../../z.ts?abc=1#test" {} 1`] = `
2603 Object {
2604 "fragment": "#something",
2605 "netLoc": "//a.com",
2606 "params": "",
2607 "path": "/b/cd/e/f.m3u8",
2608 "query": "?test=1",
2609 "scheme": "https:",
2610 }
2611 `;
2612
2613 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e/f.m3u8?test=1#something" + "../../z.ts?abc=1#test" {} 2`] = `
2614 Object {
2615 "fragment": "#test",
2616 "netLoc": "",
2617 "params": "",
2618 "path": "../../z.ts",
2619 "query": "?abc=1",
2620 "scheme": "",
2621 }
2622 `;
2623
2624 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e/f.m3u8?test=1#something" + "./../../z.ts?abc=1#test" {} 1`] = `
2625 Object {
2626 "fragment": "#something",
2627 "netLoc": "//a.com",
2628 "params": "",
2629 "path": "/b/cd/e/f.m3u8",
2630 "query": "?test=1",
2631 "scheme": "https:",
2632 }
2633 `;
2634
2635 exports[`url toolkit works with a selection of valid urls "https://a.com/b/cd/e/f.m3u8?test=1#something" + "./../../z.ts?abc=1#test" {} 2`] = `
2636 Object {
2637 "fragment": "#test",
2638 "netLoc": "",
2639 "params": "",
2640 "path": "./../../z.ts",
2641 "query": "?abc=1",
2642 "scheme": "",
2643 }
2644 `;
2645
2646 exports[`url toolkit works with a selection of valid urls "https://a-b.something.com/b/cd/e.m3u8?test=1#something" + "//example.com/subdir/pointless/../z.ts?abc=1#test" {"alwaysNormalize":true} 1`] = `
2647 Object {
2648 "fragment": "#something",
2649 "netLoc": "//a-b.something.com",
2650 "params": "",
2651 "path": "/b/cd/e.m3u8",
2652 "query": "?test=1",
2653 "scheme": "https:",
2654 }
2655 `;
2656
2657 exports[`url toolkit works with a selection of valid urls "https://a-b.something.com/b/cd/e.m3u8?test=1#something" + "//example.com/subdir/pointless/../z.ts?abc=1#test" {"alwaysNormalize":true} 2`] = `
2658 Object {
2659 "fragment": "#test",
2660 "netLoc": "//example.com",
2661 "params": "",
2662 "path": "/subdir/pointless/../z.ts",
2663 "query": "?abc=1",
2664 "scheme": "",
2665 }
2666 `;
2667
2668 exports[`url toolkit works with a selection of valid urls "https://a-b.something.com/b/cd/e.m3u8?test=1#something" + "//example.com/subdir/pointless/../z.ts?abc=1#test" {} 1`] = `
2669 Object {
2670 "fragment": "#something",
2671 "netLoc": "//a-b.something.com",
2672 "params": "",
2673 "path": "/b/cd/e.m3u8",
2674 "query": "?test=1",
2675 "scheme": "https:",
2676 }
2677 `;
2678
2679 exports[`url toolkit works with a selection of valid urls "https://a-b.something.com/b/cd/e.m3u8?test=1#something" + "//example.com/subdir/pointless/../z.ts?abc=1#test" {} 2`] = `
2680 Object {
2681 "fragment": "#test",
2682 "netLoc": "//example.com",
2683 "params": "",
2684 "path": "/subdir/pointless/../z.ts",
2685 "query": "?abc=1",
2686 "scheme": "",
2687 }
2688 `;
2689
2690 exports[`url toolkit works with a selection of valid urls "ö.de" + "z.ts" {} 1`] = `
2691 Object {
2692 "fragment": "",
2693 "netLoc": "",
2694 "params": "",
2695 "path": "ö.de",
2696 "query": "",
2697 "scheme": "",
2698 }
2699 `;
2700
2701 exports[`url toolkit works with a selection of valid urls "ö.de" + "z.ts" {} 2`] = `
2702 Object {
2703 "fragment": "",
2704 "netLoc": "",
2705 "params": "",
2706 "path": "z.ts",
2707 "query": "",
2708 "scheme": "",
2709 }
2710 `;