[webkit-dev] Unprefixing Blob.webkitSlice() ?

Kinuko Yasuda kinuko at chromium.org
Sun Aug 12 19:43:21 PDT 2012


As a quick follow-up, in Chrome 21 the usage histogram tells ~80% of slice
call is still using webkitSlice (no wonder as unprefixed slice was rolled
out just half a month ago).  Since we started showing a deprecation message
I hope the number changes over time.

          slice usage: 22.61%
webkitSlice usage: 77.39%



On Mon, Jun 11, 2012 at 3:55 PM, Kinuko Yasuda <kinuko at chromium.org> wrote:

> On Mon, Jun 11, 2012 at 3:34 PM, Darin Fisher <darin at chromium.org> wrote:
>
>> Happy to see us support unprefixed too.  With other vendors on board, it
>> seems like a straightforward addition to the platform.
>>
>> I'm not sure if you are proposing to also remove the prefixed form.  I'm
>> not sure what it would take to remove the prefixed version.  We'd need some
>> way to know when it is safe to remove it.  We could surely instrument the
>> code to measure its use relative to the unprefixed form once it is widely
>> deployed.
>>
>
> We've been shipping the prefixed version for a year now (in Chrome 11-19
> and in Safari 5), so I propose keeping the prefixed version too for now,
> but to start showing a deprecation message to encourage migration.
>
> -Darin
>>
>>
>> On Sun, Jun 10, 2012 at 11:17 PM, Kinuko Yasuda <kinuko at chromium.org>wrote:
>>
>>> Hi WebKit folks,
>>>
>>> We've been vendor-prefixing Blob.slice() since we changed the semantics
>>> of slice() to make it alike Array.slice, i.e. from "start, length" to
>>> "start, end" semantics in r83873 [1].  The non-prefixed version had only
>>> been shipped in Chrome and must have helped apps migrate into the new
>>> semantics.
>>> However Mozilla has now unprefixed it since Gecko/FireFox 13.0 [2],
>>> Opera said they are going to unprefix it with the new semantics [3] and IE
>>> compatibility test has a set of Blob.slice tests which require unprefixed
>>> slice [4].
>>>
>>> Maybe it's becoming a good time to unprefix slice() again?
>>> https://bugs.webkit.org/show_bug.cgi?id=78111
>>>
>>> [1] http://trac.webkit.org/changeset/83873
>>> [2]
>>> https://developer.mozilla.org/en/DOM/Blob#Notes_on_the_slice()_implementations
>>> [3] https://bugs.webkit.org/show_bug.cgi?id=78111
>>> [4] http://samples.msdn.microsoft.com/ietestcenter/#fileapi
>>>
>>> Kinuko
>>>
>>>
>>> _______________________________________________
>>> webkit-dev mailing list
>>> webkit-dev at lists.webkit.org
>>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120813/7ec2f313/attachment.html>


More information about the webkit-dev mailing list