Index: src/arraybuffer.js |
diff --git a/src/arraybuffer.js b/src/arraybuffer.js |
index a34469cefb3a358fba523e4f6dff41c3cfc19fbb..e1c887fdb8bc849f38a3dc0891f91d7a03dde0f1 100644 |
--- a/src/arraybuffer.js |
+++ b/src/arraybuffer.js |
@@ -74,7 +74,8 @@ function SetUpArrayBuffer() { |
%FunctionSetPrototype($ArrayBuffer, new $Object()); |
// Set up the constructor property on the ArrayBuffer prototype object. |
- %AddProperty($ArrayBuffer.prototype, "constructor", $ArrayBuffer, DONT_ENUM); |
+ %AddNamedProperty( |
+ $ArrayBuffer.prototype, "constructor", $ArrayBuffer, DONT_ENUM); |
InstallGetter($ArrayBuffer.prototype, "byteLength", ArrayBufferGetByteLen); |