DescriptionFix assertSame for unit testing harness.
Using isNaN() here is bogus because it performs an implicit toNumber()
conversion, hence something like assertSame(undefined, {}) would not
throw an exception. These are not the NaNs you are looking for.
R=rossberg@chromium.org
TEST=mjsunit
Committed: http://code.google.com/p/v8/source/detail?r=9831
Patch Set 1 #
Total comments: 2
Messages
Total messages: 2 (0 generated)
|