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

Unified Diff: lib/dom/templates/html/dartium/impl_Window.darttemplate

Issue 10700102: Make the new JS interop test pass on Dartium. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 5 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 | « lib/dom/templates/html/dartium/html_dartium.darttemplate ('k') | tests/html/html.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
}
« no previous file with comments | « lib/dom/templates/html/dartium/html_dartium.darttemplate ('k') | tests/html/html.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698