Skip to content
This repository was archived by the owner on Oct 26, 2021. It is now read-only.

Commit 6baaad6

Browse files
committed
Move customElements.upgrade tests to /test/html.
1 parent 8283b8e commit 6baaad6

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<body>
2626
<script>
2727
// Tests taken from the web-platform-test project:
28-
// https://github.com/w3c/web-platform-tests/pull/9869
28+
// https://github.com/w3c/web-platform-tests/blob/c642338c23cc660223a73948b9fdd1bc9cda13ed/custom-elements/custom-element-registry/upgrade.html
2929
suite('CustomElementsRegistry.upgrade', function() {
3030
test('Upgrading an element directly (example from the spec)', function() {
3131
const el = document.createElement('spider-man');

tests/index.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,13 @@
2121
WCT.loadSuites([
2222
'js/reactions.js',
2323
'js/registry.js',
24-
// the next one is in a HTML file because it requires the template polyfill to be loaded
25-
'js/registry-upgrade.html',
2624
'js/instanceof.js',
2725
'js/typescript.js',
2826
'js/babel.js',
2927
'js/closure.js',
3028
'js/upgrade.js',
3129
'js/shadow-dom.js',
30+
'html/registry-upgrade.html',
3231
'html/polyfillWrapFlushCallback/index.html',
3332
'html/imports.html',
3433
'html/shim.html',

0 commit comments

Comments
 (0)