Some notes on the tests.

https://codereview.chromium.org/553623004/diff/60001/test/mjsunit/array-length.js
File test/mjsunit/array-length.js (right):

https://codereview.chromium.org/553623004/diff/60001/test/mjsunit/array-length.js#newcode133
test/mjsunit/array-length.js:133: Array.prototype.toString.apply(o);
probably best to assert not that the length didn't change, but rather
that the result is sane.  note that not all MAX_VALUE / MAX_SAFE_INTEGER
expressions will be testable due to resource limitations.

https://codereview.chromium.org/553623004/diff/60001/test/mjsunit/array-length.js#newcode161
test/mjsunit/array-length.js:161:
Array.prototype.toLocaleString.apply(o);
What does this evaluate to?  Please tell me it's not a [ followed by
2^53 commas :)

https://codereview.chromium.org/553623004/diff/60001/test/mjsunit/array-length.js#newcode165
test/mjsunit/array-length.js:165: assertTrue(threw);
use assertThrows

https://codereview.chromium.org/553623004/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to