[webkit-reviews] review requested: [Bug 40755] Clean up error conditions for Typed Arrays : [Attachment 58954] Patch

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jun 16 19:30:12 PDT 2010


Kenneth Russell <kbr at google.com> has asked  for review:
Bug 40755: Clean up error conditions for Typed Arrays
https://bugs.webkit.org/show_bug.cgi?id=40755

Attachment 58954: Patch
https://bugs.webkit.org/attachment.cgi?id=58954&action=review

------- Additional Comments from Kenneth Russell <kbr at google.com>
>From the ChangeLog:

Fixed handling of NaN/+inf/-inf lengths. Throw RangeError for too-large or
negative lengths. Changed all error code paths to throw exceptions. Clarified
exception types. Added necessary null checks during allocation. Added tests for
overloaded ArrayBufferView constructors taking null, and improperly aligned
offsets. Improved precision of tests causing INDEX_SIZE_ERR to be thrown.


More information about the webkit-reviews mailing list