5
5
import { type TestRunnerConfig } from 'harness/harness' ;
6
6
7
7
export default {
8
- 'IdnaTestV2.window.js' : { } ,
8
+ 'IdnaTestV2-removed.window.js' : { } ,
9
+ 'IdnaTestV2.window.js' : {
10
+ comment :
11
+ 'WPT recently updated this test to check for Unicode 16 compliance' ,
12
+ // We now have a huge number of failures
13
+ // https://github.com/web-platform-tests/wpt/commit/d0cd7c05f70f6928234e90ddff90b39ef9c1eebc
14
+ skipAllTests : true ,
15
+ } ,
9
16
'historical.any.js' : { } ,
10
17
'idlharness.any.js' : {
11
18
comment : 'Does not contain any relevant tests' ,
@@ -28,17 +35,38 @@ export default {
28
35
} ,
29
36
'toascii.window.js' : {
30
37
comment :
31
- 'Replacer disables tests involving document.createElement. Expected failures are due to Unicode 15.1' ,
38
+ 'Replacer disables tests involving document.createElement. Expected failures are due to Unicode 15.1 and Unicode 16 ' ,
32
39
expectedFailures : [
40
+ // Unicode 15.1
33
41
// Taken from https://github.com/nodejs/node/blob/5ab7c4c5b01e7579fd436000232f0f0484289d44/test/wpt/status/url.json#L13
34
42
'\uD87E\uDC68.com (using URL)' ,
35
43
'\uD87E\uDC68.com (using URL.host)' ,
36
44
'\uD87E\uDC68.com (using URL.hostname)' ,
45
+ // Unicode 16
46
+ // https://github.com/web-platform-tests/wpt/commit/12de160159122dc4d0e3ee2d756444b249063e8a
47
+ 'look\u180Eout.net (using URL)' ,
48
+ 'look\u180Eout.net (using URL.host)' ,
49
+ 'look\u180Eout.net (using URL.hostname)' ,
50
+ 'look\u206Bout.net (using URL)' ,
51
+ 'look\u206Bout.net (using URL.host)' ,
52
+ 'look\u206Bout.net (using URL.hostname)' ,
53
+ '\u04C0.com (using URL)' ,
54
+ '\u04C0.com (using URL.host)' ,
55
+ '\u04C0.com (using URL.hostname)' ,
56
+ '\u2183.com (using URL)' ,
57
+ '\u2183.com (using URL.host)' ,
58
+ '\u2183.com (using URL.hostname)' ,
37
59
] ,
38
60
replace : ( code ) : string =>
39
61
code . replace ( / \[ " u r l " , " a " , " a r e a " \] / , '[ "url" ]' ) ,
40
62
} ,
41
- 'url-constructor.any.js' : { } ,
63
+ 'url-constructor.any.js' : {
64
+ comment : 'We are expected to encode ^ as %5E' ,
65
+ expectedFailures : [
66
+ 'Parsing: <foo://host/ !"$%&\'()*+,-./:;<=>@[\\]^_`{|}~> without base' ,
67
+ 'Parsing: <wss://host/ !"$%&\'()*+,-./:;<=>@[\\]^_`{|}~> without base' ,
68
+ ] ,
69
+ } ,
42
70
'url-origin.any.js' : { } ,
43
71
'url-searchparams.any.js' : { } ,
44
72
'url-setters-a-area.window.js' : {
@@ -47,7 +75,13 @@ export default {
47
75
skipAllTests : true ,
48
76
} ,
49
77
'url-setters-stripping.any.js' : { } ,
50
- 'url-setters.any.js' : { } ,
78
+ 'url-setters.any.js' : {
79
+ comment : 'We are expected to encode ^ as %5E' ,
80
+ expectedFailures : [
81
+ "URL: Setting <a:/>.pathname = '\x00\x01\t\n" +
82
+ "\r\x1F !\"#$%&'()*+,-./09:;<=>?@AZ[\\]^_`az{|}~\x7F\x80\x81Éé' UTF-8 percent encoding with the default encode set. Tabs and newlines are removed." ,
83
+ ] ,
84
+ } ,
51
85
'url-statics-canparse.any.js' : { } ,
52
86
'url-statics-parse.any.js' : { } ,
53
87
'url-tojson.any.js' : { } ,
0 commit comments