Bug 1504400 [wpt PR 13877] - Revert "Ignore includers of untested mixins (#13611)", a=testonly

Automatic update from web-platform-testsRevert "Ignore includers of untested mixins (#13611)"

This reverts commit e9e06cd3ede66193be47ff0d436c62a606d5fd50.

--

wpt-commits: 69e4ebb5d19fe2cd945dc98c2681f16b92ad0364
wpt-pr: 13877
This commit is contained in:
Robert Ma 2018-11-09 17:25:41 +00:00 коммит произвёл moz-wptsync-bot
Родитель 6d27a97fc4
Коммит 61c9346f74
1 изменённых файлов: 2 добавлений и 8 удалений

Просмотреть файл

@ -305,13 +305,7 @@ IdlArray.prototype.add_dependency_idls = function(raw_idls, options)
if (parsed[dep_type]) {
const inheriting = parsed[dep_type];
const inheritor = parsed.name || parsed.target;
const deps = [inheriting];
// For A includes B, we can ignore A unless B is being tested.
if (dep_type !== "includes"
|| (inheriting in this.members && !this.members[inheriting].untested)) {
deps.push(inheritor);
}
for (const dep of deps) {
for (const dep of [inheriting, inheritor]) {
new_options.only.push(dep);
all_deps.add(dep);
follow_up.add(dep);
@ -326,7 +320,7 @@ IdlArray.prototype.add_dependency_idls = function(raw_idls, options)
next.forEach(process);
}
}
}.bind(this));
});
}.bind(this);
for (let parsed of parsed_idls) {