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

Unified Diff: src/typedarray.js

Issue 1124583006: Fix bug in "Migrate error messages, part 7". (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/typedarray.js
diff --git a/src/typedarray.js b/src/typedarray.js
index 3bd7766ab2b8d9d6781cf39713ea14d1097d1626..8a16a25a399ad4deea51d1634c9ff4085d68893a 100644
--- a/src/typedarray.js
+++ b/src/typedarray.js
@@ -360,7 +360,7 @@ function DataViewConstructor(buffer, byteOffset, byteLength) { // length = 3
}
%_DataViewInitialize(this, buffer, offset, length);
} else {
- throw MakeTypeError('constructor_not_function', ["DataView"]);
+ throw MakeTypeError(kConstructorNotFunction, "DataView");
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698