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

Unified Diff: test/mjsunit/es6/classes-proxy.js

Issue 1496333002: Support intriscDefaultProto for Error functions (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
Index: test/mjsunit/es6/classes-proxy.js
diff --git a/test/mjsunit/es6/classes-proxy.js b/test/mjsunit/es6/classes-proxy.js
index d438b01ad8a3a5022f12084c695b39f4193e5f96..40a77035cc56a2a5643c320fe8ea4f5ea0d4453c 100644
--- a/test/mjsunit/es6/classes-proxy.js
+++ b/test/mjsunit/es6/classes-proxy.js
@@ -36,7 +36,7 @@ function CreateConstructableProxy(handler) {
var o = Reflect.construct(Number, [100], proxy);
assertEquals(["get trap"], log);
- assertTrue(Object.getPrototypeOf(o) === Object.prototype);
+ assertTrue(Object.getPrototypeOf(o) === Number.prototype);
assertEquals(100, Number.prototype.valueOf.call(o));
})();

Powered by Google App Engine
This is Rietveld 408576698