mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 21:35:39 +00:00
d559284d27
While prior patches created new test directories js/src/tests/ecma_5/strict and js/src/tests/js1_8_1/strict, they failed to add jstests.list entries to their parent directories. This adds them. The strict tests generally were written to use assertEq, which is simple and gives nice source positions in failure messages under the JS shell. However, the jsreftests require each test file to call reportCompare at least once. This adds a dummy call to reportCompare to each file. It would be nice to make everything work in both environments, perhaps using arguments.caller. The test script js/src/tests/ecma_5/strict/13.1.js tried parsing statements of the form 'function(x,x){}'. However, anonymous function expressions are not allowed in a statement context when JSOPTION_ANONFUNFIX is set. This is set under the browser, but clear in the shell; bug 532233 suggests that the two be reconciled. |
||
---|---|---|
.. | ||
ctypes | ||
jsd | ||
narcissus | ||
src | ||
landbranch.pl |