Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(489)

Side by Side Diff: LayoutTests/fast/js/script-tests/object-prototype-toLocaleString.js

Issue 20867002: Remove old tests that have been migrated to the v8 repo. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove unused script-tests as well Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 description(
2 'Tests: Object.prototype.toLocaleString(). Related bug: <a href="https://bugs.we bkit.org/show_bug.cgi?id=3989">3989 JSC doesn\'t implement Object.prototype.toLo caleString()</a>'
3 );
4
5 var o = new Object();
6 shouldBe("o.toLocaleString()", "o.toString()");
7 o.toLocaleString = function () { return "Dynamic toLocaleString()"; }
8 shouldBe("o.toLocaleString()", '"Dynamic toLocaleString()"');
9
10 shouldBe("Object.prototype.toLocaleString.call('Hello, world!')", '"Hello, world !"');
11
12 var stringPrototypeToString = String.prototype.toString;
13 String.prototype.toString = (function(){ return "stringPrototypeToString"; });
14 shouldBe("Object.prototype.toLocaleString.call('Hello, world!')", '"stringProtot ypeToString"');
15 String.prototype.toString = stringPrototypeToString;
OLDNEW
« no previous file with comments | « LayoutTests/fast/js/script-tests/object-prototype-properties.js ('k') | LayoutTests/fast/js/script-tests/object-slow-put.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698