Home
last modified time | relevance | path

Searched refs:toLocaleString (Results 1 – 25 of 36) sorted by relevance

12

/external/chromium_org/v8/test/webkit/fast/js/
DtoString-overrides.js33 var backupNumberToLocaleString = Number.prototype.toLocaleString;
35 var backupRegExpToLocaleString = RegExp.prototype.toLocaleString;
39 Number.prototype.toLocaleString = function() { return "toLocaleString"; } method in Number
41 RegExp.prototype.toLocaleString = function() { return "toLocaleString2"; } method in RegExp
46 Number.prototype.toLocaleString = "invalid"; method in Number
50 RegExp.prototype.toLocaleString = "invalid"; method in RegExp
63 Number.prototype.toLocaleString = backupNumberToLocaleString; method in Number
65 RegExp.prototype.toLocaleString = backupRegExpToLocaleString; method in RegExp
Dobject-prototype-toLocaleString-expected.txt24 Tests: Object.prototype.toLocaleString(). Related bug: 3989 JSC doesn't implement Object.prototype.
29 PASS o.toLocaleString() is o.toString()
30 PASS o.toLocaleString() is "Dynamic toLocaleString()"
31 PASS Object.prototype.toLocaleString.call('Hello, world!') is "Hello, world!"
32 PASS Object.prototype.toLocaleString.call('Hello, world!') is "stringPrototypeToString"
DtoString-overrides-expected.txt24 This test checks for regression against 4147: Array.toString() and toLocaleString() improvements fr…
30 PASS [1].toLocaleString() is 'toLocaleString'
31 FAIL [1].toLocaleString() should be 1. Threw exception TypeError: string is not a function
33 PASS [/r/].toLocaleString() is 'toLocaleString2'
34 FAIL [/r/].toLocaleString() should be toString2. Threw exception TypeError: string is not a function
Darray-prototype-properties-expected.txt30 PASS Array.prototype.toLocaleString.call(undefined) threw exception TypeError: Cannot convert undef…
50 PASS [{toLocaleString:function(){throw 1}},{toLocaleString:function(){throw 2}}].toLocaleString() t…
Dobject-prototype-toLocaleString.js30 o.toLocaleString = function () { return "Dynamic toLocaleString()"; } function
Dobject-prototype-properties-expected.txt31 PASS Object.prototype.toLocaleString.call(undefined) threw exception TypeError: Object.prototype.to…
DObject-getOwnPropertyNames-expected.txt67 …ructor', 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toLocaleString', 'toString', …
71 …educeRight', 'reverse', 'shift', 'slice', 'some', 'sort', 'splice', 'toLocaleString', 'toString', …
77 …es(Number.prototype) is ['constructor', 'toExponential', 'toFixed', 'toLocaleString', 'toPrecision…
79 …ing', 'toGMTString', 'toISOString', 'toJSON', 'toLocaleDateString', 'toLocaleString', 'toLocaleTim…
/external/chromium_org/v8/test/mjsunit/
Darray-tostring.js125 assertEquals("1,2,3,4", la1.toLocaleString());
128 String.prototype.toLocaleString = Array.prototype.toLocaleString; method in String
129 assertEquals("1,2,3,4", "1234".toLocaleString());
132 var la2 = [1, {toLocaleString: "not callable"}, 3]; property
133 assertThrows(function() { la2.toLocaleString(); }, TypeError);
136 var la3 = [1, {toLocaleString: function() { return "XX";}}, 3]; method
137 assertEquals("1,XX,3", la3.toLocaleString());
141 assertEquals("1,,3,,5,,7", la4.toLocaleString());
158 Number.prototype.arrayToLocaleString = Array.prototype.toLocaleString;
Dcyclic-array-to-string.js32 assertEquals("1,2", a1.toLocaleString());
36 assertEquals("1,2,", a1.toLocaleString());
40 assertEquals("1,2,,1", a1.toLocaleString());
44 assertEquals("1,2,,1,", a1.toLocaleString());
52 assertEquals("1,2,3,4,3,4", a1.toLocaleString());
56 assertEquals("1,2,3,4,,3,4,", a1.toLocaleString());
63 assertEquals("", a1.toLocaleString());
Dfunction-call.js30 [Object.prototype.toLocaleString,
77 Array.prototype.toLocaleString,
93 Date.prototype.toLocaleString,
/external/chromium_org/v8/test/mjsunit/regress/
Dregress-877615.js28 Number.prototype.toLocaleString = function() { return 'invalid'; }; method in Number
29 assertEquals('invalid', [1].toLocaleString()); // invalid
31 Number.prototype.toLocaleString = 'invalid'; method in Number
32 assertThrows(function() { [1].toLocaleString(); }); // Not callable.
34 delete Number.prototype.toLocaleString; method in delete
36 assertEquals([1].toLocaleString(), 'invalid'); // Uses ToObject on elements.
Dregress-crbug-18639.js32 __defineGetter__("z", (0).toLocaleString);
35 ((0).toLocaleString)();
Dregress-r3391.js46 var o = {toString: evil_to_string, toLocaleString: evil_to_locale_string}; property
49 [o].toLocaleString();
Dregress-2443.js42 assertThrows(function() { Number.prototype.toLocaleString.call({}) }, method in Number
/external/chromium_org/v8/test/intl/overrides/
Dnumber.js36 assertEquals(nf.format(integer), integer.toLocaleString());
37 assertEquals(nf.format(float), float.toLocaleString());
43 assertEquals(nf.format(integer), integer.toLocaleString(locale));
44 assertEquals(nf.format(float), float.toLocaleString(locale));
52 assertEquals(nf.format(integer), integer.toLocaleString(locale, options));
53 assertEquals(nf.format(float), float.toLocaleString(locale, options));
Ddate.js40 assertEquals(dtfAll.format(date), date.toLocaleString());
53 assertEquals(dtfAll.format(date), date.toLocaleString(locale));
63 assertEquals(dtf.format(date), date.toLocaleString(locale, options));
/external/chromium_org/v8/test/webkit/fast/js/kde/
DArray.js203 var backupNumberToLocaleString = Number.prototype.toLocaleString;
205 var backupRegExpToLocaleString = RegExp.prototype.toLocaleString;
209 Number.prototype.toLocaleString = function() { return "toLocaleString"; } method in Number
211 RegExp.prototype.toLocaleString = function() { return "toLocaleString2"; } method in RegExp
216 Number.prototype.toLocaleString = "invalid"; method in Number
220 RegExp.prototype.toLocaleString = "invalid"; method in RegExp
233 Number.prototype.toLocaleString = backupNumberToLocaleString; method in Number
235 RegExp.prototype.toLocaleString = backupRegExpToLocaleString; method in RegExp
Dinbuilt_function_proto-expected.txt32 PASS Array.prototype.toLocaleString.__proto__ is Function.prototype
78 PASS Date.prototype.toLocaleString.__proto__ is Function.prototype
/external/chromium_org/chrome/browser/resources/sync_internals/
Dsync_node_browser.js179 setLastRefreshTime('In progress since ' + (new Date()).toLocaleString());
196 setLastRefreshTime((new Date()).toLocaleString());
/external/chromium_org/content/browser/resources/media/
Dpeer_connection_update_table.js85 row.innerHTML = '<td>' + time.toLocaleString() + '</td>';
Dstats_table.js118 this.updateStatsTableRow_(statsTable, 'timestamp', date.toLocaleString());
Dwebrtc_internals.js72 time: time.toLocaleString(),
/external/chromium_org/chrome/third_party/chromevox/third_party/closure-library/
DREADME.chromium16 Number.prototype.toLocaleString and not depend on the number format classes
/external/chromium_org/v8/src/
Di18n.js2008 %FunctionSetName($Number.prototype.toLocaleString, 'toLocaleString');
2009 %FunctionRemovePrototype($Number.prototype.toLocaleString);
2010 %SetNativeFlag($Number.prototype.toLocaleString);
2054 %FunctionSetName($Date.prototype.toLocaleString, 'toLocaleString');
2055 %FunctionRemovePrototype($Date.prototype.toLocaleString);
2056 %SetNativeFlag($Date.prototype.toLocaleString);
/external/chromium_org/chrome/third_party/chromevox/
DchromeVoxKbExplorerScript.js22 …ELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString value…

12