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

Unified Diff: tests/html/input_element_test.dart

Issue 12330174: Revert "Revert "Converting dart:html to use DateTime rather than Date."" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 | « tests/html/fileapi_test.dart ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/html/input_element_test.dart
diff --git a/tests/html/input_element_test.dart b/tests/html/input_element_test.dart
index cee9804ac6d27888e93df77e002b6571bd3943da..41a67939f7b472de1cd909df16c570805f05b2a9 100644
--- a/tests/html/input_element_test.dart
+++ b/tests/html/input_element_test.dart
@@ -125,6 +125,16 @@ main() {
test('time', () {
check(new TimeInputElement(), 'time', TimeInputElement.supported);
+ if (TimeInputElement.supported) {
+ // Bug 8836 Re-enable once Dartium supports DateTime properties.
+ // var element = new TimeInputElement();
+ // var now = new DateTime.now();
+ // element.valueAsDate = now;
+ // expect(element.valueAsDate is DateTime, isTrue);
+
+ // Bug 8813, setting it is just going to the epoch.
+ //expect(element.valueAsDate, now);
+ }
});
test('datetime-local', () {
« no previous file with comments | « tests/html/fileapi_test.dart ('k') | tools/dom/scripts/generator.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698