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

Unified Diff: test/mjsunit/messages.js

Issue 1323543002: [runtime] Replace %to_string_fun with %_ToString. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@ToStringStub
Patch Set: REBASE. Fixes Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « test/mjsunit/compiler/jsnatives.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/messages.js
diff --git a/test/mjsunit/messages.js b/test/mjsunit/messages.js
index 45443c75d15752fd99640dd7dc51a5cd775d3814..b8c3114d3685574d3236df28f46bc8bfdffb65c4 100644
--- a/test/mjsunit/messages.js
+++ b/test/mjsunit/messages.js
@@ -76,7 +76,8 @@ test(function() {
// kCannotConvertToPrimitive
test(function() {
- [].join(Object(Symbol(1)));
+ var o = { toString: function() { return this } };
+ [].join(o);
}, "Cannot convert object to primitive value", TypeError);
// kCircularStructure
« no previous file with comments | « test/mjsunit/compiler/jsnatives.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698