Ignore:
Timestamp:
Jan 9, 2007, 9:38:46 AM (18 years ago)
Author:
ap
Message:

2007-01-09 Mitz Pettel <[email protected]>

Reviewed by Darin.

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/JavaScriptCore.exp

    r18481 r18715  
    248248__ZNK3KJS7JSValue7toInt32EPNS_9ExecStateERb
    249249__ZNK3KJS7JSValue8toUInt32EPNS_9ExecStateE
     250__ZNK3KJS7JSValue8toUInt32EPNS_9ExecStateERb
    250251__ZNK3KJS7JSValue9toIntegerEPNS_9ExecStateE
    251252__ZNK3KJS7UString10UTF8StringEv
Note: See TracChangeset for help on using the changeset viewer.