Changeset 139673 in webkit
- Timestamp:
- Jan 14, 2013 3:02:19 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r139671 r139673 1 2013-01-14 Arko Saha <arko@motorola.com> 2 3 Microdata: REGRESSION(r138725): Causes crash in chromium port 4 https://bugs.webkit.org/show_bug.cgi?id=106828 5 6 Reviewed by Ryosuke Niwa. 7 8 * fast/dom/MicroData/propertiescollection-crash-expected.txt: Added. 9 * fast/dom/MicroData/propertiescollection-crash.html: Added. 10 1 11 2013-01-14 Stephen Chenney <schenney@chromium.org> 2 12 -
trunk/Source/WebCore/ChangeLog
r139669 r139673 1 2013-01-14 Arko Saha <arko@motorola.com> 2 3 Microdata: REGRESSION(r138725): Causes crash in chromium port 4 https://bugs.webkit.org/show_bug.cgi?id=106828 5 6 Reviewed by Ryosuke Niwa. 7 8 We should hold PropertyNodeList in RefPtr<PropertyNodeList>. 9 10 Test: fast/dom/MicroData/propertiescollection-crash.html 11 12 * bindings/v8/custom/V8HTMLCollectionCustom.cpp: 13 (WebCore::V8HTMLCollection::namedPropertyGetter): 14 1 15 2013-01-14 Tien-Ren Chen <trchen@chromium.org> 2 16 -
trunk/Source/WebCore/bindings/v8/custom/V8HTMLCollectionCustom.cpp
r138725 r139673 55 55 #if ENABLE(MICRODATA) 56 56 if (imp->type() == ItemProperties) { 57 PropertyNodeList* item = static_cast<HTMLPropertiesCollection*>(imp)->propertyNodeList(toWebCoreAtomicString(name)).get();57 RefPtr<PropertyNodeList> item = static_cast<HTMLPropertiesCollection*>(imp)->propertyNodeList(toWebCoreAtomicString(name)); 58 58 if (!item) 59 59 return v8Undefined(); 60 return toV8(item , info.Holder(), info.GetIsolate());60 return toV8(item.release(), info.Holder(), info.GetIsolate()); 61 61 } 62 62 #endif
Note: See TracChangeset
for help on using the changeset viewer.