Bug 61404 - [filesystem] DOMFileSystemBase assumes there's only one filesystem
Summary: [filesystem] DOMFileSystemBase assumes there's only one filesystem
Status: RESOLVED DUPLICATE of bug 84135
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-24 16:27 PDT by Eric U.
Modified: 2012-06-06 14:53 PDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric U. 2011-05-24 16:27:57 PDT
In verifyAndGetDestinationPathForCopyOrMove, we check to make sure you're not moving a directory into its child.  However, we just do a pure path check.  If the two paths aren't in the same filesystem, they're not directly comparable, and we should skip the check.  This prevents e.g. moving temporary file /foo/bar into the persistent root, as the root is the parent of every path.

I'm CCing folks familiar with the filesystem code, in case they have time to grab this.  If not, I'll get to it when I can.
Comment 1 Eric U. 2012-06-06 14:53:56 PDT

*** This bug has been marked as a duplicate of bug 84135 ***