Changeset 199607 in webkit
- Timestamp:
- Apr 15, 2016 12:59:20 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r199605 r199607 1 2016-04-15 Myles C. Maxfield <mmaxfield@apple.com> 2 3 ASSERT when loading github.com 4 https://bugs.webkit.org/show_bug.cgi?id=156604 5 <rdar://problem/19890634> 6 7 Reviewed by Darin Adler. 8 9 * fast/forms/checkValidity-cloneNode-crash-expected.txt: Added. 10 * fast/forms/checkValidity-cloneNode-crash.html: Added. 11 1 12 2016-04-15 Brent Fulgham <bfulgham@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r199605 r199607 1 2016-04-15 Myles C. Maxfield <mmaxfield@apple.com> 2 3 ASSERT when loading github.com 4 https://bugs.webkit.org/show_bug.cgi?id=156604 5 <rdar://problem/19890634> 6 7 Reviewed by Darin Adler. 8 9 HTMLFormControlElement::m_isValid is a cache of the results of the valid() function. 10 When cloning the node, we were preserving each individual item, but not the state 11 of the cache. Therefore, the cache and the attributes didn't agree with each other. 12 13 Test: fast/forms/checkValidity-cloneNode-crash.html 14 15 * html/HTMLInputElement.cpp: 16 (WebCore::HTMLInputElement::copyNonAttributePropertiesFromElement): 17 1 18 2016-04-15 Brent Fulgham <bfulgham@apple.com> 2 19 -
trunk/Source/WebCore/html/HTMLInputElement.cpp
r198997 r199607 922 922 HTMLTextFormControlElement::copyNonAttributePropertiesFromElement(source); 923 923 924 updateValidity(); 924 925 setFormControlValueMatchesRenderer(false); 925 926 m_inputType->updateInnerTextValue();
Note: See TracChangeset
for help on using the changeset viewer.