05:56
<annevk>
sideshowbarker: doing (very late) spring cleanup?
06:09
<sideshowbarker>
Something like that yeah
06:14
<annevk>
Whoa, someone left a lot of spam. Thanks for dealing with it Domenic!
09:55
<AtkinsSJ>

annevk: I'm going through Ladybird failures on the scoped custom element registry tests, and passing a registry to Document.importNode() isn't making sense to me. I see that Safari passes all of custom-elements/registries/Document-importNode.html, so maybe the implementation doesn't match the spec there. I'm looking at the second subtest there:

assert_true(document.importNode(document.createElement('some-element'), {customElementRegistry: scopedRegistry}) instanceof ScopedSomeElement);

some-element gets created using the document's registry. The test then expects importNode() to return a node that is using scopedRegistry instead. But, the registry is passed as cloneNode()'s fallbackRegistry, and that's only used if the node doesn't already have a registry. And it does have one!

10:00
<AtkinsSJ>
The idea of cloning a custom element and getting a different type of custom element seems strange to me but maybe I just need to read up on that more.
10:45
<gogo>

Hello freddy I am happy to meet the core team!

I was asking, how can I see in the inspector of the dom of mozilla if the result of an innerHTML or what else creation is TrustedTYpe or not pleqse? I need to check for xss.

11:33
<Martin Spasov>

Hey, im reading through the spec and have a question. Hope this is the place to ask. The first point from the section on inserting a node into a parent is unclear to me: https://dom.spec.whatwg.org/#concept-node-insert

It says:

Let nodes be node’s children, if node is a DocumentFragment node; otherwise « node ».

What does "<< node >>" mean?

11:33
<AtkinsSJ>
It means it's a list. https://infra.spec.whatwg.org/#list
11:35
<Martin Spasov>
that was fast, thank you!
11:36
<AtkinsSJ>
You're welcome!
12:19
<annevk>
AtkinsSJ: that might well be a bug. I think we decided that importNode() wouldn't change the registry (except if its null).
12:24
<annevk>
AtkinsSJ: yeah I don't think WebKit matches the specification.
21:43
<cwilso>
Once again not seeing anything agenda+ed for tomorrow's WHATNOT. Should I cancel it?
21:59
<bkardell>
Wfm 🙂