Skip to content

Commit eb1d7b6

Browse files
committed
Bug 2001015 [wpt PR 56108] - Add new tests for customelementregistry content attribute and specifying null to createEleent and attachShadow per, a=testonly
Automatic update from web-platform-tests Add new tests for customelementregistry content attribute and specifying null to createEleent and attachShadow per (#56108) - whatwg/dom#1424 - whatwg/dom#1423 Also update the existing tests to account for the behavior differences.` -- wpt-commits: cc1c056521abd0ff97456455dbebe113617a2bc1 wpt-pr: 56108 UltraBlame original commit: bb6f215085587911288d0b50256c14ad6ecd246e
1 parent 0c3342a commit eb1d7b6

7 files changed

Lines changed: 2729 additions & 97 deletions

testing/web-platform/tests/custom-elements/registries/Element-customElementRegistry-exceptions.html

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -102,84 +102,6 @@
102102
body
103103
>
104104
<
105-
div
106-
id
107-
=
108-
"
109-
host
110-
-
111-
window
112-
"
113-
>
114-
<
115-
template
116-
shadowrootmode
117-
=
118-
"
119-
open
120-
"
121-
>
122-
<
123-
a
124-
-
125-
b
126-
>
127-
<
128-
/
129-
a
130-
-
131-
b
132-
>
133-
<
134-
/
135-
template
136-
>
137-
<
138-
/
139-
div
140-
>
141-
<
142-
div
143-
id
144-
=
145-
"
146-
host
147-
-
148-
null
149-
"
150-
>
151-
<
152-
template
153-
shadowrootmode
154-
=
155-
"
156-
open
157-
"
158-
shadowrootcustomelementregistry
159-
=
160-
"
161-
"
162-
>
163-
<
164-
a
165-
-
166-
b
167-
>
168-
<
169-
/
170-
a
171-
-
172-
b
173-
>
174-
<
175-
/
176-
template
177-
>
178-
<
179-
/
180-
div
181-
>
182-
<
183105
script
184106
>
185107
setup

testing/web-platform/tests/custom-elements/registries/Element-customElementRegistry.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -523,9 +523,7 @@
523523
ab
524524
.
525525
customElementRegistry
526-
window
527-
.
528-
customElements
526+
null
529527
)
530528
;
531529
const

testing/web-platform/tests/custom-elements/registries/ShadowRoot-init-customElementRegistry.html

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -426,9 +426,7 @@
426426
shadowRoot
427427
.
428428
customElementRegistry
429-
window
430-
.
431-
customElements
429+
null
432430
)
433431
;
434432
}
@@ -438,8 +436,7 @@
438436
)
439437
should
440438
use
441-
the
442-
global
439+
null
443440
registry
444441
when
445442
customElementRegistry
@@ -515,9 +512,7 @@
515512
shadowRoot
516513
.
517514
customElementRegistry
518-
window
519-
.
520-
customElements
515+
null
521516
)
522517
;
523518
}
@@ -527,8 +522,7 @@
527522
)
528523
should
529524
use
530-
the
531-
global
525+
null
532526
registry
533527
when
534528
customElementRegistry

0 commit comments

Comments
 (0)