Reviewers: mvstanton,
Description:
Fix bug in "Migrate error messages, part 7".
[email protected]
Please review this at https://codereview.chromium.org/1124583006/
Base URL: https://chromium.googlesource.com/v8/v8.git@master
Affected files (+1, -1 lines):
M src/typedarray.js
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");
}
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.