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

Unified Diff: test/cctest/test-extra.js

Issue 1670923003: [bootstrapper] extra natives must not use natives syntax. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix test Created 4 years, 10 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
Index: test/cctest/test-extra.js
diff --git a/test/cctest/test-extra.js b/test/cctest/test-extra.js
index dfb6c8012cdbfad93b894acb7dbab6b63c714af4..b3752d97b28d96b38ca97b71739d0e139bee8eef 100644
--- a/test/cctest/test-extra.js
+++ b/test/cctest/test-extra.js
@@ -12,6 +12,15 @@
return binding.runtime(3);
};
+ binding.testFunctionToString = function() {
+ function foo() { return 1; }
+ return foo.toString();
+ };
+
+ binding.testStackTrace = function(f) {
+ return f();
+ }
+
// Exercise all of the extras utils:
// - v8.createPrivateSymbol
// - v8.simpleBind, v8.uncurryThis
« src/globals.h ('K') | « test/cctest/test-api.cc ('k') | test/mjsunit/debug-script.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698