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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 4 01:51:25 PDT 2010


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





--- Comment #19 from Kinuko Yasuda <kinuko at chromium.org>  2010-10-04 01:51:25 PST ---
Have rewritten in pure JS.

(In reply to comment #14)
> (From update of attachment 69306 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=69306&action=review
> Add some relative path tests with "." and "..", e.g. "/parent/a/a/../../a/d", "/parent/a/./././../././a/d".
> Also make sure that we can't reach out of the sandbox by verifying that e.g. "/../../../../../../../a" == "/a".

Currently all of them throw INVALID_MODIFICATION_ERR since the implementation performs path/validity check before cleaning up those relative components.  I put FIXME comment in the test for now.

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

Fixed... and this test is moved to another patch (with a different name: async-operations.js):
https://bugs.webkit.org/show_bug.cgi?id=47044

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