Difference between Dartium and dart2js when building chrome extensions
问题 I have the following problem when running dart2js compiled version of my chrome extension: Uncaught TypeError: Object #<JsObject> has no method 'where$1' I have created a minimal example: background.dart import 'dart:js'; void main() { print("main()..."); context['js_list'] = new JsObject.jsify(["aaa", "bbb"]); } popup.dart import 'dart:js'; var backgroundPage = context["chrome"]["extension"].callMethod("getBackgroundPage", []); void main() { print("main():..."); testJsList(backgroundPage['js