[Webkit-unassigned] [Bug 183586] Custom Elements: connectedCallback is invoked at unexpected timing

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Aug 3 02:05:47 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=183586

--- Comment #31 from Frédéric Wang (:fredw) <fred.wang at free.fr> ---
(In reply to Ryosuke Niwa from comment #30)
> Oh, interesting. There is a subtle bug in the element queue implementation
> here. Will look into it tomorrow.

Thank you!

(In reply to Ryosuke Niwa from comment #29)
> Comment on attachment 345570 [details]
> This is not the right place to check this condition. We need to override the
> behavior of
> HTMLConstructionSite::createHTMLElementOrFindCustomElementInterface instead.
> Will upload a patch shortly.

BTW, I suspect this bug is also going to happen for XML parsing but the code path is different (it uses Document::createElement instead of constructElementWithFallback to create the custom element). You might want to take a look at bug 187802 once you've addressed that one.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20180803/be546e3e/attachment.html>


More information about the webkit-unassigned mailing list