From caafef792eeb0a9f7a32174b47cedc9e51feb14c Mon Sep 17 00:00:00 2001 From: Daniel Freedman Date: Wed, 5 Apr 2017 17:25:15 -0700 Subject: [PATCH 1/2] Fix custom-style-late tests The included element was never upgrading because it is an extension element, and CustomStyleInterface boots up async due to webcomponents/shadycss@33512fc and misses the resync. This is solved by making a real element. Also, this test wasn't really "late", so the `` is asynchronous now Fixes #4501 --- test/unit/custom-style-late-import.html | 32 -------------------- test/unit/custom-style-late.html | 39 +++++++++++++++++++++---- 2 files changed, 34 insertions(+), 37 deletions(-) delete mode 100644 test/unit/custom-style-late-import.html diff --git a/test/unit/custom-style-late-import.html b/test/unit/custom-style-late-import.html deleted file mode 100644 index 161e8aa8c8..0000000000 --- a/test/unit/custom-style-late-import.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - diff --git a/test/unit/custom-style-late.html b/test/unit/custom-style-late.html index 0456a265f8..6fd7f8ef30 100644 --- a/test/unit/custom-style-late.html +++ b/test/unit/custom-style-late.html @@ -14,19 +14,48 @@ - - - + + + + + + + +