On 24/05/13 16:34, Matt Basta wrote: >> Doesn't the manifest contain the list of required feature? > > A very old version of the spec contains a "requiredFeatures" field, but it > was never fully defined and isn't supported, and no values for the field were > specified.
Why was that abandoned? Also, it is being worked on in the specification so I'm not sure of what "spec" you are speaking about. >> I'm not sure I understand what you meant here. Do you have examples? > > If there's a new feature we want to add compatibility testing for that some > devices might already have, we can't rely on the devices to implicitly know > that they support the feature. If we decide, for instance, that we want to > detect support for <input type="color">, the user agent would need to be able > to say, "Oh, I know what <input type="color"> is and I do[n't] support it.". > > We already have this functionality in our feature profiles, so no sense in > reinventing the wheel. I believe the marketplace is reinventing the wheel here. That kind of problems have already been solved in the web and things like input types are being polyfiled. Granted some websites are locking out some users that don't have a particular set of features but <input type=foo> wasn't a good example and I believe that for those high level features that can't be polyfilled, we could use required_features in the manifest. >> I do not think the marketplaces should be put in the centre of the >> system because you can install hosted applications from anywhere so you >> can't make the marketplaces owning the blacklist of applications. > > Right, and as I mentioned in my original email, a marketplace could only use > this API for manifests *which it installed itself*. Relying on Mozilla to > blacklist apps which were distributed by a third party who could otherwise do > the blacklisting themselves seems very bad. If carriers start distributing > their own branded marketplaces, making them go through us to flag and remove > malware seems like a dangerous and slow process. Why wouldn't carrier or third parties being able to plug their own blacklist server in the device? > Of course, but we're in a different boat than the web at large. I strongly disagree. -- Mounir _______________________________________________ dev-webapps mailing list [email protected] https://lists.mozilla.org/listinfo/dev-webapps
