Bug 62661

Summary: Implementation of webkitSlice does not match Blob slice api
Product: WebKit Reporter: Philip Rogers <pdr>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Philip Rogers
Reported 2011-06-14 13:15:55 PDT
Chrome Version: 13.0.782.20 OS Version: OS X 10.6.7 The FileApi specifies that Blob should have a method splice that takes a start and a length parameter. webkitSplice implements this as a start and an end parameter. The Blob API spec requires: Blob slice(in unsigned long long start, in unsigned long long length, optional DOMString contentType); http://www.w3.org/TR/FileAPI/#dfn-Blob The problematic function is in Blob.cpp: PassRefPtr<Blob> Blob::webkitSlice(long long start, long long end, const String& contentType) const
Attachments
Philip Rogers
Comment 1 2011-07-11 13:01:28 PDT
It looks like the WebKit is matching the working draft of the spec: http://dev.w3.org/2006/webapi/FileAPI/#dfn-Blob I think that's appropriate, so I'm closing this bug.
Note You need to log in before you can comment on or make changes to this bug.