/external/v8/test/mjsunit/regress/ |
H A D | regress-877615.js | 28 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 D | regress-r3391.js | 28 // 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/v8/test/webkit/fast/js/ |
H A D | object-prototype-toLocaleString.js | 25 '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 D | toString-overrides.js | 28 '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/v8/test/webkit/fast/js/kde/ |
H A D | Array.js | 203 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/v8/test/mjsunit/ |
H A D | array-tostring.js | 118 // 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/robolectric/v1/lib/main/ |
H A D | android.jar | META-INF/ META-INF/MANIFEST.MF com/ com/android/ com/android/internal/ com/android/internal/util/ ... |
/external/robolectric/v3/runtime/ |
H A D | android-all-4.1.2_r1-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.2.2_r1.2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.3_r2-robolectric-0.jar | META-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/accessibilityservice/AccessibilityService$1.class ... |
H A D | android-all-4.4_r1-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.0.0_r2-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |
H A D | android-all-5.1.1_r9-robolectric-1.jar | META-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ... |