From 5a54c32b92d3b897a50ce0998f45a5ff91e76b3f Mon Sep 17 00:00:00 2001 From: Tim van der Lippe Date: Mon, 31 Jul 2017 20:18:22 -0700 Subject: [PATCH] Fix tests in non-Chrome browsers The customElements.get function was undefined until the polyfill resolved the HTMLImports. Instead of waiting for the imports to resolve and modifying the prototype, it was easier to extract a function that does the logic, as the prototype was not properly propagated in non-Chrome browsers --- test/unit/dom-repeat.html | 61 ++++++++++++++++++++------------------- 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/test/unit/dom-repeat.html b/test/unit/dom-repeat.html index 1cba2a59d0..7ab64294b9 100644 --- a/test/unit/dom-repeat.html +++ b/test/unit/dom-repeat.html @@ -15,11 +15,6 @@ -