/external/chromium_org/v8/test/webkit/fast/js/ |
D | toString-overrides.js | 33 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
|
D | object-prototype-toLocaleString-expected.txt | 24 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"
|
D | toString-overrides-expected.txt | 24 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
|
D | array-prototype-properties-expected.txt | 30 PASS Array.prototype.toLocaleString.call(undefined) threw exception TypeError: Cannot convert undef… 50 PASS [{toLocaleString:function(){throw 1}},{toLocaleString:function(){throw 2}}].toLocaleString() t…
|
D | object-prototype-toLocaleString.js | 30 o.toLocaleString = function () { return "Dynamic toLocaleString()"; } function
|
D | object-prototype-properties-expected.txt | 31 PASS Object.prototype.toLocaleString.call(undefined) threw exception TypeError: Object.prototype.to…
|
D | Object-getOwnPropertyNames-expected.txt | 67 …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/ |
D | array-tostring.js | 125 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;
|
D | cyclic-array-to-string.js | 32 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());
|
D | function-call.js | 30 [Object.prototype.toLocaleString, 77 Array.prototype.toLocaleString, 93 Date.prototype.toLocaleString,
|
/external/chromium_org/v8/test/mjsunit/regress/ |
D | regress-877615.js | 28 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.
|
D | regress-crbug-18639.js | 32 __defineGetter__("z", (0).toLocaleString); 35 ((0).toLocaleString)();
|
D | regress-r3391.js | 46 var o = {toString: evil_to_string, toLocaleString: evil_to_locale_string}; property 49 [o].toLocaleString();
|
D | regress-2443.js | 42 assertThrows(function() { Number.prototype.toLocaleString.call({}) }, method in Number
|
/external/chromium_org/v8/test/intl/overrides/ |
D | number.js | 36 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));
|
D | date.js | 40 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/ |
D | Array.js | 203 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
|
D | inbuilt_function_proto-expected.txt | 32 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/ |
D | sync_node_browser.js | 179 setLastRefreshTime('In progress since ' + (new Date()).toLocaleString()); 196 setLastRefreshTime((new Date()).toLocaleString());
|
/external/chromium_org/content/browser/resources/media/ |
D | peer_connection_update_table.js | 85 row.innerHTML = '<td>' + time.toLocaleString() + '</td>';
|
D | stats_table.js | 118 this.updateStatsTableRow_(statsTable, 'timestamp', date.toLocaleString());
|
D | webrtc_internals.js | 72 time: time.toLocaleString(),
|
/external/chromium_org/chrome/third_party/chromevox/third_party/closure-library/ |
D | README.chromium | 16 Number.prototype.toLocaleString and not depend on the number format classes
|
/external/chromium_org/v8/src/ |
D | i18n.js | 2008 %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/ |
D | chromeVoxKbExplorerScript.js | 22 …ELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString value…
|