[Webkit-unassigned] [Bug 58864] Add overwrite copy/move tests for FileSystem API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Apr 19 07:15:34 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=58864





--- Comment #2 from Kinuko Yasuda <kinuko at chromium.org>  2011-04-19 07:15:34 PST ---
(In reply to comment #0)
> Add overwrite copy/move tests for FileSystem API.
> Currently, layout tests in fast/filesystem for copy/move don't have overwriting test.
> 
> Spec says:
> > A move of a file on top of an existing file must attempt to delete and replace that file.
> > A move of a directory on top of an existing empty directory must attempt to delete and replace that directory.
> http://dev.w3.org/2009/dap/file-system/file-dir-sys.html#widl-EntrySync-moveTo

It looks like the spec doesn't explicitly say which error code should be returned when an attempt to copy/move a file on top of a directory is made, and seems like we're returning TYPE_MISMATCH_ERR.

Eric, do you have any idea which error code should be returned in this case?
Maybe INVALID_MODIFICATION_ERR is the right one?

-- 
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