dart-gde/chrome.dart — pull request #2 by financeCoding (2012-12-18 09:07:35+00:00)
Title: First shot at implement chrome runtime

This pull should be merged sooner then later. It provides the necessary changes for unit testing to work correctly when calling the chrome.* apis.

Please take a look at method signatures and function. Most of the Runtime class could be static methods. Only a few methods retained retain state in a javascript context.

This is not a complete test or final implementation of runtime, would like feedback.