mozilla-b2g/gaia — pull request #9347 by julienw (2013-04-22 20:07:05+00:00)
Title: Bug 860681 - Icons revert to default in 3rd party apps r=vivien

* hopefully finally fix reliably the "ensure panning" test by mocking
`requestAnimationFrame`
* call `markDirtyState` in all situations ensure that our state is saved in
IndexedDB
* add tests to ensure the state is saved in these situations. Had to move the
initialization of some objects to `doInit` so that we can correctly reset the
object state.
* don't try to load a default icon if we already have an icon