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

Unified Diff: sdk/lib/html/html_common/conversions_dartium.dart

Issue 1405443003: Unsuppress/fix most indexeddb tests on Dartium (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | tests/html/html.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/html/html_common/conversions_dartium.dart
diff --git a/sdk/lib/html/html_common/conversions_dartium.dart b/sdk/lib/html/html_common/conversions_dartium.dart
index c66ce174da09ed1f06450c2c8b6a601c7055b408..d6e606464dfd496221be385328adc28b35ebaad1 100644
--- a/sdk/lib/html/html_common/conversions_dartium.dart
+++ b/sdk/lib/html/html_common/conversions_dartium.dart
@@ -62,3 +62,7 @@ Future convertNativePromiseToDartFuture(js.JsObject promise) {
.callMethod("catch", [(result) => completer.completeError(result)]);
return completer.future;
}
+
+convertDartToNative_DateTime(DateTime date) {
+ return new js.JsObject(js.context["Date"], [date.millisecondsSinceEpoch]);
+}
« no previous file with comments | « no previous file | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698