Closed Bug 791816 Opened 7 years ago Closed 7 years ago
Storage] File overwrite on b2g device
Got an "Unknown" error while trying to write to a file on the sdcard which was already present. Possibly we would want a separate error case for this scenario. I would venture that we should check if a file exists prior to attempting to write, and if it does exist we through "already exists" error or something like that. Or maybe would be better to write, catch the error, and then verify if the file already exists. Probably easier on the hard drive.
Doug, not sure how important this is exactly, please re-nom if its not critical.
blocking-basecamp: ? → +
Attachment #670149 - Flags: review?(jonas) → review+
One of the patches in this push caused Windows mochitest-2 failures. Backed out. https://hg.mozilla.org/integration/mozilla-inbound/rev/91616129b892 https://tbpl.mozilla.org/php/getParsedLog.php?id=16083979&tree=Mozilla-Inbound 2054 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/devicestorage/test/test_dotdot.html | Error must be SecurityError
You need to log in before you can comment on or make changes to this bug.