Index: test/mjsunit/es6/classes-subclass-builtins.js |
diff --git a/test/mjsunit/es6/classes-subclass-builtins.js b/test/mjsunit/es6/classes-subclass-builtins.js |
index 313aad1d8f6190eb7d3624e5572876f548d9eb62..75217ff13466f2c2a8fc21997900b3f45aa8d10e 100644 |
--- a/test/mjsunit/es6/classes-subclass-builtins.js |
+++ b/test/mjsunit/es6/classes-subclass-builtins.js |
@@ -78,11 +78,6 @@ function checkPrototypeChain(object, constructors) { |
constructor(...args) { |
assertFalse(new.target === undefined); |
super(...args); |
- // Strong functions are not extensible, so don't add fields. |
- if (args[args.length - 1].indexOf("use strong") >= 0) { |
- assertThrows(()=>{ this.a = 10; }, TypeError); |
- return; |
- } |
this.a = 42; |
this.d = 4.2; |
this.o = {foo:153}; |
@@ -659,15 +654,6 @@ function TestMapSetSubclassing(container, is_map) { |
var strict_func1 = new A("'use strict'; yield 312;"); |
assertTrue(%HaveSameMap(strict_func, strict_func1)); |
- // Strong generator function |
- var strong_func = new A("'use strong'; " + source); |
- assertFalse(%HaveSameMap(strong_func, sloppy_func)); |
- assertFalse(%HaveSameMap(strong_func, strict_func)); |
- CheckFunction(strong_func, true); |
- |
- var strong_func1 = new A("'use strong'; yield 312;"); |
- assertTrue(%HaveSameMap(strong_func, strong_func1)); |
- |
gc(); |
})(); |