Hello,
Due to some pending changes to the W3C's Blob[1] specification, a
patch has recently landed in WebKit which will break backwards
compatibility for web pages, extensions, and apps which relied on
Chrome's implementation of the Blob.slice API. Also, to prevent this
type of breaking change in the future, several other File-related APIs
have been prefixed to signify that their APIs may change in the
future:
(Note: some of these changes will not appear until Chrome 12)
[1] BlobBuilder has been prefixed: window.BlobBuilder ->
window.WebKitBlobBuilder
See
https://bugs.webkit.org/show_bug.cgi?id=58518
[2] Global FileSytem API methods have been prefixed:
window.requestFileSystem -> window.webkitRequestFileSystem
window.resolveLocalFileSystemURL ->
window.webkitResolveLocalFileSystemURL
See
https://bugs.webkit.org/show_bug.cgi?id=58517
[3] Blob.slice has been prefixed and its semantics have changed to
that of Array.slice and String.slice (i.e. the second argument is a
byteoffset, not a length):
Blob.webkitSlice(
in long long start,
in long long end,
in DOMString contentType
);
See
http://trac.webkit.org/changeset/83873
We regret having to break compatibility, but believe that making this
change early (before too many people depended on this implementation)
and moving to a prefixed model will be better for the web in the long
run. If you're interested in the discussion around these changes,
please see this thread[2].
Regards,
Eric
[1]
http://www.w3.org/TR/FileAPI/#dfn-Blob
[2]
http://lists.w3.org/Archives/Public/public-webapps/2011AprJun/0170.html