| Index: test/mjsunit/harmony/object-literals-super.js
|
| diff --git a/test/mjsunit/harmony/object-literals-super.js b/test/mjsunit/harmony/object-literals-super.js
|
| index ec22b8a8a32e9609e8893278c1327111e4afd1ad..c2d456c8774eaf155aa4060e4a25271bb98b9095 100644
|
| --- a/test/mjsunit/harmony/object-literals-super.js
|
| +++ b/test/mjsunit/harmony/object-literals-super.js
|
| @@ -22,15 +22,6 @@
|
| set accessor(v) {
|
| super.accessor = v;
|
| },
|
| - property: function() {
|
| - super.property();
|
| - },
|
| - propertyWithParen: (function() {
|
| - super.property();
|
| - }),
|
| - propertyWithParens: ((function() {
|
| - super.property();
|
| - })),
|
|
|
| methodNoSuper() {},
|
| get getterNoSuper() {},
|
| @@ -50,9 +41,6 @@
|
| desc = Object.getOwnPropertyDescriptor(object, 'accessor');
|
| assertEquals(object, desc.get[%HomeObjectSymbol()]);
|
| assertEquals(object, desc.set[%HomeObjectSymbol()]);
|
| - assertEquals(object, object.property[%HomeObjectSymbol()]);
|
| - assertEquals(object, object.propertyWithParen[%HomeObjectSymbol()]);
|
| - assertEquals(object, object.propertyWithParens[%HomeObjectSymbol()]);
|
|
|
| assertEquals(undefined, object.methodNoSuper[%HomeObjectSymbol()]);
|
| desc = Object.getOwnPropertyDescriptor(object, 'getterNoSuper');
|
| @@ -118,21 +106,6 @@
|
| })();
|
|
|
|
|
| -(function TestMethodAsProperty() {
|
| - var object = {
|
| - __proto__: {
|
| - method: function(x) {
|
| - return 'proto' + x;
|
| - }
|
| - },
|
| - method: function(x) {
|
| - return super.method(x);
|
| - }
|
| - };
|
| - assertEquals('proto42', object.method(42));
|
| -})();
|
| -
|
| -
|
| (function TestOptimized() {
|
| // Object literals without any accessors get optimized.
|
| var object = {
|
| @@ -154,15 +127,7 @@
|
| *g() {
|
| yield super.m();
|
| },
|
| - g2: function*() {
|
| - yield super.m() + 1;
|
| - },
|
| - g3: (function*() {
|
| - yield super.m() + 2;
|
| - })
|
| };
|
|
|
| assertEquals(42, o.g().next().value);
|
| - assertEquals(43, o.g2().next().value);
|
| - assertEquals(44, o.g3().next().value);
|
| })();
|
|
|