Halton
Thanks for your analysis,
We have add the option (--allow-file-access-frome-files) on xwalk start test 
apps.
Still meet the SECURITY_ERR.
requestFileSystem are widely used in the tct-filesystemapi-w3c-tests.
For minimize the scope, you could check with 
window_LocalFileSystem_requestFileSystem_base.html case for debuging.

Thanks
Jenny


From: Huo, Halton
Sent: Friday, January 10, 2014 5:47 PM
To: Cao, Jenny Q; crosswalk-dev@lists.crosswalk-project.org
Subject: RE: [Crosswalk-dev] Security Error when testing W3C FileSystem API

Jenny,

requestFileSystem should request the HTML5 sandbox filesystem rather than local 
filesystem (the native filesystem).

As the error, I think you met the internal FileError::SECURTY_ERR, please try 
to start xwalk --allow-file-access-from-files to see whether this error 
disappear.

And, could you identify which exact test case report this error so that we can 
minimize the scope.

Thanks,
Halton.

From: Crosswalk-dev [mailto:crosswalk-dev-boun...@lists.crosswalk-project.org] 
On Behalf Of Cao, Jenny Q
Sent: Friday, January 10, 2014 3:00 PM
To: 
crosswalk-dev@lists.crosswalk-project.org<mailto:crosswalk-dev@lists.crosswalk-project.org>
Subject: [Crosswalk-dev] Security Error when testing W3C FileSystem API

Hi, Mailinglist

We are testing the W3C Filesystem API, http://www.w3.org/TR/file-system-api/ on 
Xwalk Tizen platform.
When we call requestFileSystem method, will get an Security Error :

[Message] *FileAPIDirectoriesAndSystem Test: 
window_LocalFileSystem_requestFileSystem_base: assert_equals: expected "[object 
EntryCallback]" but got "SECURITY_ERR"

This test got passed on tizen wrt. We doublt that if Xwalk have any permission 
control for app to access the local filesystem?
Is there any way to config the permission of the test apps to access the local 
filesystem?

The detailed issues are record in JIRA, We also attach the test cases on the 
bug.
XWALK-809<https://crosswalk-project.org/jira/browse/XWALK-809> Meet Security 
Error when calling requestFilesystem method of W3C/FileSystemAPI on Xwalk Tizen 
2.1

Thanks
Jenny

_______________________________________________
Crosswalk-dev mailing list
Crosswalk-dev@lists.crosswalk-project.org
https://lists.crosswalk-project.org/mailman/listinfo/crosswalk-dev

Reply via email to