[Webkit-unassigned] [Bug 44920] Add layout tests for FileSystem API

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Oct 1 16:46:59 PDT 2010


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





--- Comment #15 from Kinuko Yasuda <kinuko at chromium.org>  2010-10-01 16:46:58 PST ---
Great thanks.

(In reply to comment #14)
> (From update of attachment 69306 [details])
> > LayoutTests/fast/filesystem/op-get-entry.html:74
> > +    # The entry's path must not be used if the given path is a full path.
> 
> I'm not sure what this comment means.

If the given path is a relative path we construct a new path by concatenating entry.fullPath, the given path and the new name.  Otherwise (== the given path is an absolute path) we'll just use the given path.

... is what it's trying to say.

> > LayoutTests/fast/filesystem/restricted-chars.html:14
> > +    ROOT.getFile('a\\b') raises 13
> 
> Also try getFile('a/b'), since there's no directory 'a'.

I think that's the test for getFile but not for restricted chars/names.

> > LayoutTests/fast/filesystem/restricted-names.html:58
> > +    file.copyTo(dir, 'foo.') raises 13
> 
> Test moveTo as well.
> 
> > LayoutTests/fast/filesystem/script-tests/parallel-operations.js:53
> > +    helper.run(function() { b.moveTo(fileSystem.root, 'b2', done, errorCallback); });
> 
> You're copying a to b, but you're also moving b.  Is that a race condition?

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