[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 01:13:32 PDT 2018
https://bugs.webkit.org/show_bug.cgi?id=183586
--- Comment #29 from Ryosuke Niwa <rniwa at webkit.org> ---
Comment on attachment 345570
--> https://bugs.webkit.org/attachment.cgi?id=345570
Patch
View in context: https://bugs.webkit.org/attachment.cgi?id=345570&action=review
> Source/WebCore/html/parser/HTMLDocumentParser.cpp:214
> + if (isParsingFragment()) {
> + ASSERT(Document::validateCustomElementName(constructionData->name) == CustomElementNameValidationStatus::Valid);
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.
--
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/c0110833/attachment.html>
More information about the webkit-unassigned
mailing list