Skip to content

dart2js breaks requestAnimationFrame implementation in IE9 #3025

@DartBot

Description

@DartBot

This issue was originally filed by @bp74


What steps will reproduce the problem?

void main() {
    window.requestAnimationFrame(onAnimationFrame);
}

bool onAnimationFrame(var currentTime) {
  window.requestAnimationFrame(onAnimationFrame);
  print("$currentTime");
  return true;
}

What is the expected output? What do you see instead?

The method "onAnimationFrame" should be called continuously.

Issue #2185 made requestAnimationFrame available in IE9.
This is no longer the case, now you get this error:

SCRIPT438: object doesn't support property or method '$call$0'

What version of the product are you using? On what operating system?
Dart Editor 7566 32 Bit, Windows 7 64 Bit

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions