2007-01-09 Mitz Pettel <mitz@webkit.org>
Reviewed by Darin. - changes for http://bugs.webkit.org/show_bug.cgi?id=11078 Forms Don't Submit (ASP Pages) JavaScriptCore: * JavaScriptCore.exp: * kjs/value.cpp: (KJS::JSValue::toInt32): Folded toInt32Inline into this method, which was its only caller. (KJS::JSValue::toUInt32): Added a variant that reports if the conversion has succeeded. * kjs/value.h: WebCore: * bindings/js/kjs_html.cpp: (KJS::JSHTMLCollectionProtoFunc::callAsFunction): Changed item() to fall back to namedItem() if its argument does not convert to a number. LayoutTests: * fast/dom/collection-namedItem-via-item-expected.txt: Added. * fast/dom/collection-namedItem-via-item.html: Added. git-svn-id: svn://svn.chromium.org/blink/trunk@18715 bbb929c8-8fbe-4397-9dbb-9b2b20218538
Showing
Please register or sign in to comment