url-toolkit.js.snap 58 KB

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