Re: Use of prefixes in tests

On 12/09/2013 03:15 , Zhang, Belem wrote:
> For vendor prefixes, do not include vendor prefixes when pushing tests to the W3C.
>
> But I have a question here, some test cases borrow BrowserHasFeature() function which uses GetVendorPrefix workaround, shall we remove such codes as well when pushing tests to W3C, I don't think the standard TC should include this?
>
> http://w3c-test.org/web-platform-tests/master/vibration/support/feature-detection.js
>
> function GetVendorPrefix(parent, feature, isAttribute) {
>      //Known vendor prefixes
>      var VendorPrefixes = ["moz", "ms", "o", "webkit"];
>  ...
> }

Yes, those should be nuked too.

-- 
Robin Berjon - http://berjon.com/ - @robinberjon

Received on Friday, 13 September 2013 14:56:13 UTC