Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: pkg/web_components/test/location_wrapper_test.dart

Issue 276573006: TEst to reproduce issue 18747 (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « pkg/pkg.status ('k') | pkg/web_components/test/location_wrapper_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/web_components/test/location_wrapper_test.dart
diff --git a/tests/html/mouse_event_test.dart b/pkg/web_components/test/location_wrapper_test.dart
similarity index 71%
copy from tests/html/mouse_event_test.dart
copy to pkg/web_components/test/location_wrapper_test.dart
index dcd442ff833f063a219cc9beb170173611f455bd..a1c531ad50b6d1fa0737f10aa73ee0533142899d 100644
--- a/tests/html/mouse_event_test.dart
+++ b/pkg/web_components/test/location_wrapper_test.dart
@@ -2,16 +2,16 @@
// 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 mouse_event_test;
-import 'package:unittest/unittest.dart';
-import 'package:unittest/html_config.dart';
+library template_wrappers_test;
+
import 'dart:html';
+import 'package:unittest/html_config.dart';
+import 'package:unittest/unittest.dart';
main() {
useHtmlConfiguration();
- test('relatedTarget', () {
- var event = new MouseEvent('mouseout');
- expect(event.relatedTarget, isNull);
+ test('OK to access location with platform.js', () {
+ expect(window.location.toString(), window.location.href);
});
}
« no previous file with comments | « pkg/pkg.status ('k') | pkg/web_components/test/location_wrapper_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698