[Webkit-unassigned] [Bug 47936] Renumber FileError/FileException error codes per latest File API spec changes
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Oct 20 21:48:31 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=47936
--- Comment #4 from Kinuko Yasuda <kinuko at chromium.org> 2010-10-20 21:48:31 PST ---
(From update of attachment 71336)
View in context: https://bugs.webkit.org/attachment.cgi?id=71336&action=review
>> LayoutTests/ChangeLog:11
>> + * fast/files/read-file-async-expected.txt:
>
> You'd better also update fast/files/workers/read-*-async-expected.txt though worker tests are skipped now.
Done.
>> WebCore/dom/ExceptionCode.cpp:197
>> + "A requested file or directory could not be found at the time an operation was processed.",
>
> Where did you get the message?
Basically I copy-pasted those messages from the spec (plus some minor modifications to make them look alike).
For this particular one it's from FileSystem spec, 7.3 Error Code Descriptions.
http://dev.w3.org/2009/dap/file-system/file-dir-sys.html#error-code-descriptions
Please feel free to correct the sentences if they look weird or not relevant.
>> WebCore/fileapi/FileError.h:43
>> + enum FileErrorCode {
>
> Probably it is simpler to name it as ErrorCode as in PositionError.h or GeolocationError.h.
Fixed.
>> WebCore/fileapi/FileException.h:65
>> + static int FileErrorCodeToExceptionCode(int fileErrorCode)
>
> Probably simpler to call it as ErrorCodeToExceptionCode.
Fixed.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list