Home | History | Annotate | Download | only in regress

Lines Matching refs:function

30 assertThrows(function() { Number.prototype.toExponential.call({}) },
33 assertThrows(function() { Number.prototype.toPrecision.call({}) },
36 assertThrows(function() { Number.prototype.toFixed.call({}) },
39 assertThrows(function() { Number.prototype.toString.call({}) },
42 assertThrows(function() { Number.prototype.toLocaleString.call({}) },
45 assertThrows(function() { Number.prototype.ValueOf.call({}) },
52 x_obj.valueOf = function() { assertUnreachable(); };
83 var f_obj = { valueOf: function() { f_flag = true; return 1000; } };
117 assertThrows(function() { Number.prototype.toFixed.call(NaN, f_obj) },
122 assertThrows(function() { Number.prototype.toFixed.call(1/0, f_obj) },
127 assertThrows(function() { Number.prototype.toFixed.call(-1/0, f_obj) },