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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Philip Rogers
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.