Searched defs:toLocaleString (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/v8/test/mjsunit/regress/
H A Dregress-877615.js28 Number.prototype.toLocaleString = function() { return 'invalid'; };
29 assertEquals('invalid', [1].toLocaleString()); // invalid
31 Number.prototype.toLocaleString = 'invalid';
32 assertThrows(function() { [1].toLocaleString(); }); // Not callable.
34 delete Number.prototype.toLocaleString;
36 assertEquals([1].toLocaleString(), 'invalid'); // Uses ToObject on elements.
H A Dregress-r3391.js28 // Check what we do if toLocaleString doesn't return a string when we are
29 // calling Array.prototype.toLocaleString. The standard is somewhat
46 var o = {toString: evil_to_string, toLocaleString: evil_to_locale_string};
49 [o].toLocaleString();
/external/chromium_org/v8/test/webkit/fast/js/
H A Dobject-prototype-toLocaleString.js25 'Tests: Object.prototype.toLocaleString(). Related bug: <a href="https://bugs.webkit.org/show_bug.cgi?id=3989">3989 JSC doesn\'t implement Object.prototype.toLocaleString()</a>'
29 shouldBe("o.toLocaleString()", "o.toString()");
30 o.toLocaleString = function () { return "Dynamic toLocaleString()"; }
31 shouldBe("o.toLocaleString()", '"Dynamic toLocaleString()"');
33 shouldBe("Object.prototype.toLocaleString.call('Hello, world!')", '"Hello, world!"');
37 shouldBe("Object.prototype.toLocaleString.call('Hello, world!')", '"stringPrototypeToString"');
H A DtoString-overrides.js28 'This test checks for regression against <a href="https://bugs.webkit.org/show_bug.cgi?id=4147">4147: Array.toString() and toLocaleString() improvements from KDE KJS</a>.'
33 var backupNumberToLocaleString = Number.prototype.toLocaleString;
35 var backupRegExpToLocaleString = RegExp.prototype.toLocaleString;
39 Number.prototype.toLocaleString = function() { return "toLocaleString"; }
41 RegExp.prototype.toLocaleString = function() { return "toLocaleString2"; }
45 shouldBe("[1].toLocaleString()", "'toLocaleString'");
46 Number.prototype.toLocaleString = "invalid";
47 shouldBe("[1].toLocaleString()", "'
[all...]
/external/chromium_org/v8/test/webkit/fast/js/kde/
H A DArray.js203 var backupNumberToLocaleString = Number.prototype.toLocaleString;
205 var backupRegExpToLocaleString = RegExp.prototype.toLocaleString;
209 Number.prototype.toLocaleString = function() { return "toLocaleString"; }
211 RegExp.prototype.toLocaleString = function() { return "toLocaleString2"; }
215 shouldBe("[1].toLocaleString()", "'toLocaleString'");
216 Number.prototype.toLocaleString = "invalid";
217 shouldBe("[1].toLocaleString()", "'1'");
219 shouldBe("[/r/].toLocaleString()", "'toLocaleString
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Darray-tostring.js118 // Testing Array.prototype.toLocaleString
125 assertEquals("1,2,3,4", la1.toLocaleString());
128 String.prototype.toLocaleString = Array.prototype.toLocaleString;
129 assertEquals("1,2,3,4", "1234".toLocaleString());
131 // If toLocaleString of element is not callable, throw a TypeError.
132 var la2 = [1, {toLocaleString: "not callable"}, 3];
133 assertThrows(function() { la2.toLocaleString(); }, TypeError);
135 // If toLocaleString of element is callable, call it.
136 var la3 = [1, {toLocaleString
[all...]
/external/chromium_org/third_party/WebKit/Source/web/resources/
H A DcalendarPicker.js770 Month.prototype.toLocaleString = function() {
2495 cell.monthButtons[i].setAttribute("aria-label", month.toLocaleString());
2832 this.labelElement.textContent = month.toLocaleString();
2845 this.labelElement.textContent = this._useShortMonth ? month.toShortLocaleString() : month.toLocaleString();
3598 dayCell.element.setAttribute("aria-label", Month.createFromDay(day).toLocaleString());
/external/chromium_org/third_party/libaddressinput/src/java/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF AndroidManifest.xml android/ android/Manifest$permission.class ...
/external/robolectric/lib/main/
H A Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ...

Completed in 8708 milliseconds