15.12.3-11-6.js - typo precodition

I'm emulating the run of tests in my unit test system and do not take into account situation when the precondition is not defined. This test - TestCases/chapter15/15.12/15.12.3/15.12.3-11-6.js - fa...

Id #30361 | Release: None | Updated: Feb 13, 2013 at 2:09 AM by efreeti | Created: Mar 17, 2011 at 9:35 AM by efreeti

13.1-3-3-s to 13.1-3-12s should have return statement

these test's catch (e) { e instanceof SyntaxError }   is no return value. should be catch (e) { return e instanceof SyntaxError }

Id #29680 | Release: None | Updated: Feb 13, 2013 at 2:09 AM by paulbartrum | Created: Dec 7, 2010 at 4:11 PM by Constellation

Test 15.2.3.2-1 always fail

It seems that test always fail. function testcase() { try { Object.getPrototypeOf(0); } catch (e) { if (e instanceof TypeError) { return true; } } }   Object.getPrototypeOf(0)...

Id #29304 | Release: None | Updated: Feb 13, 2013 at 2:09 AM by paulbartrum | Created: Nov 1, 2010 at 12:24 PM by abozhilov

Test 11.13.1-1-7-s assumes the "this" keyword is undefined

The test 11.13.1-1-7-s asserts in the description that "this" is undefined. This is incorrect; the "this" keyword is set to the test object.

Id #29152 | Release: None | Updated: Feb 13, 2013 at 2:09 AM by Constellation | Created: Oct 12, 2010 at 11:24 PM by paulbartrum

Test 11.4.1-4.a-4-s assumes the "this" keyword refers to the global object

The test 11.4.1-4.a-4-s assumes that "this.NaN" exists and is non-configurable. This is only true if "this" refers to the global object, but it doesn't; it refers to the test object instead.

Id #29151 | Release: None | Updated: Feb 13, 2013 at 2:09 AM by mmaly | Created: Oct 12, 2010 at 11:19 PM by paulbartrum

Test 15.4.4.22-9-1 has a copy and paste bug

This test checks that lastIndexVisited is one, even though the last index that is visited should be zero (since this test is checking Array.prototype.reduceRight and not Array.prototype.reduce). T...

Id #29146 | Release: None | Updated: Feb 13, 2013 at 2:09 AM by jwalden | Created: Oct 12, 2010 at 2:23 PM by paulbartrum

Test 15.4.4.17-8-10 mistakenly switches true and false around

The test 15.4.4.17-8-10 checks that the length property is honoured correctly by Array.prototype.some. Unfortunately the callback function mixes up "return false" and "return true" and so the call...

Id #29144 | Release: None | Updated: Feb 13, 2013 at 2:09 AM by jwalden | Created: Oct 12, 2010 at 1:20 PM by paulbartrum

Test 15.4.4.17-4-9 incorrectly asserts that Array.prototype.some returns -1

The test 15.4.4.17-4-9 asserts that Array.prototype.some returns -1 if the length property is zero. This is incorrect; it should return false instead.

Id #29143 | Release: None | Updated: Feb 13, 2013 at 2:09 AM by jwalden | Created: Oct 12, 2010 at 1:12 PM by paulbartrum

Tests 10.6-13-b-3-s and 10.6-13-c-3-s reference nonexistent property "put"

The tests 10.6-13-b-3-s and 10.6-13-c-3-s call Object.getOwnPropertyDescriptor to determine whether "arguments.callee" and "arguments.caller" are configurable. However, they check for the existenc...

Id #29141 | Release: None | Updated: Feb 13, 2013 at 2:09 AM by mmaly | Created: Oct 12, 2010 at 11:46 AM by paulbartrum

Test 15.3.2.1-11-6-s does not return a value

As far as I can tell, the test must return a value convertible to true in order to succeed. There is no return statement in the test 15.3.2.1-11-6-s, so it returns undefined, which is convertible ...

Id #29103 | Release: None | Updated: Feb 13, 2013 at 2:09 AM by mmaly | Created: Oct 6, 2010 at 10:47 AM by paulbartrum