Skip to content

Commit

Permalink
Revert "Ignore includers of untested mixins (#13611)"
Browse files Browse the repository at this point in the history
This reverts commit e9e06cd.
  • Loading branch information
Hexcles committed Nov 2, 2018
1 parent 843887c commit 55eb739
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions resources/idlharness.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand All @@ -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) {
Expand Down

0 comments on commit 55eb739

Please sign in to comment.