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

Unified Diff: test/mjsunit/get-prototype-of.js

Issue 1192433003: Revert of Add %TypedArray% to proto chain (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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 | « test/mjsunit/es6/built-in-accessor-names.js ('k') | test/mjsunit/harmony/sharedarraybuffer.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/get-prototype-of.js
diff --git a/test/mjsunit/get-prototype-of.js b/test/mjsunit/get-prototype-of.js
index 95bd157a518ae90643a5045d4e7c0f4f3d27b0a6..47edcb0a771123f03dbd275ccf20a3872f2d58bc 100644
--- a/test/mjsunit/get-prototype-of.js
+++ b/test/mjsunit/get-prototype-of.js
@@ -82,7 +82,12 @@
// DataView,
Date,
Error,
+ Float32Array,
+ Float64Array,
Function,
+ Int16Array,
+ Int32Array,
+ Int8Array,
Map,
Number,
Object,
@@ -91,6 +96,10 @@
Set,
String,
// Symbol, not constructible
+ Uint16Array,
+ Uint32Array,
+ Uint8Array,
+ Uint8ClampedArray,
WeakMap,
WeakSet,
];
@@ -100,23 +109,6 @@
assertPrototypeOf(new f(), f.prototype);
}
-var typedArrayConstructors = [
- Float32Array,
- Float64Array,
- Int16Array,
- Int32Array,
- Int8Array,
- Uint16Array,
- Uint32Array,
- Uint8Array,
- Uint8ClampedArray,
-];
-
-for (var t of typedArrayConstructors) {
- assertPrototypeOf(t, Uint8Array.__proto__);
- assertPrototypeOf(new t(), t.prototype);
-}
-
var p = new Promise(function() {});
assertPrototypeOf(p, Promise.prototype);
« no previous file with comments | « test/mjsunit/es6/built-in-accessor-names.js ('k') | test/mjsunit/harmony/sharedarraybuffer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698