From: yangguo Date: Tue, 5 May 2015 10:25:55 +0000 (-0700) Subject: Fix bug in "Migrate error messages, part 7". X-Git-Tag: upstream/4.7.83~2820 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=728f0af66d6da2c7f091ef3b3ab3037c59c5d9ee;p=platform%2Fupstream%2Fv8.git Fix bug in "Migrate error messages, part 7". TBR=mvstanton@chromium.org NOTRY=true Review URL: https://codereview.chromium.org/1124583006 Cr-Commit-Position: refs/heads/master@{#28220} --- diff --git a/src/typedarray.js b/src/typedarray.js index 3bd7766..8a16a25 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"); } }