From 03e2f7f9e49ab0f41101440f45596dcda414d7fa Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Mon, 26 Mar 2018 15:20:11 +0000 Subject: [PATCH] Bug 1443707 [wpt PR 9869] - Add tests for customElements.upgrade(), a=testonly Automatic update from web-platform-testsAdd tests for customElements.upgrade() (#9869) * Add tests for customElements.upgrade() Follows https://github.com/whatwg/html/pull/3535. * Fix one test; test that it's shadow-including descendants wpt-commits: e3b651475426769bba0f043fd53e11a9c4ef93d5 wpt-pr: 9869 wpt-commits: e3b651475426769bba0f043fd53e11a9c4ef93d5 wpt-pr: 9869 --- testing/web-platform/meta/MANIFEST.json | 10 ++ .../custom-element-registry/upgrade.html | 154 ++++++++++++++++++ 2 files changed, 164 insertions(+) create mode 100644 testing/web-platform/tests/custom-elements/custom-element-registry/upgrade.html diff --git a/testing/web-platform/meta/MANIFEST.json b/testing/web-platform/meta/MANIFEST.json index 2f19039f2b2b3..57b82487c9846 100644 --- a/testing/web-platform/meta/MANIFEST.json +++ b/testing/web-platform/meta/MANIFEST.json @@ -318808,6 +318808,12 @@ {} ] ], + "custom-elements/custom-element-registry/upgrade.html": [ + [ + "/custom-elements/custom-element-registry/upgrade.html", + {} + ] + ], "custom-elements/disconnected-callbacks.html": [ [ "/custom-elements/disconnected-callbacks.html", @@ -543479,6 +543485,10 @@ "3b143f80d77a0b15b59cc6e6f5344f85dafe4f4e", "testharness" ], + "custom-elements/custom-element-registry/upgrade.html": [ + "a5c2ced54f7031d02009c9853a7ee4e883151cb3", + "testharness" + ], "custom-elements/disconnected-callbacks.html": [ "ad030517981b11892126023bc758b7fe323a3d14", "testharness" diff --git a/testing/web-platform/tests/custom-elements/custom-element-registry/upgrade.html b/testing/web-platform/tests/custom-elements/custom-element-registry/upgrade.html new file mode 100644 index 0000000000000..3a72dbd753c7f --- /dev/null +++ b/testing/web-platform/tests/custom-elements/custom-element-registry/upgrade.html @@ -0,0 +1,154 @@ + + +customElements.upgrade() + + + + + + +