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

Unified Diff: test/cctest/test-api.cc

Issue 1542963002: [runtime] Introduce dedicated JSBoundFunction to represent bound functions. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@FunctionConstructor
Patch Set: arm port. Created 5 years 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
Index: test/cctest/test-api.cc
diff --git a/test/cctest/test-api.cc b/test/cctest/test-api.cc
index 12e99a08474feee263357cfc58d938b2fbc258a2..9f0c9052e1a2630ebda39f35927ed1cada56a67c 100644
--- a/test/cctest/test-api.cc
+++ b/test/cctest/test-api.cc
@@ -11670,7 +11670,7 @@ THREADED_TEST(Regress567998) {
CHECK(
env->Global()->Set(env.local(), v8_str("undetectable"), obj).FromJust());
- ExpectString("undetectable.toString()", "[object Object]");
+ ExpectString("undetectable.toString()", "[object Function]");
ExpectString("typeof undetectable", "undefined");
ExpectString("typeof(undetectable)", "undefined");
ExpectBoolean("typeof undetectable == 'undefined'", true);

Powered by Google App Engine
This is Rietveld 408576698