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
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
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
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
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
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
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
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
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
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
|
|
|
|
|