Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(567)

Issue 10697033: Extend test for external arrays. (Closed)

Created:
8 years, 5 months ago by Yang
Modified:
8 years, 5 months ago
Reviewers:
rossberg
CC:
v8-dev
Visibility:
Public.

Description

Extend test for external arrays. R=rossberg@chromium.org BUG= TEST= Committed: https://code.google.com/p/v8/source/detail?r=11953

Patch Set 1 #

Total comments: 5

Patch Set 2 : . #

Patch Set 3 : addressed comments. #

Patch Set 4 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -1 line) Patch
M test/mjsunit/external-array.js View 1 2 3 4 chunks +4 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
Yang
8 years, 5 months ago (2012-06-29 11:16:58 UTC) #1
rossberg
Thanks! LGTM, with some nits. https://chromiumcodereview.appspot.com/10697033/diff/1/test/mjsunit/external-array.js File test/mjsunit/external-array.js (right): https://chromiumcodereview.appspot.com/10697033/diff/1/test/mjsunit/external-array.js#newcode479 test/mjsunit/external-array.js:479: assertEquals(ArrayBuffer, a.buffer.constructor); You can ...
8 years, 5 months ago (2012-06-29 11:29:44 UTC) #2
Yang
Please take another look.
8 years, 5 months ago (2012-06-29 13:05:24 UTC) #3
rossberg
LGTM, with another comment. https://chromiumcodereview.appspot.com/10697033/diff/1/test/mjsunit/external-array.js File test/mjsunit/external-array.js (right): https://chromiumcodereview.appspot.com/10697033/diff/1/test/mjsunit/external-array.js#newcode545 test/mjsunit/external-array.js:545: print(b.constructor) On 2012/06/29 11:29:44, rossberg ...
8 years, 5 months ago (2012-06-29 14:14:50 UTC) #4
Yang
8 years, 5 months ago (2012-06-29 15:06:05 UTC) #5
https://chromiumcodereview.appspot.com/10697033/diff/1/test/mjsunit/external-...
File test/mjsunit/external-array.js (right):

https://chromiumcodereview.appspot.com/10697033/diff/1/test/mjsunit/external-...
test/mjsunit/external-array.js:479: assertEquals(ArrayBuffer,
a.buffer.constructor);
On 2012/06/29 11:29:44, rossberg wrote:
> You can use the assertInstance helper that is defined at the beginning of the
> file (same below). Also, could you add the test to the other two cases above
as
> well?

Done.

https://chromiumcodereview.appspot.com/10697033/diff/1/test/mjsunit/external-...
test/mjsunit/external-array.js:545: print(b.constructor)
On 2012/06/29 14:14:50, rossberg wrote:
> On 2012/06/29 11:29:44, rossberg wrote:
> > This probably fits better with the tests following line 145.
> 
> Please don't just delete this test, but have it integrated with the tests at
> l.145 above. (It tests a different constructor call than the other tests you
> inserted.)

Done.

Powered by Google App Engine
This is Rietveld 408576698