| Index: test/codegen/lib/html/window_test.dart
|
| diff --git a/test/codegen/lib/html/window_test.dart b/test/codegen/lib/html/window_test.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..51ccdfd950a43f61932f6ee3862576c968a3b70e
|
| --- /dev/null
|
| +++ b/test/codegen/lib/html/window_test.dart
|
| @@ -0,0 +1,17 @@
|
| +// Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
|
| +// for details. All rights reserved. Use of this source code is governed by a
|
| +// BSD-style license that can be found in the LICENSE file.
|
| +
|
| +library WindowTest;
|
| +import 'package:unittest/unittest.dart';
|
| +import 'package:unittest/html_config.dart';
|
| +import 'dart:html';
|
| +
|
| +main() {
|
| + useHtmlConfiguration();
|
| +
|
| + test('scrollXY', () {
|
| + expect(window.scrollX, 0);
|
| + expect(window.scrollY, 0);
|
| + });
|
| +}
|
|
|