Index: test/codegen/lib/html/callbacks_test.dart |
diff --git a/test/codegen/lib/html/callbacks_test.dart b/test/codegen/lib/html/callbacks_test.dart |
new file mode 100644 |
index 0000000000000000000000000000000000000000..c6e9498eb8e8107d4a14395a3aa730f08424cacb |
--- /dev/null |
+++ b/test/codegen/lib/html/callbacks_test.dart |
@@ -0,0 +1,11 @@ |
+library CallbacksTest; |
+import 'package:unittest/unittest.dart'; |
+import 'package:unittest/html_config.dart'; |
+import 'dart:html'; |
+ |
+main() { |
+ useHtmlConfiguration(); |
+ test('RequestAnimationFrameCallback', () { |
+ window.requestAnimationFrame((num time) => false); |
+ }); |
+} |