Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

If there are differences between the behavior on Dartium and the behavior on Chrome

Tags:

dart

I'm thinking to develop a web application using dart.
Is it possible that there are differences between the behavior on Dartium and the behavior on Chrome(using compiled JavaScript) ?
I think I should develop on Dartium because of the debuggable but I fear there may be differences of the behavior.

like image 489
Nigiri Avatar asked Dec 20 '22 14:12

Nigiri


2 Answers

Apart the differences between Chromium and Chrome every different behaviour has to be considered as a bug.

like image 75
Alexandre Ardhuin Avatar answered May 24 '23 17:05

Alexandre Ardhuin


There are differences.

  • Dartium is based on the OpenSource Chromium and is missing some features that Chrome has
  • Polymer URLs (imports, asset references) that work in Dartium may not work when build to JavaScript and vice versa. You have to figure out which one work on both. This is work in progress and will probably be fixed but it seems to be a difficult problem.
  • there are always some subtle differences

All in all Dartium provides a much superior development experience, therefor it's absoltultly worth using for development. You have to take some time into account for testing and fixing issues for all the different browsers that you want to support. Dart does a great work in abstracting differences away but it is not (yet ;-) ) perfect.

like image 25
Günter Zöchbauer Avatar answered May 24 '23 17:05

Günter Zöchbauer