Ignore:
Timestamp:
Jan 13, 2006, 12:16:03 PM (19 years ago)
Author:
ap
Message:

Mostly merging work by Peter Kelly. Reviewed by Maciej, landed by ap.

JavaScriptCore:

  • kjs/array_object.cpp: Don't treat 232-1 as a real array index property. (ArrayInstance::getOwnPropertySlot): Ditto. (ArrayInstance::deleteProperty): Ditto. (ArrayInstance::put): Ditto. (ArrayInstance::propList): Added a FIXME comment. (ArrayInstance::put): Throw exception on trying to set invalid array length. (ArrayProtoFunc::callAsFunction): Do not use a separator argument when doing toString/toLocalString.
  • kjs/array_object.h: Added MAX_ARRAY_INDEX.

LayoutTests:

  • fast/js/kde/Array-expected.txt: Updated for newly-passing tests.
  • fast/js/array-tostring-ignore-separator.html: Added.
  • fast/js/array-tostring-ignore-separator-expected.txt: Added.
  • fast/js/resources/array-tostring-ignore-separator.js: Added.
File:
1 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.