Changeset 195727 in webkit
- Timestamp:
- Jan 27, 2016, 8:42:36 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/LayoutTests/ChangeLog ¶
r195724 r195727 1 2016-01-27 Ryosuke Niwa <rniwa@webkit.org> 2 3 REGRESSION(r190430): Assertion failure in Text::~Text() 4 https://bugs.webkit.org/show_bug.cgi?id=153577 5 6 Reviewed by Antti Koivisto. 7 8 Added a regression test. The test hits an assertion in debug build without the fix. 9 10 * fast/shadow-dom/slot-removal-crash-2-expected.txt: Added. 11 * fast/shadow-dom/slot-removal-crash-2.html: Added. 12 1 13 2016-01-27 Said Abou-Hallawa <sabouhallawa@apple.com> 2 14 -
TabularUnified trunk/Source/WebCore/ChangeLog ¶
r195724 r195727 1 2016-01-27 Ryosuke Niwa <rniwa@webkit.org> 2 3 REGRESSION(r190430): Assertion failure in Text::~Text() 4 https://bugs.webkit.org/show_bug.cgi?id=153577 5 6 Reviewed by Antti Koivisto. 7 8 The bug was caused by destroyRenderTreeIfNeeded exiting early on all HTMLSlotElement as it lacks a render object. 9 Fixed it by explicitly avoiding the early return when child is a HTMLSlotElement. 10 11 Test: fast/shadow-dom/slot-removal-crash-2.html 12 13 * dom/ContainerNode.cpp: 14 (WebCore::destroyRenderTreeIfNeeded): 15 1 16 2016-01-27 Said Abou-Hallawa <sabouhallawa@apple.com> 2 17 -
TabularUnified trunk/Source/WebCore/dom/ContainerNode.cpp ¶
r194691 r195727 36 36 #include "HTMLFormControlsCollection.h" 37 37 #include "HTMLOptionsCollection.h" 38 #include "HTMLSlotElement.h" 38 39 #include "HTMLTableRowsCollection.h" 39 40 #include "InlineTextBox.h" … … 100 101 { 101 102 // FIXME: Get rid of the named flow test. 102 if (!child.renderer() && !child.isNamedFlowContentNode() )103 if (!child.renderer() && !child.isNamedFlowContentNode() && !is<HTMLSlotElement>(child)) 103 104 return; 104 105 if (is<Element>(child))
Note:
See TracChangeset
for help on using the changeset viewer.