Unable to delete a file from sdcard

RESOLVED FIXED

Status

Firefox OS
Gaia::System
RESOLVED FIXED
4 years ago
3 years ago

People

(Reporter: Gnaneswar, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

4 years ago
While writing fxos-certsuite test cases for device storage webapi, it is observed that I could add a file but unable to delete a file from sdcard storage.

For details, please refer the Bug 1016295

Device:ZTE-open
Branch:v1.3

STR:
git clone https://github.com/mozilla-b2g/fxos-certsuite.git

and follow the steps mentioned in section-2.3 (Setup and Usage With virtualenv) in documentation.pdf

Please let me know if any further information is required.
Blocks: 970615

Comment 1

3 years ago
As the semi-auto Device Storage test author, Gnaneswar, if you could please have a look at the device storage tests as they are still currently disabled in the test suite. Thanks! Perhaps these links will help.

Source code for device storage API:
http://mxr.mozilla.org/mozilla-central/source/dom/devicestorage/nsDeviceStorage.cpp
http://mxr.mozilla.org/mozilla-central/source/dom/webidl/DeviceStorage.webidl

Some existing tests for Device Storage (that are for a different test harness, but perhaps they will help to figure out how the API works):
http://mxr.mozilla.org/mozilla-central/source/dom/devicestorage/test/
Flags: needinfo?(gnaneswar.devuni)
See https://github.com/mozilla-b2g/fxos-certsuite/pull/203
Flags: needinfo?(gnaneswar.devuni)
Status: UNCONFIRMED → NEW
Ever confirmed: true
https://github.com/mozilla-b2g/fxos-certsuite/commit/85ff2bb857cd026d830a37cd219b0ffbeb413ea9
Status: NEW → RESOLVED
Last Resolved: 3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.