Skip to content

Dart Editor unable to see window.requestAnimationFrame from dart:html #2802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sethladd opened this issue Apr 28, 2012 · 1 comment
Closed
Labels
closed-as-intended Closed as the reported issue is expected behavior

Comments

@sethladd
Copy link
Contributor

This code will generate a warning in the Dart Editor with "window has no method named requestAnimationFrame"

I saw http://code.google.com/p/dart/source/detail?r=6824 but my editor still doesn't know about requestAnimationFrame (instead, it only knows about webkitRequestAnimationFrame)

According to Stephen:

I'm not sure were the editor gets its library, but if I look in lib/html/frog/html_frog.dart and lib/html/dartium/html_dartium.dart I can see rAF on interface Window.

http://code.google.com/p/dart/source/browse/branches/bleeding_edge/dart/lib/html/frog/html_frog.dart#­34385

@sethladd
Copy link
Contributor Author

Apologies, I was running an older version of the Editor.


Added AsDesigned label.

@sethladd sethladd added Type-Defect closed-as-intended Closed as the reported issue is expected behavior labels Apr 29, 2012
dart-bot pushed a commit that referenced this issue Jan 22, 2021
Notable changes:
 * Highlight about _discontinued_ dependencies in `dart pub get`.

git log --oneline c55fc832...392a3cb4
c55fc832 No metadata when CI=true (#2837)
a95ff4b1 Warn about discontinued packages on pub get/upgrade (#2835)
135bf942 Allow package_config.json to contain flutter_gen (#2830)
6a60b0ee output of command 'dart pub upgrade' updated (#2834)
6b6c4206 Mention `dart pub` (#2823)
a94e1c2c Add GitHub Actions workflow (#2802)

Change-Id: Iec09f3290cc8a4e21505c3ef7b4aec820a210d93
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/180563
Auto-Submit: Jonas Jensen <[email protected]>
Reviewed-by: Michael Thomsen <[email protected]>
Reviewed-by: Sigurd Meldgaard <[email protected]>
Commit-Queue: Michael Thomsen <[email protected]>
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed-as-intended Closed as the reported issue is expected behavior
Projects
None yet
Development

No branches or pull requests

1 participant