RESOLVED FIXED 79294
[JSC] Implement ArrayBuffer and typed array cloning in JSC
https://bugs.webkit.org/show_bug.cgi?id=79294
Summary [JSC] Implement ArrayBuffer and typed array cloning in JSC
Dmitry Lomov
Reported 2012-02-22 16:05:30 PST
Attachments
Implementation + tests (63.42 KB, patch)
2012-02-22 16:10 PST, Dmitry Lomov
no flags
Dmitry Lomov
Comment 1 2012-02-22 16:10:49 PST
Created attachment 128318 [details] Implementation + tests
WebKit Review Bot
Comment 2 2012-02-22 18:51:11 PST
Comment on attachment 128318 [details] Implementation + tests Clearing flags on attachment: 128318 Committed r108594: <http://trac.webkit.org/changeset/108594>
WebKit Review Bot
Comment 3 2012-02-22 18:51:21 PST
All reviewed patches have been landed. Closing bug.
Yong Li
Comment 4 2012-03-23 14:11:16 PDT
if (!arrayBufferObj || !arrayBufferObj->inherits(&JSArrayBuffer::s_info)) 1241 return false; It assumes arrayBufferObj must be a JSArrayBuffer, however arrays like JSUitn8Array are derived from JSArrayBufferView. See https://bugs.webkit.org/show_bug.cgi?id=82090
Dmitry Lomov
Comment 5 2012-03-23 14:27:42 PDT
(In reply to comment #3) > All reviewed patches have been landed. Closing bug. (In reply to comment #4) > if (!arrayBufferObj || !arrayBufferObj->inherits(&JSArrayBuffer::s_info)) > 1241 return false; > > It assumes arrayBufferObj must be a JSArrayBuffer, however arrays like JSUitn8Array are derived from JSArrayBufferView. That is true but array buffer views are handled separately. There are numerous tests that pass checking that it all works. > > See https://bugs.webkit.org/show_bug.cgi?id=82090
Note You need to log in before you can comment on or make changes to this bug.