| Index: mozilla-tests/ecma_3/Number/15.7.4.6-1.js
|
| ===================================================================
|
| --- mozilla-tests/ecma_3/Number/15.7.4.6-1.js (revision 43940)
|
| +++ mozilla-tests/ecma_3/Number/15.7.4.6-1.js (working copy)
|
| @@ -67,7 +67,22 @@
|
| expect = '7.7123e+1';
|
| captureThis();
|
|
|
| +status = 'Section B of test: Infinity.toExponential() with out-of-range fractionDigits';
|
| +actual = Number.POSITIVE_INFINITY.toExponential(-3);
|
| +expect = 'Infinity';
|
| +captureThis();
|
|
|
| +status = 'Section C of test: -Infinity.toExponential() with out-of-range fractionDigits';
|
| +actual = Number.NEGATIVE_INFINITY.toExponential(-3);
|
| +expect = '-Infinity';
|
| +captureThis();
|
| +
|
| +status = 'Section D of test: NaN.toExponential() with out-of-range fractionDigits';
|
| +actual = Number.NaN.toExponential(-3);
|
| +expect = 'NaN';
|
| +captureThis();
|
| +
|
| +
|
| /////////////////////////// OOPS.... ///////////////////////////////
|
| /*************************************************************************
|
| * 15.7.4.6 Number.prototype.toExponential(fractionDigits)
|
|
|