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

Unified Diff: src/v8natives.js

Issue 23190013: Give bound function name for aesthetic matters (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 4 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 | « no previous file | test/mjsunit/function-names.js » ('j') | test/mjsunit/function-names.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/v8natives.js
diff --git a/src/v8natives.js b/src/v8natives.js
index 76eeac6a58f98552c433103302590d543793b65e..a669890c63b3555224afc750a6a1fcbf7b1dd020 100644
--- a/src/v8natives.js
+++ b/src/v8natives.js
@@ -1728,7 +1728,7 @@ function FunctionBind(this_arg) { // Length is 1.
if (!IS_SPEC_FUNCTION(this)) {
throw new $TypeError('Bind must be called on a function');
}
- var boundFunction = function () {
+ var boundFunction = function BoundFunction() {
// Poison .arguments and .caller, but is otherwise not detectable.
"use strict";
// This function must not use any object literals (Object, Array, RegExp),
« no previous file with comments | « no previous file | test/mjsunit/function-names.js » ('j') | test/mjsunit/function-names.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698