-
Notifications
You must be signed in to change notification settings - Fork 1
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
Do we need platform sniffing if we have feature detection? #7
Comments
For example, maybe chrome apps will get full access to |
@mezoni For reference, I'm referring to these chrome apps. They have access to for example a JavaScript file system API. One can write a dart API which proxies to that JavaScript API like chrome.dart. If they want to have a direct dart API instead, maybe they'll just embed a version of |
I think for tools like the analyzer it would be much more difficult. A platform is just the whole set of features. Small differences (differences between Firefox, Safari, Chrome) wouldn't be considered anyway and woulnd't make much sense except dart2js switches to an output format like GWT does with a build output per browser version. |
@zoechi |
I'd sat no, we don't need platform selection if we have feature selection. |
AFAIK feature detection is generally preferable to platform sniffing ("user agent sniffing" in the web world). So why do we need the latter?
The text was updated successfully, but these errors were encountered: