aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/meta/url/url-setters.html.ini
blob: 3c6a20c7818f71cd6ce342a748bdfd72660a0518 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
[url-setters.html]
  expected: CRASH
  [<area>: Setting <http://me@example.net>.password = 'secret']
    expected: FAIL

  [<area>: Setting <unix:/run/foo.socket>.password = 'secret' No host means no password]
    expected: FAIL

  [<area>: Setting <nonsense:///test>.protocol = 'https']
    expected: FAIL

  [<area>: Setting <http://example.net>.port = '8080']
    expected: FAIL

  [<area>: Setting <http://:secret@example.net>.username = 'me']
    expected: FAIL

  [<area>: Setting <file://hi/x>.hostname = '']
    expected: FAIL

  [<area>: Setting <gopher://example.net:1234>.protocol = 'file']
    expected: FAIL

  [<area>: Setting <http://example.net>.pathname = '?' ? needs to be encoded]
    expected: FAIL

  [<area>: Setting <javascript:alert(1)>.username = 'wario']
    expected: FAIL

  [<area>: Setting <sc://x/>.hostname = '@']
    expected: FAIL

  [<area>: Setting <https://example.net?lang=en-US>.search = '']
    expected: FAIL

  [<area>: Setting <sc://x/>.port = '12']
    expected: FAIL

  [<area>: Setting <sc://x/>.hostname = '\r']
    expected: FAIL

  [<area>: Setting <http://example.net/>.hostname = '[google.com\]' Broken IPv6]
    expected: FAIL

  [<area>: Setting <http://example.net/path>.port = '8080/stuff' Stuff after a / delimiter is ignored]
    expected: FAIL

  [<area>: Setting <sc://x/>.hostname = '#']
    expected: FAIL

  [<area>: Setting <file://y/>.hostname = 'x:123']
    expected: FAIL

  [<area>: Setting <http://example.net/>.hostname = '[::1.2.3.4x\]']
    expected: FAIL

  [<a>: Setting <http://example.net>.hash = 'a\x00b' Percent-encode NULLs in fragment]
    expected: FAIL

  [<area>: Setting <unix:/run/foo.socket?timeout=10>.pathname = '/var/log/../run/bar.socket']
    expected: FAIL

  [<area>: Setting <http://example.net:8080>.hostname = '0x7F000001' IPv4 address syntax is normalized]
    expected: FAIL

  [<area>: Setting <mailto:you@example.net>.username = 'me' Cannot-be-a-base means no username]
    expected: FAIL

  [<area>: Setting <https://example.net?lang=en-US#nav>.search = '??lang=fr']
    expected: FAIL

  [<area>: Setting <https://example.net?lang=en-US#nav>.hash = '']
    expected: FAIL

  [<area>: Setting <wss://x:x@example.net:1234>.protocol = 'file']
    expected: FAIL

  [<area>: Setting <https://x/>.host = 'ß' IDNA Nontransitional_Processing]
    expected: FAIL

  [<area>: Setting <file:///unicorn>.pathname = '//\\/' File URLs and (back)slashes]
    expected: FAIL

  [<area>: Setting <http://example.net>.hash = 'a\x00b' Percent-encode NULLs in fragment]
    expected: FAIL

  [<area>: Setting <http://example.net>.host = '[2001:db8::2\]:4002' IPv6 literal address with port, crbug.com/1012416]
    expected: FAIL

  [<area>: Setting <a://example.net>.protocol = '+b' No leading punctuation]
    expected: FAIL

  [<area>: Setting <sc://test@test/>.hostname = '']
    expected: FAIL

  [<area>: Setting <http://example.net:8080>.port = '80' Default port number is removed]
    expected: FAIL

  [<area>: Setting <http://example.net:8080>.port = '' Port number is removed if empty is the new value]
    expected: FAIL

  [<area>: Setting <ssh://me@example.net>.protocol = 'https']
    expected: FAIL

  [<area>: Setting <http://foo.com:443/>.protocol = 'https' Port is set to null if it is the default for new scheme.]
    expected: FAIL

  [<area>: Setting <http://example.net>.protocol = 'b' Can’t switch from special scheme to non-special]
    expected: FAIL

  [<area>: Setting <data:text/plain,Stuff>.host = 'example.net' Cannot-be-a-base means no host]
    expected: FAIL

  [<area>: Setting <file://test/>.port = '12']
    expected: FAIL

  [<area>: Setting <sc://x/>.host = '/']
    expected: FAIL

  [<area>: Setting <file:///unicorn>.pathname = '//monkey/..//' File URLs and (back)slashes]
    expected: FAIL

  [<area>: Setting <http://example.net/path>.host = 'example.com#stuff' Stuff after a # delimiter is ignored]
    expected: FAIL

  [<area>: Setting <mailto:me@example.net>.password = 'secret' Cannot-be-a-base means no password]
    expected: FAIL

  [<area>: Setting <file://hi/x>.host = '']
    expected: FAIL

  [<area>: Setting <file:///test>.protocol = 'gopher']
    expected: FAIL

  [<area>: Setting <https://example.net?lang=en-US#nav>.search = '?lang=fr']
    expected: FAIL

  [<area>: Setting <http://example.net>.pathname = '#' # needs to be encoded]
    expected: FAIL

  [<area>: Setting <https://example.net?lang=en-US#nav>.hash = '#main']
    expected: FAIL

  [<area>: Setting <file://test/>.username = 'test']
    expected: FAIL

  [<area>: Setting <view-source+http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
    expected: FAIL

  [<area>: Setting <http://example.net/path>.host = 'example.com:8080\\stuff' Stuff after a \\ delimiter is ignored for special schemes]
    expected: FAIL

  [<area>: Setting <file:///home/you/index.html>.username = 'me' No host means no username]
    expected: FAIL

  [<area>: Setting <http://example.net>.host = '0x7F000001:8080' IPv4 address syntax is normalized]
    expected: FAIL

  [<area>: Setting <http://example.net/>.host = '[::1.\]']
    expected: FAIL

  [<area>: Setting <http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is a segment delimiter for 'special' URLs]
    expected: FAIL

  [<area>: Setting <file://localhost/>.protocol = 'http' Can’t switch from file URL with no host]
    expected: FAIL

  [<area>: Setting <javascript:alert(1)>.hash = 'castle']
    expected: FAIL

  [<area>: Setting <https://example.net>.port = '80' Default port number is only removed for the relevant scheme]
    expected: FAIL

  [<area>: Setting <http://example.net/path>.host = 'example.com\\stuff' Stuff after a \\ delimiter is ignored for special schemes]
    expected: FAIL

  [<area>: Setting <sc://x/>.host = '\x00' Non-special scheme]
    expected: FAIL

  [<area>: Setting <http://example.net/path>.host = 'example.com:8080#stuff' Stuff after a # delimiter is ignored]
    expected: FAIL

  [<area>: Setting <a://example.net>.protocol = 'bé' Non-ASCII is rejected]
    expected: FAIL

  [<area>: Setting <http://example.net>.username = '%c3%89té' Bytes already percent-encoded are left as-is.]
    expected: FAIL

  [<area>: Setting <a:/>.pathname = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the default encode set. Tabs and newlines are removed.]
    expected: FAIL

  [<area>: Setting <mailto:me@example.net>.pathname = '/foo' Cannot-be-a-base don’t have a path]
    expected: FAIL

  [<area>: Setting <file://y/>.hostname = 'loc%41lhost']
    expected: FAIL

  [<area>: Setting <a://example.net>.protocol = 'é' Non-ASCII is rejected]
    expected: FAIL

  [<area>: Setting <file:///home/me/index.html>.password = 'secret' No host means no password]
    expected: FAIL

  [<area>: Setting <http://example.net>.hash = '#foo`bar']
    expected: FAIL

  [<area>: Setting <a://example.net>.protocol = 'b,c' Only some punctuation is acceptable]
    expected: FAIL

  [<area>: Setting <http://example.net>.password = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
    expected: FAIL

  [<area>: Setting <http://example.net/path>.host = 'example.com:8080?stuff' Stuff after a ? delimiter is ignored]
    expected: FAIL

  [<area>: Setting <http://example.net/path>.hostname = 'example.com/stuff' Stuff after a / delimiter is ignored]
    expected: FAIL

  [<area>: Setting <javascript://x/>.username = 'wario']
    expected: FAIL

  [<area>: Setting <http://example.net>.hash = '#foo"bar']
    expected: FAIL

  [<area>: Setting <http://example.net>.password = 'secret']
    expected: FAIL

  [<area>: Setting <a:/foo>.host = 'example.net' Path-only URLs can gain a host]
    expected: FAIL

  [<area>: Setting <http://example.net>.host = 'example.com:8080']
    expected: FAIL

  [<area>: Setting <file://test/>.password = 'test']
    expected: FAIL

  [<area>: Setting <non-spec:/>.hash = 'a\x00b' Percent-encode NULLs in fragment]
    expected: FAIL

  [<area>: Setting <http://example.net/path>.port = '8080+2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
    expected: FAIL

  [<area>: Setting <http://example.net/path>.port = '8080\\stuff' Stuff after a \\ delimiter is ignored for special schemes]
    expected: FAIL

  [<area>: Setting <ftp://example.net>.protocol = 'test']
    expected: FAIL

  [<area>: Setting <http://example.net/path>.host = 'example.com?stuff' Stuff after a ? delimiter is ignored]
    expected: FAIL

  [<area>: Setting <http://example.net/path>.port = '8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
    expected: FAIL

  [<area>: Setting <http://example.net>.host = '' The empty host is not valid for special schemes]
    expected: FAIL

  [<area>: Setting <http://example.net>.hostname = '' The empty host is not valid for special schemes]
    expected: FAIL

  [<area>: Setting <view-source+http://example.net/foo>.host = '' The empty host is OK for non-special schemes]
    expected: FAIL

  [<area>: Setting <https://example.net>.search = '']
    expected: FAIL

  [<area>: Setting <a://example.net>.protocol = '' The empty string is not a valid scheme. Setter leaves the URL unchanged.]
    expected: FAIL

  [<area>: Setting <http://example.net/>.host = '[::1.2.\]']
    expected: FAIL

  [<area>: Setting <http://example.net/path>.port = '8080#stuff' Stuff after a # delimiter is ignored]
    expected: FAIL

  [<area>: Setting <https://example.net>.host = 'example.com:443' Default port number is removed]
    expected: FAIL

  [<a>: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; tabs and newlines are removed]
    expected: FAIL

  [<area>: Setting <https://example.net?lang=en-US#nav>.search = '']
    expected: FAIL

  [<area>: Setting <http://example.net/path>.port = '65535' Port numbers are 16 bit integers]
    expected: FAIL

  [<area>: Setting <file://hi/path>.protocol = 's']
    expected: FAIL

  [<area>: Setting <mailto:me@example.net>.hostname = 'example.com' Cannot-be-a-base means no host]
    expected: FAIL

  [<area>: Setting <http://example.net/>.host = '[google.com\]' Broken IPv6]
    expected: FAIL

  [<area>: Setting <view-source+http://example.net/path>.hostname = 'example.com\\stuff' \\ is not a delimiter for non-special schemes, but still forbidden in hosts]
    expected: FAIL

  [<area>: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; tabs and newlines are removed]
    expected: FAIL

  [<area>: Setting <a://example.net>.protocol = '0b' No leading digit]
    expected: FAIL

  [<area>: Setting <sc://test:12/>.host = '']
    expected: FAIL

  [<area>: Setting <sc://example.net>.pathname = '?' ? needs to be encoded, non-special scheme]
    expected: FAIL

  [<area>: Setting <http://example.net/path>.host = 'example.com:65536' Port numbers are 16 bit integers, overflowing is an error. Hostname is still set, though.]
    expected: FAIL

  [<area>: Setting <http://test@example.net>.protocol = 'file' Can’t switch from URL containing username/password/port to file]
    expected: FAIL

  [<area>: Setting <http://:secret@example.net>.password = '']
    expected: FAIL

  [<area>: Setting <a:/foo>.hostname = 'example.net' Path-only URLs can gain a host]
    expected: FAIL

  [<area>: Setting <http://example.net>.password = '%c3%89té' Bytes already percent-encoded are left as-is.]
    expected: FAIL

  [<area>: Setting <sc://x/>.hostname = '/']
    expected: FAIL

  [<area>: Setting <https://example.net?lang=en-US#nav>.hash = '#']
    expected: FAIL

  [<area>: Setting <http://example.net>.host = '[::0:01\]:2' IPv6 address syntax is normalized]
    expected: FAIL

  [URL: Setting <a:/>.hash = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' Simple percent-encoding; tabs and newlines are removed]
    expected: FAIL

  [<area>: Setting <http://example.net/path>.host = 'example.com:8080/stuff' Stuff after a / delimiter is ignored]
    expected: FAIL

  [<area>: Setting <view-source+http://example.net/home?lang=fr#nav>.pathname = '\\a\\%2E\\b\\%2e.\\c' \\ is *not* a segment delimiter for non-'special' URLs]
    expected: FAIL

  [<area>: Setting <sc://x/>.host = '@']
    expected: FAIL

  [<a>: Setting <non-spec:/>.hash = 'a\x00b' Percent-encode NULLs in fragment]
    expected: FAIL

  [<area>: Setting <http://example.net>.hash = '#foo<bar']
    expected: FAIL

  [<area>: Setting <ssh://me@example.net>.protocol = 'file']
    expected: FAIL

  [<area>: Setting <mailto:me@example.net>.protocol = 'http' Cannot-be-a-base URL doesn’t have a host, but URL in a special scheme must.]
    expected: FAIL

  [<area>: Setting <https://example.net?lang=en-US>.hash = '##nav']
    expected: FAIL

  [<area>: Setting <file://y/>.host = 'loc%41lhost']
    expected: FAIL

  [<area>: Setting <http://me:secret@example.net>.password = '']
    expected: FAIL

  [<area>: Setting <https://example.net#nav>.pathname = '../home']
    expected: FAIL

  [<area>: Setting <a://example.net>.protocol = 'bC0+-.']
    expected: FAIL

  [<area>: Setting <sc://x/>.host = '\r']
    expected: FAIL

  [<area>: Setting <https://example.net>.protocol = 's']
    expected: FAIL

  [<area>: Setting <sc://test@test/>.host = '']
    expected: FAIL

  [<area>: Setting <sc://x/>.host = '#']
    expected: FAIL

  [<area>: Setting <http://example.net/>.hostname = '[::1.\]']
    expected: FAIL

  [<area>: Setting <sc:///>.password = 'x']
    expected: FAIL

  [<area>: Setting <http://example.net/path>.host = 'example.com:8080+2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
    expected: FAIL

  [<area>: Setting <a://example.net>.protocol = 'b']
    expected: FAIL

  [<area>: Setting <javascript://x/>.port = '12']
    expected: FAIL

  [<area>: Setting <sc:///>.username = 'x']
    expected: FAIL

  [<area>: Setting <sc://example.net>.pathname = '#' # needs to be encoded, non-special scheme]
    expected: FAIL

  [<area>: Setting <http://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error]
    expected: FAIL

  [<area>: Setting <http://example.net>.host = 'example.com:80' Default port number is removed]
    expected: FAIL

  [<area>: Setting <https://example.net?lang=en-US#nav>.search = 'lang=fr']
    expected: FAIL

  [<area>: Setting <mailto:me@example.net>.host = 'example.com' Cannot-be-a-base means no host]
    expected: FAIL

  [<area>: Setting <sc://x/>.host = 'ß']
    expected: FAIL

  [<area>: Setting <file://localhost/>.port = '12']
    expected: FAIL

  [<area>: Setting <http://example.net>.username = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the userinfo encode set.]
    expected: FAIL

  [<area>: Setting <https://example.net#nav>.hash = 'main']
    expected: FAIL

  [<area>: Setting <sc:///>.port = '12']
    expected: FAIL

  [<area>: Setting <http://example.net/path>.hostname = 'example.com:8080' Stuff after a : delimiter is ignored]
    expected: FAIL

  [<area>: Setting <http://example.net/path>.hostname = 'example.com#stuff' Stuff after a # delimiter is ignored]
    expected: FAIL

  [<area>: Setting <non-special://example.net:8080/path>.port = '65536' Port numbers are 16 bit integers, overflowing is an error]
    expected: FAIL

  [<area>: Setting <file://monkey/>.pathname = '\\\\' File URLs and (back)slashes]
    expected: FAIL

  [<area>: Setting <sc://x/>.hostname = '\n']
    expected: FAIL

  [<area>: Setting <a:/>.search = '\x00\x01\t\n\r\x1f !"#$%&'()*+,-./09:;<=>?@AZ[\\\]^_`az{|}~€Éé' UTF-8 percent encoding with the query encode set. Tabs and newlines are removed.]
    expected: FAIL

  [<area>: Setting <http://example.net>.username = 'me']
    expected: FAIL

  [<area>: Setting <view-source+http://example.net/foo>.hostname = '' The empty host is OK for non-special schemes]
    expected: FAIL

  [<area>: Setting <http://example.net>.hash = '#foo bar']
    expected: FAIL

  [<area>: Setting <http://example.net:8080>.host = 'example.com:80' Port number is removed if new port is scheme default and existing URL has a non-default port]
    expected: FAIL

  [<area>: Setting <https://example.net>.hash = 'main']
    expected: FAIL

  [<area>: Setting <sc://x/>.host = '\t']
    expected: FAIL

  [<area>: Setting <sc://x/>.host = '?']
    expected: FAIL

  [<area>: Setting <http://example.net/path>.hostname = 'example.com?stuff' Stuff after a ? delimiter is ignored]
    expected: FAIL

  [<area>: Setting <https://example.net#nav>.pathname = 'home']
    expected: FAIL

  [<area>: Setting <view-source+http://example.net/path>.host = 'example.com\\stuff' \\ is not a delimiter for non-special schemes, but still forbidden in hosts]
    expected: FAIL

  [<area>: Setting <http://example.net>.pathname = '%2e%2E%c3%89té' Bytes already percent-encoded are left as-is, including %2E outside dotted segments.]
    expected: FAIL

  [<area>: Setting <sc://x/>.host = ' ']
    expected: FAIL

  [<area>: Setting <http://example.net/path>.host = 'example.com/stuff' Stuff after a / delimiter is ignored]
    expected: FAIL

  [<area>: Setting <http://example.net>.hash = '%c3%89té' Bytes already percent-encoded are left as-is]
    expected: FAIL

  [<area>: Setting <http://me@example.net>.username = '']
    expected: FAIL

  [URL: Setting <gopher://example.net:1234>.protocol = 'file']
    expected: FAIL

  [<area>: Setting <data:text/plain,Stuff>.hostname = 'example.net' Cannot-be-a-base means no host]
    expected: FAIL

  [<area>: Setting <sc://x/>.hostname = '\x00' Non-special scheme]
    expected: FAIL

  [<a>: Setting <gopher://example.net:1234>.protocol = 'file']
    expected: FAIL

  [<area>: Setting <https://example.net#nav>.search = 'lang=fr']
    expected: FAIL

  [<area>: Setting <file://y/>.host = 'x:123']
    expected: FAIL

  [<area>: Setting <https://example.net?lang=en-US#nav>.search = '?']
    expected: FAIL

  [<area>: Setting <http://example.net>.hostname = '[::0:01\]' IPv6 address syntax is normalized]
    expected: FAIL

  [<area>: Setting <http://example.net>.search = '%c3%89té' Bytes already percent-encoded are left as-is]
    expected: FAIL

  [<area>: Setting <ssh://example.net>.protocol = 'file']
    expected: FAIL

  [<area>: Setting <http://example.net:8080>.hostname = 'example.com']
    expected: FAIL

  [<a>: Setting <javascript:alert(1)>.hash = 'castle']
    expected: FAIL

  [<area>: Setting <file:>.protocol = 'wss']
    expected: FAIL

  [<area>: Setting <view-source+http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
    expected: FAIL

  [<area>: Setting <http://example.net:8080>.host = 'example.com' Port number is unchanged if not specified in the new value]
    expected: FAIL

  [<area>: Setting <http://example.net>.protocol = 'https:foo : bar' Stuff after the first ':' is ignored]
    expected: FAIL

  [<area>: Setting <https://example.net:4433>.port = '443' Default port number is removed]
    expected: FAIL

  [<area>: Setting <http://example.net/>.hostname = '[::1.2.\]']
    expected: FAIL

  [<area>: Setting <a://example.net>.protocol = 'B' Upper-case ASCII is lower-cased]
    expected: FAIL

  [<area>: Setting <http://example.net/path>.host = 'example.com:8080stuff2' Anything other than ASCII digit stops the port parser in a setter but is not an error]
    expected: FAIL

  [<area>: Setting <http://example.net:8080>.host = 'example.com:' Port number is unchanged if not specified]
    expected: FAIL

  [<area>: Setting <ssh://me@example.net>.protocol = 'http' Can’t switch from non-special scheme to special]
    expected: FAIL

  [<area>: Setting <data:text/html,<p>Test>.protocol = 'view-source+data:foo : bar' Stuff after the first ':' is ignored]
    expected: FAIL

  [<area>: Setting <http://example.net>.hash = '#foo>bar']
    expected: FAIL

  [<area>: Setting <non-base:value>.port = '12']
    expected: FAIL

  [<area>: Setting <sc://x/>.hostname = ' ']
    expected: FAIL

  [<area>: Setting <http://example.net/path>.port = '8080?stuff' Stuff after a ? delimiter is ignored]
    expected: FAIL

  [<area>: Setting <sc://test:12/>.hostname = '']
    expected: FAIL

  [<area>: Setting <http://example.net/path>.hostname = 'example.com\\stuff' Stuff after a \\ delimiter is ignored for special schemes]
    expected: FAIL

  [<area>: Setting <javascript://x/>.password = 'bowser']
    expected: FAIL

  [<area>: Setting <sc://x/>.hostname = '\t']
    expected: FAIL

  [<area>: Setting <javascript:alert(1)>.protocol = 'defuse']
    expected: FAIL

  [<area>: Setting <http://me:secret@example.net>.username = '']
    expected: FAIL

  [<area>: Setting <http://example.net/>.hostname = '[::1.2.3.\]']
    expected: FAIL

  [<area>: Setting <https://example.net>.host = 'example.com:80' Default port number is only removed for the relevant scheme]
    expected: FAIL

  [<area>: Setting <http://example.net/>.host = '[::1.2.3.\]']
    expected: FAIL

  [<area>: Setting <unix:/run/foo.socket>.username = 'me' No host means no username]
    expected: FAIL

  [<area>: Setting <http://example.net/>.host = '[::1.2.3.4x\]']
    expected: FAIL

  [URL: Setting <http://example.net>.hash = 'a\x00b' Percent-encode NULLs in fragment]
    expected: FAIL

  [<area>: Setting <http://example.net:8080/path>.hostname = 'example.com:' Stuff after a : delimiter is ignored]
    expected: FAIL

  [URL: Setting <non-spec:/>.hash = 'a\x00b' Percent-encode NULLs in fragment]
    expected: FAIL

  [<area>: Setting <sc://x/>.host = '\n']
    expected: FAIL

  [<area>: Setting <sc://x/>.hostname = '?']
    expected: FAIL

  [<area>: Setting <http://example.net/path>.host = 'example.com:65535' Port numbers are 16 bit integers]
    expected: FAIL

  [<area>: Setting <https://example.net:1234>.protocol = 'file']
    expected: FAIL

  [<area>: Setting <file:///test>.protocol = 'https']
    expected: FAIL