diff --git a/tests/wpt/metadata/MANIFEST.json b/tests/wpt/metadata/MANIFEST.json index 567609e2c1d..a235abdc2e5 100644 --- a/tests/wpt/metadata/MANIFEST.json +++ b/tests/wpt/metadata/MANIFEST.json @@ -554144,7 +554144,7 @@ "testharness" ], "custom-elements/custom-element-registry/define.html": [ - "724060b276a1f3254fd226e329631005ec5a5e87", + "4f3d4da1aae8efab035a4b951147904d71e7de3b", "testharness" ], "custom-elements/disconnected-callbacks.html": [ diff --git a/tests/wpt/web-platform-tests/custom-elements/custom-element-registry/define.html b/tests/wpt/web-platform-tests/custom-elements/custom-element-registry/define.html index fedb687416e..e5d71ec6eab 100644 --- a/tests/wpt/web-platform-tests/custom-elements/custom-element-registry/define.html +++ b/tests/wpt/web-platform-tests/custom-elements/custom-element-registry/define.html @@ -12,6 +12,7 @@ // https://html.spec.whatwg.org/multipage/scripting.html#element-definition // Use window from iframe to isolate the test. + const iframe = document.getElementById("iframe"); const testWindow = iframe.contentDocument.defaultView; const customElements = testWindow.customElements;