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

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

Issue 1501673002: Revert of [es6] Correctify and unify ArrayBuffer and SharedArrayBuffer constructors. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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/get-prototype-of.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/harmony/reflect-get-prototype-of.js
diff --git a/test/mjsunit/harmony/reflect-get-prototype-of.js b/test/mjsunit/harmony/reflect-get-prototype-of.js
index 6f8498b06fdc4020ea7d425c90dec06c35ef4c53..1ce86347df50d161ffe8ba54cd75e0a076790af8 100644
--- a/test/mjsunit/harmony/reflect-get-prototype-of.js
+++ b/test/mjsunit/harmony/reflect-get-prototype-of.js
@@ -100,6 +100,7 @@
// Builtin constructors.
var functions = [
Array,
+ ArrayBuffer,
Boolean,
// DataView,
Date,
@@ -134,8 +135,5 @@
var p = new Promise(function() {});
assertPrototypeOf(p, Promise.prototype);
-var ab = new ArrayBuffer(0);
-assertPrototypeOf(ab, ArrayBuffer.prototype);
-
-var dv = new DataView(ab);
+var dv = new DataView(new ArrayBuffer());
assertPrototypeOf(dv, DataView.prototype);
« no previous file with comments | « test/mjsunit/get-prototype-of.js ('k') | test/mjsunit/harmony/sharedarraybuffer.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698