gecko/js
Jim Blandy b02e993bd9 Bug 461180: Don't depend on type coercion when checking trace test results. r=mrbkap
A number of the tests in js/src/trace-test.js specify expected results
of a different type from the actual results.  For example, the lsh
test function returns an array of results, while its expected value is
that the string that array becomes when coerced to a string.  This
trick allows tests to return structured values as results, even though
JavaScript lacks a deep equality operator.  However, this behavior can
be troublesome when writing a test whose goals include checking the
type of the result.

Some tests simply specify expected values as strings for no apparent
reason.

This patch reworks these so that the expected and actual values have
the same type.
2008-12-01 15:14:06 -08:00
..
jsd Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
narcissus
src Bug 461180: Don't depend on type coercion when checking trace test results. r=mrbkap 2008-12-01 15:14:06 -08:00
tests Test case to detect bug 465862: case-insensitive mode in the native regexp compiler 2008-11-21 10:56:24 -08:00
landbranch.pl
makefile.win