File tree 1 file changed +114
-0
lines changed
1 file changed +114
-0
lines changed Original file line number Diff line number Diff line change 4649
4649
"pathname" : " /" ,
4650
4650
"search" : " " ,
4651
4651
"hash" : " "
4652
+ },
4653
+ " # More file URL tests by zcorpan" ,
4654
+ {
4655
+ "input" : " /" ,
4656
+ "base" : " file:///C:/a/b" ,
4657
+ "href" : " file:///C:/" ,
4658
+ "protocol" : " file:" ,
4659
+ "username" : " " ,
4660
+ "password" : " " ,
4661
+ "host" : " " ,
4662
+ "hostname" : " " ,
4663
+ "port" : " " ,
4664
+ "pathname" : " /C:/" ,
4665
+ "search" : " " ,
4666
+ "hash" : " "
4667
+ },
4668
+ {
4669
+ "input" : " //d:" ,
4670
+ "base" : " file:///C:/a/b" ,
4671
+ "href" : " file:///d:" ,
4672
+ "protocol" : " file:" ,
4673
+ "username" : " " ,
4674
+ "password" : " " ,
4675
+ "host" : " " ,
4676
+ "hostname" : " " ,
4677
+ "port" : " " ,
4678
+ "pathname" : " /d:" ,
4679
+ "search" : " " ,
4680
+ "hash" : " "
4681
+ },
4682
+ {
4683
+ "input" : " //d:/.." ,
4684
+ "base" : " file:///C:/a/b" ,
4685
+ "href" : " file:///d:/" ,
4686
+ "protocol" : " file:" ,
4687
+ "username" : " " ,
4688
+ "password" : " " ,
4689
+ "host" : " " ,
4690
+ "hostname" : " " ,
4691
+ "port" : " " ,
4692
+ "pathname" : " /d:/" ,
4693
+ "search" : " " ,
4694
+ "hash" : " "
4695
+ },
4696
+ {
4697
+ "input" : " .." ,
4698
+ "base" : " file:///ab:/" ,
4699
+ "href" : " file:///" ,
4700
+ "protocol" : " file:" ,
4701
+ "username" : " " ,
4702
+ "password" : " " ,
4703
+ "host" : " " ,
4704
+ "hostname" : " " ,
4705
+ "port" : " " ,
4706
+ "pathname" : " /" ,
4707
+ "search" : " " ,
4708
+ "hash" : " "
4709
+ },
4710
+ {
4711
+ "input" : " .." ,
4712
+ "base" : " file:///1:/" ,
4713
+ "href" : " file:///" ,
4714
+ "protocol" : " file:" ,
4715
+ "username" : " " ,
4716
+ "password" : " " ,
4717
+ "host" : " " ,
4718
+ "hostname" : " " ,
4719
+ "port" : " " ,
4720
+ "pathname" : " /" ,
4721
+ "search" : " " ,
4722
+ "hash" : " "
4723
+ },
4724
+ " # file URLs without base URL by Rimas Misevičius" ,
4725
+ {
4726
+ "input" : " file:" ,
4727
+ "base" : " about:blank" ,
4728
+ "href" : " file:///" ,
4729
+ "protocol" : " file:" ,
4730
+ "username" : " " ,
4731
+ "password" : " " ,
4732
+ "host" : " " ,
4733
+ "hostname" : " " ,
4734
+ "port" : " " ,
4735
+ "pathname" : " /" ,
4736
+ "search" : " " ,
4737
+ "hash" : " "
4738
+ },
4739
+ {
4740
+ "input" : " file:?q=v" ,
4741
+ "base" : " about:blank" ,
4742
+ "href" : " file:///?q=v" ,
4743
+ "protocol" : " file:" ,
4744
+ "username" : " " ,
4745
+ "password" : " " ,
4746
+ "host" : " " ,
4747
+ "hostname" : " " ,
4748
+ "port" : " " ,
4749
+ "pathname" : " /" ,
4750
+ "search" : " ?q=v" ,
4751
+ "hash" : " "
4752
+ },
4753
+ {
4754
+ "input" : " file:#frag" ,
4755
+ "base" : " about:blank" ,
4756
+ "href" : " file:///#frag" ,
4757
+ "protocol" : " file:" ,
4758
+ "username" : " " ,
4759
+ "password" : " " ,
4760
+ "host" : " " ,
4761
+ "hostname" : " " ,
4762
+ "port" : " " ,
4763
+ "pathname" : " /" ,
4764
+ "search" : " " ,
4765
+ "hash" : " #frag"
4652
4766
}
4653
4767
]
You can’t perform that action at this time.
0 commit comments