From 61c9346f74ed7a94411bf8af9e936ee123762128 Mon Sep 17 00:00:00 2001 From: Robert Ma Date: Fri, 9 Nov 2018 17:25:41 +0000 Subject: [PATCH] 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 --- testing/web-platform/tests/resources/idlharness.js | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/testing/web-platform/tests/resources/idlharness.js b/testing/web-platform/tests/resources/idlharness.js index 40a5fa59cd20..9e6ed236b0a4 100644 --- a/testing/web-platform/tests/resources/idlharness.js +++ b/testing/web-platform/tests/resources/idlharness.js @@ -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) {