mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision be5419e845d39089ba6dc338c1bd0fa279108317
This commit is contained in:
parent
aa199307c8
commit
2b6f573eb5
3440 changed files with 109438 additions and 41750 deletions
|
@ -669,8 +669,12 @@ ReflectionTests.reflects = function(data, idlName, idlObj, domName, domObj) {
|
|||
}
|
||||
|
||||
if (data.keywords[i].length > 1) {
|
||||
domTests.push(data.keywords[i].slice(1));
|
||||
idlTests.push(data.keywords[i].slice(1));
|
||||
var sliced = data.keywords[i].slice(1);
|
||||
// If slicing a value yields another valid value, then skip it since it results in duplicate tests.
|
||||
if (data.keywords.indexOf(sliced) == -1) {
|
||||
domTests.push(sliced);
|
||||
idlTests.push(sliced);
|
||||
}
|
||||
}
|
||||
|
||||
if (data.keywords[i] != data.keywords[i].toLowerCase()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue