Bug 285338
| Summary: | ASSERTION FAILED: !input->userAgentShadowRoot() when cloning a switch input | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> |
| Component: | DOM | Assignee: | Anne van Kesteren <annevk> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | akeerthi, annevk, ap, rniwa, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Tim Nguyen (:ntim)
Noticed this on: https://bugs.webkit.org/attachment.cgi?id=473761
ASSERTION FAILED: !input->userAgentShadowRoot()
/Volumes/Data/Code/Safari/OpenSource/Source/WebCore/dom/Element.cpp(5518) : void WebCore::Element::cloneDataFromElement(const Element &)
1 0x304c3aed8 WebCore::Element::cloneDataFromElement(WebCore::Element const&)
2 0x304c3a7bc WebCore::Element::cloneElementWithoutChildren(WebCore::TreeScope&)
3 0x304c3a620 WebCore::Element::cloneNodeInternal(WebCore::TreeScope&, WebCore::Node::CloningOperation)
4 0x304a96594 WebCore::ContainerNode::cloneChildNodes(WebCore::TreeScope&, WebCore::ContainerNode&)
5 0x304c3aa00 WebCore::Element::cloneElementWithChildren(WebCore::TreeScope&)
6 0x304c3a684 WebCore::Element::cloneNodeInternal(WebCore::TreeScope&, WebCore::Node::CloningOperation)
7 0x304d63248 WebCore::Node::cloneNode(bool)
8 0x304d632e4 WebCore::Node::cloneNodeForBindings(bool)
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Ryosuke Niwa
This means that the optimization in https://bugs.webkit.org/show_bug.cgi?id=269900 isn't working for this specific case. Do you have a test case which reproduces this assertion failure?
Anne van Kesteren
Pull request: https://github.com/WebKit/WebKit/pull/38555
EWS
Committed 288458@main (1e3a17caec13): <https://commits.webkit.org/288458@main>
Reviewed commits have been landed. Closing PR #38555 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/142412129>