5 ms·
> Why do they need the Chrome-only filesystem API so much? There is nothing the FileSystem API can do that others cannot, although it might be less convenient
by azakai 12y ago
> Why do they need the Chrome-only filesystem API so much?
There is nothing the FileSystem API can do that others cannot, although it might be less convenient or less optimized. Even that shouldn't be true any more, but it still might in some browsers.
Regardless, this was a wrong decision by WhatsApp. FileSystem is no longer standards track. The API document itself says
> "Work on this document has been discontinued and it should not be referenced or used as a basis for implementation." http://www.w3.org/TR/file-system-api/ http://www.w3.org/TR/file-system-api/
Browsers should not implement it, and should in fact remove it, because it is nonstandard and never will be standardized. It is therefore dangerous for WhatsApp to use it - Google might do the right thing tomorrow and break their site, and it would be WhatsApp's fault.
However, Google has so far not shown much sign of intending to do the right thing here. As much as I admire many people at Google, and the company does many good things, this is a point that Google keeps getting wrong: Shipping nonstandard APIs, and keeping them active forever: FileSystem, NaCl/PNaCl, WebSQL, probably others I forgot.
I can only guess that Google simply finds those APIs convenient and uses them in its own websites, and has decided to never remove them. In other words, Google just doesn't care that they are nonstandard, which shows a lack of respect for the standards process. And as Google's market share rises over 50%, these are becoming de-facto standards, through an act of force.
One might say that this is an abstract "ethical" point, but WhatsApp shows exactly why it is not just that. Google keeping nonstandard APIs in Chrome for its own convenience opens the possibility of other websites using them. Either through ignorance - they don't know it's deprecated and nonstandard - or because they trust Google to not break them, and don't care about standards. The result is a web that works only in one browser.
Google, please do the right thing and remove nonstandard APIs.
- jshevek 12y ago>> which shows a lack of respect for the standards process. Interesting phrasing.
- Aldo_MX 12y ago> Google keeping nonstandard APIs in Chrome for its own convenience opens the possibility of other websites using them. Either through ignorance - they don't know it's deprecated and nonstandard - or because they trust Google to not break them, and don't care about standards. The result is a web that works only in one browser. This is what happened to XMLHttpRequest, or have you already forgotten that it was originally an ActiveX control? There is not (and there never will) a single way to define how the web is built.