Closed Bug 1132654 Opened 9 years ago Closed 9 years ago

super.method.apply fails at asGetSuper@build/ts/avm2.js:4053

Categories

(Firefox Graveyard :: Shumway, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: yury, Assigned: yury)

References

Details

Attachments

(2 files)

class A {
    public function test(... rest) {
      trace('A' + rest[0]);
    }
  }

  class B extends A {
    public override function test(... rest) {
      trace('B');
      super.test.apply(this, rest);
    }
  }

  var b = new B();
  b.test(1);

Blocks youtube initialization.
Blocks: 1129603
The pull requests also has fixes for other avm2 bugs: arguments.callee and asCoerceString for object with valueOf/toString. All of them blocking yt UI.
Attachment #8564170 - Flags: review?(till)
Attachment #8564170 - Flags: review?(mbebenita)
Comment on attachment 8564170 [details] [review]
Link to https://github.com/mozilla/shumway/pull/2075

r=me
Attachment #8564170 - Flags: review?(till)
Attachment #8564170 - Flags: review?(mbebenita)
Attachment #8564170 - Flags: review+
Assignee: nobody → ydelendik
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Firefox → Firefox Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: