Closed jinxian-intel closed 10 years ago
why do you guys use Runtime shell to do tests? It's not appropriate because it's for internal debugging.
anyway, it's a bug and we'll fix it.
Both Template and Runtime shell are failed. On our normal testing, we using packed apk from the template.
Can you also verify it on CoreShell, so that we can identify if it's brought by shared mode.
ok. In my testing environment, I can't even see the popup dialog to select a file. @jinxian-intel is it same as yours?
@wang16 RuntimeShell is not using the shared mode. firstly I think the permission 'read_external_storage' is not added in the AndroidManifest.xml according to @jinxian-intel 's comment.
AppTemplate, RuntimeShell, RuntimeClientShell all have WRITE_EXTERNAL_STORAGE permission.
we've already included 'WRITE_EXTERNAL_STORAGE' permission. For this case, i think we should add 'READ_EXTERNAL_STORAGE' because it's obviously for reading.
And i tried to upload an image to weibo, it works for me.
According to http://developer.android.com/reference/android/Manifest.permission.html, App who has WRITE_EXTERNAL_STORAGE permission will implicitly be granted read permission.
@wang16 and @yongsheng , I further investigate it, and found that if user packs up file from Gallery, it's ok, if user packs up file from File Manager, error "Failed to open selected file" will pops up.
anyone from QA who can help verify it?
This bug has been migrated to JIRA, please track this issue in https://crosswalk-project.org/jira/browse/XWALK-24 . Thanks.
BUG DETAILED DESCRIPTIONS The crosswalk will popup “Failed to open selected file” when finish selecting html files. file picker unable to work. Test steps:
Environment: Android IA: crosswalk-1.29.8.0 ZTE V975
EXPECTED OUTCOME: Expect the result is “pass”
ACTUAL OUTCOME: Popup “Failed to open selected file”