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