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

Unified Diff: src/js/typedarray.js

Issue 2001393004: TypedArray: Make byteOffset, byteLength, and length properties configurable (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Remove passing tests from test262.status Created 4 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 | test/mjsunit/regress/regress-typedarray-length.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/js/typedarray.js
diff --git a/src/js/typedarray.js b/src/js/typedarray.js
index 18f6dde29975de4ba34b824b5c9f57fa84061efe..6c858236a826c9a626819af7cd63a347136a776a 100644
--- a/src/js/typedarray.js
+++ b/src/js/typedarray.js
@@ -827,12 +827,11 @@ utils.InstallFunctions(TypedArray, DONT_ENUM, [
"of", TypedArrayOf
]);
utils.InstallGetter(TypedArray.prototype, "buffer", TypedArrayGetBuffer);
-utils.InstallGetter(TypedArray.prototype, "byteOffset", TypedArrayGetByteOffset,
- DONT_ENUM | DONT_DELETE);
+utils.InstallGetter(TypedArray.prototype, "byteOffset",
+ TypedArrayGetByteOffset);
utils.InstallGetter(TypedArray.prototype, "byteLength",
- TypedArrayGetByteLength, DONT_ENUM | DONT_DELETE);
-utils.InstallGetter(TypedArray.prototype, "length", TypedArrayGetLength,
- DONT_ENUM | DONT_DELETE);
+ TypedArrayGetByteLength);
+utils.InstallGetter(TypedArray.prototype, "length", TypedArrayGetLength);
utils.InstallGetter(TypedArray.prototype, toStringTagSymbol,
TypedArrayGetToStringTag);
utils.InstallFunctions(TypedArray.prototype, DONT_ENUM, [
« no previous file with comments | « no previous file | test/mjsunit/regress/regress-typedarray-length.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698