Search
1
vote

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 | Planned Release: None | Last Updated: Mar 17 2011 at 10:35 AM by efreeti | Created On: Mar 17 2011 at 10:35 AM by efreeti
1
vote

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 | Planned Release: None | Last Updated: Dec 8 2010 at 1:10 AM by paulbartrum | Created On: Dec 7 2010 at 5:11 PM by Constellation
1
vote

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; } } }...

Id #29304 | Planned Release: None | Last Updated: Nov 5 2010 at 5:29 PM by paulbartrum | Created On: Nov 1 2010 at 1:24 PM by abozhilov
2
votes

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 | Planned Release: None | Last Updated: Dec 7 2010 at 4:57 PM by Constellation | Created On: Oct 13 2010 at 12:24 AM by paulbartrum
3
votes

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 | Planned Release: None | Last Updated: Feb 13 2011 at 3:49 AM by mmaly | Created On: Oct 13 2010 at 12:19 AM by paulbartrum
1
vote

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 | Planned Release: None | Last Updated: Jan 1 2011 at 10:36 PM by jwalden | Created On: Oct 12 2010 at 3:23 PM by paulbartrum
1
vote

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 | Planned Release: None | Last Updated: Jan 1 2011 at 10:37 PM by jwalden | Created On: Oct 12 2010 at 2:20 PM by paulbartrum
1
vote

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 | Planned Release: None | Last Updated: Jan 1 2011 at 10:37 PM by jwalden | Created On: Oct 12 2010 at 2:12 PM by paulbartrum
3
votes

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 | Planned Release: None | Last Updated: Feb 4 2011 at 10:34 PM by mmaly | Created On: Oct 12 2010 at 12:46 PM by paulbartrum
2
votes

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 | Planned Release: None | Last Updated: Feb 4 2011 at 10:50 PM by mmaly | Created On: Oct 6 2010 at 11:47 AM by paulbartrum
Show 10  25  50 Work Items
1-10 of 34 Work Items < Previous 1 2 3 4 Next >
Updating...
© 2006-2012 Microsoft | Get Help | Privacy Statement | Terms of Use | Code of Conduct | Advertise With Us | Version 2012.2.15.18416