Changeset 70718 in webkit
- Timestamp:
- Oct 27, 2010 2:57:24 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r70715 r70718 1 2010-10-27 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Ojan Vafai. 4 5 REGRESSION(66511): CORDYS Process Factory doesn't work 6 https://bugs.webkit.org/show_bug.cgi?id=48453 7 8 Test some appendChild cases that didn't have coverage before. 9 10 * fast/dom/allowed-children-expected.txt: Added. 11 * fast/dom/allowed-children.html: Added. 12 1 13 2010-10-27 Adam Roben <aroben@apple.com> 2 14 -
trunk/WebCore/ChangeLog
r70716 r70718 1 2010-10-27 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Ojan Vafai. 4 5 REGRESSION(66511): CORDYS Process Factory doesn't work 6 https://bugs.webkit.org/show_bug.cgi?id=48453 7 8 When Ojan refactored this function in 66511, he missed an "else", 9 which causes us to generated HIERARCHY_REQUEST_ERR in some cases where 10 we're not supposed to. This patch restores the "else" behavior (using 11 an early return) and adds a test for the cases that caused problems in 12 the field. 13 14 Test: fast/dom/allowed-children.html 15 16 * dom/Node.cpp: 17 (WebCore::isChildTypeAllowed): 18 1 19 2010-10-27 Beth Dakin <bdakin@apple.com> 2 20 -
trunk/WebCore/dom/Node.cpp
r70473 r70718 1081 1081 if (!newParent->childTypeAllowed(child->nodeType())) 1082 1082 return false; 1083 return true; 1083 1084 } 1084 1085 … … 1087 1088 return false; 1088 1089 } 1089 1090 1090 return true; 1091 1091 }
Note: See TracChangeset
for help on using the changeset viewer.