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
|
/**
* This file lists the tests in the BrowserScope suite which we are currently
* failing. We mark them as todo items to keep track of them.
*/
var knownFailures = {
// Dummy result items. There is one for each category.
'apply' : {
'0-undefined' : true
},
'unapply' : {
'0-undefined' : true
},
'change' : {
'0-undefined' : true
},
'query' : {
'0-undefined' : true
},
'a' : {
'createbookmark-0' : true,
'fontsize-1' : true,
'subscript-1' : true,
'superscript-1' : true,
},
'u': {
'removeformat-1' : true,
'removeformat-2' : true,
'strikethrough-2' : true,
'subscript-1' : true,
'superscript-1' : true,
'unbookmark-0' : true,
},
'q': {
'fontsize-1' : true,
'fontsize-2' : true,
},
'c': {
'fontsize-1' : true,
'fontsize-2' : true,
},
};
function isKnownFailure(type, test, param) {
return (type in knownFailures) && ((test + "-" + param) in knownFailures[type]);
}
|