gecko-dev/mobile
Michael Comella 7e2617e508 Bug 1289006 - Add code to assert potential crashing case never happens & tests. r=grisha
I expect the crashes occurred because one of the following:
  * the store already existed as a file
  * the store was a directory that did not have the appropriate permissions

In the telemetry code, none of the cases above should happen so I assert that
they never do.

If the crashes did occur for these reasons, the user will unfortunately
continue to crash but at least we'll know where our assumptions are going wrong.

I originally intended to write a regression test for listFiles returning null
but it requires the application code to be modified in non-trivial ways (e.g.
accessor methods we might forget to use) so I decided against it.

MozReview-Commit-ID: 9V9H84ehbdO

--HG--
extra : rebase_source : 8290e515c9010bef639e92d1b0420bebe5c7d61c
2016-07-25 14:24:03 -07:00
..
android Bug 1289006 - Add code to assert potential crashing case never happens & tests. r=grisha 2016-07-25 14:24:03 -07:00
locales Bug 1285281 - Update Qwant icon to our guidelines. r=florian 2016-07-18 13:57:59 -05:00