Changeset 130026 in webkit
- Timestamp:
- Oct 1, 2012 3:45:12 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r130024 r130026 1 2012-10-01 Arko Saha <arko@motorola.com> 2 3 Microdata: names.item() must return null for out of range indexes. 4 https://bugs.webkit.org/show_bug.cgi?id=97898 5 6 Reviewed by Kentaro Hara. 7 8 Added test case to ensure names.item() behavior for out of range indexes. 9 10 * fast/dom/MicroData/names-item-out-of-range-index-expected.txt: Added. 11 * fast/dom/MicroData/names-item-out-of-range-index.html: Added. 12 1 13 2012-10-01 Yoshifumi Inoue <yosin@chromium.org> 2 14 -
trunk/Source/WebCore/ChangeLog
r130024 r130026 1 2012-10-01 Arko Saha <arko@motorola.com> 2 3 Microdata: names.item() must return null for out of range indexes. 4 https://bugs.webkit.org/show_bug.cgi?id=97898 5 6 Reviewed by Kentaro Hara. 7 8 DOMStringList.item() must return null for an invalid index. 9 Spec: http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMStringList 10 Removed [IsIndex] extended IDL attribute from item() method's index 11 parameter in DOMStringList interface. 12 Firefox and Opera's behavior is consistent with the spec. Both 13 returns null for invalid index. 14 15 Test: fast/dom/MicroData/names-item-out-of-range-index.html 16 17 * dom/DOMStringList.idl: 18 1 19 2012-10-01 Yoshifumi Inoue <yosin@chromium.org> 2 20 -
trunk/Source/WebCore/dom/DOMStringList.idl
r120260 r130026 31 31 ] DOMStringList { 32 32 readonly attribute unsigned long length; 33 [TreatReturnedNullStringAs=Null] DOMString item(in [ IsIndex,Optional=DefaultIsUndefined] unsigned long index);33 [TreatReturnedNullStringAs=Null] DOMString item(in [Optional=DefaultIsUndefined] unsigned long index); 34 34 boolean contains(in [Optional=DefaultIsUndefined] DOMString string); 35 35 };
Note: See TracChangeset
for help on using the changeset viewer.