From 911947c97b87b858940e8bf30e6ae011fe10f5cc Mon Sep 17 00:00:00 2001 From: Anne van Kesteren Date: Tue, 2 Feb 2021 09:19:32 +0000 Subject: [PATCH] Bug 1689966 [wpt PR 27420] - Remove non-Array support for idl_test arguments srcs and deps, a=testonly Automatic update from web-platform-tests Remove non-Array support for idl_test arguments srcs and deps (#27420) -- wpt-commits: f54724aafa338462324ded6c12283478684da223 wpt-pr: 27420 --- testing/web-platform/tests/resources/idlharness.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/testing/web-platform/tests/resources/idlharness.js b/testing/web-platform/tests/resources/idlharness.js index 5a97b273f2bed..76131e7c9602b 100644 --- a/testing/web-platform/tests/resources/idlharness.js +++ b/testing/web-platform/tests/resources/idlharness.js @@ -3543,8 +3543,6 @@ IdlNamespace.prototype.test = function () function idl_test(srcs, deps, idl_setup_func) { return promise_test(function (t) { var idl_array = new IdlArray(); - srcs = (srcs instanceof Array) ? srcs : [srcs] || []; - deps = (deps instanceof Array) ? deps : [deps] || []; var setup_error = null; const validationIgnored = [ "constructor-member",