Skip to content

webkitRequestAnimationFrame throws exception in dartium (windows) #2481

Closed
@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


What steps will reproduce the problem?

I am doing this:

window.webkitRequestAnimationFrame((int ignoredCurrentTimeMs) { frame(); }, document);

This works for me when generating and running .js

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

I updated to the new Dart Editor 6213 with Developer Build 130452 Windows embedded, and now when running my application I get this Exception:

Exception: Invalid class: expected instance of ElementImplementation
Stack Trace: 0. Function: 'DOMWindowImplementation._webkitRequestAnimationFrame@1c3f8015' url: 'e:\b\build\slave\dartium-win-full\build\src\build\Release\obj\global_intermediate\webkit\bindings\dart\dart\DOMWindowImplementation.dart' line:353 col:3
 1. Function: 'DOMWindowImplementation.webkitRequestAnimationFrame' url: 'e:\b\build\slave\dartium-win-full\build\src\build\Release\obj\global_intermediate\webkit\bindings\dart\dart\DOMWindowImplementation.dart' line:348 col:40
 2. Function: '[email protected]' url: 'dart:html' line:21228 col:50

What version of the product are you using? On what operating system?

Dart Editor 6213 with Developer Build 130452 Windows

If you are reporting a problem in the Dart Editor, please open the Help ->
About Dart Editor dialog and add the Dart SDK version number to this
report. If you prefer, you can use the 'Send Feedback' button in the Dart
Editor to file a report that will contain this information and additional
context helpful for debugging the problem.

Please provide any additional information below.

Please let me know if anyone has a workaround - right now this is kind of a show-stopper for me to use Dartium :(

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