зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
6d27a97fc4
Коммит
61c9346f74
|
@ -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) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче