From 86bf85b79a199c6bc99559169ad75e01e6d52a25 Mon Sep 17 00:00:00 2001 From: Kevin Schaaf Date: Thu, 11 Apr 2019 17:28:12 -0700 Subject: [PATCH] Ensure wildcard arguments get undefined treatment. Fixes #5428. --- lib/legacy/legacy-data-mixin.html | 3 +- test/unit/legacy-data.html | 48 +++++++++++++++++++++++++++++-- 2 files changed, 48 insertions(+), 3 deletions(-) diff --git a/lib/legacy/legacy-data-mixin.html b/lib/legacy/legacy-data-mixin.html index 4e6bc06879..0c69d67e9d 100644 --- a/lib/legacy/legacy-data-mixin.html +++ b/lib/legacy/legacy-data-mixin.html @@ -99,7 +99,8 @@ // undefined or not. Multi-property observers must have all arguments defined if (this._legacyUndefinedCheck && vals.length > 1) { for (let i=0; i `[${inlineSingleDep}]`); this.computeMulti = sinon.spy((inlineMultiDep1, inlineMultiDep2) => `[${inlineMultiDep1},${inlineMultiDep2}]`); + this.wildcardObserver = sinon.spy(); }, throws() { throw new Error('real error'); @@ -145,6 +149,18 @@ + + + + + + + +