Home
last modified time | relevance | path

Searched refs:f_obj (Results 1 – 1 of 1) sorted by relevance

/external/v8/test/mjsunit/regress/
Dregress-2443.js83 var f_obj = { valueOf: function() { f_flag = true; return 1000; } };
86 Number.prototype.toExponential.call(NaN, f_obj));
91 Number.prototype.toExponential.call(1/0, f_obj));
96 Number.prototype.toExponential.call(-1/0, f_obj));
101 Number.prototype.toPrecision.call(NaN, f_obj));
106 Number.prototype.toPrecision.call(1/0, f_obj));
111 Number.prototype.toPrecision.call(-1/0, f_obj));
117 assertThrows(function() { Number.prototype.toFixed.call(NaN, f_obj) }, argument
122 assertThrows(function() { Number.prototype.toFixed.call(1/0, f_obj) }, argument
127 assertThrows(function() { Number.prototype.toFixed.call(-1/0, f_obj) }, argument