New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Some browsers that don't support Dart download the Dart source anyway #8372
Comments
This comment was originally written by googlegroups...@kaioa.com Opera announced the switch to Webkit/V8 today. I consider it solved. IE9 and IE10 are affected. I have no idea how to submit IE bug reports to Microsoft. Would be nice if someone could do that for me. Safari 6 isn't affected. |
This comment was originally written by googlegroups...@kaioa.com It gets worse. There are proxies which inline external resources such as CSS or JS files. The one used by Vodafone in Germany ignores the type attribute. It embeds the content and removes the Basically, this line: <script type="application/dart" src="example.dart"></script> Becomes: <script type="application/dart" style="display:none"> And now dart.js won't be able to figure out that the name of the JS file is "example.dart.js". |
This comment was originally written by googlegroups...@kaioa.com This is the bootstrap code (as rendered into the document) I currently use as workaround: <script> The injection part works like GA's. So, that part should be pretty solid. My bootstrap code doesn't handle any of dart.js' other functions though. |
Added this to the Later milestone. |
Removed Area-HTML label. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
This seems to be still the case. Maybe a transformer would be useful? |
With Dartium gone, obsolete. |
User report from a thread on misc:
https://groups.google.com/a/dartlang.org/forum/?fromgroups=#!topic/misc/_1CeXH3vkXg
There are bugs for Firefox and Opera, but we might want to handle this. Server-side script selection would help, as would using a data-src attribute and letting dart.js fix it up when it starts the VM.
The text was updated successfully, but these errors were encountered: