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

Unified Diff: test/mjsunit/harmony/super.js

Issue 1422853004: [es6] Fix Object built-in subclassing. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@weak-subclass
Patch Set: Test updated Created 5 years, 2 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
« src/js/v8natives.js ('K') | « test/mjsunit/es6/classes-subclass-builtins.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/harmony/super.js
diff --git a/test/mjsunit/harmony/super.js b/test/mjsunit/harmony/super.js
index 651f3dca3f2da6617ad774815d61b9cc941d4a90..ae1c18c008197f9fbb2d069f604e0bc70e0037d6 100644
--- a/test/mjsunit/harmony/super.js
+++ b/test/mjsunit/harmony/super.js
@@ -2021,8 +2021,8 @@ TestKeyedSetterCreatingOwnPropertiesNonConfigurable(42, 43, 44);
class F extends Object { }
var f = new F(42);
- // TODO(dslomov,arv): Fix this. BUG=v8:3886.
- assertInstanceof(f, Number);
+ assertInstanceof(f, F);
+ assertInstanceof(f, Object);
}());
« src/js/v8natives.js ('K') | « test/mjsunit/es6/classes-subclass-builtins.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698