| Index: test/mjsunit/harmony/super.js
|
| diff --git a/test/mjsunit/harmony/super.js b/test/mjsunit/harmony/super.js
|
| index 601addaa0ef4098ea2fa5ab7fa55f61916b30faa..f7584702b603270446725bc30b233c4dc90f6bc5 100644
|
| --- a/test/mjsunit/harmony/super.js
|
| +++ b/test/mjsunit/harmony/super.js
|
| @@ -81,39 +81,6 @@
|
| }());
|
|
|
|
|
| -(function TestSuperNumericKeyedLoads() {
|
| - var x = 1;
|
| - var derivedDataProperty = 2;
|
| - var f = 3;
|
| -
|
| - function Base() { }
|
| - function fBase() { return "Base " + this.toString(); }
|
| - Base.prototype[f] = %ToMethod(fBase, Base.prototype);
|
| - Base.prototype[x] = 15;
|
| - Base.prototype.toString = function() { return "this is Base"; };
|
| -
|
| - function Derived() {
|
| - this[derivedDataProperty] = "xxx";
|
| - }
|
| - Derived.prototype = {
|
| - __proto__: Base.prototype,
|
| - toString() { return "this is Derived"; },
|
| - 1: 27,
|
| - 3() {
|
| - assertEquals("Base this is Derived", super[f]());
|
| - var a = super[x];
|
| - assertEquals(15, a);
|
| - assertEquals(15, super[x]);
|
| - assertEquals(27, this[x]);
|
| - return "Derived";
|
| - }
|
| - };
|
| -
|
| - assertEquals("Base this is Base", new Base()[f]());
|
| - assertEquals("Derived", new Derived()[f]());
|
| -}());
|
| -
|
| -
|
| (function TestSuperKeywordNonMethod() {
|
| 'use strict';
|
|
|
|
|