Fixed line lengths and comments for invalid tests. Thanks!


http://codereview.chromium.org/6396008/diff/1/test/es5conform/es5conform.status
File test/es5conform/es5conform.status (right):

http://codereview.chromium.org/6396008/diff/1/test/es5conform/es5conform.status#newcode399
test/es5conform/es5conform.status:399: # test uses implicit return
(which doesn't seem to work in v8 or safari jsc)
On 2011/02/07 08:27:18, Lasse Reichstein wrote:
I think it's because the test was originally written for a harness
where
returning undefined was considered a success - and the author just
forgot to
return the result of the "instanceof" test.
Still a bad test.

(I'm not aware of any JS implementation with "implicit return", so
just say that
it fails to return a true value).

Done.

http://codereview.chromium.org/6396008/diff/1/test/es5conform/es5conform.status#newcode434
test/es5conform/es5conform.status:434: # Invalid test case per ECMA-262
5th Edition, 10.1.1, bullet 4
On 2011/02/07 08:27:18, Lasse Reichstein wrote:
The test seems correct to me.
The Function call creates a function that is not strict, so it should
be allowed
to have two "a" parameters. I.e., the result of the test should be to
not throw.
How do we fail it?

Actually, the reason is same as above. On success, the test fails to
return true, returning undefined, leading to failure.

http://codereview.chromium.org/6396008/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to