Index: lib/dom/templates/html/dartium/impl_Window.darttemplate |
=================================================================== |
--- lib/dom/templates/html/dartium/impl_Window.darttemplate (revision 9387) |
+++ lib/dom/templates/html/dartium/impl_Window.darttemplate (working copy) |
@@ -15,5 +15,11 @@ |
IDBFactory get indexedDB() => webkitIndexedDB; |
+ // TODO(kasperl): Document this. |
+ lookupPort(String name) { |
+ var port = JSON.parse(localStorage['dart-port:$name']); |
+ return _deserialize(port); |
+ } |
+ |
$!MEMBERS |
} |