mozilla-b2g/gaia — pull request #6770 by mykmelez (2012-12-01 09:23:03+00:00)
Title: remove ftuStarting if FTU is skipped for any reason

There are four conditions under which the FTU is skipped, but the ftuStarting class is only removed from the screen for one of them, which causes visual (and behavioral?) glitches when the FTU is skipped for one of the other reasons.

(I found this because Firefox OS Simulator unsets ftu.manifestURL in order to skip the FTU when B2G is run in the Simulator, which causes those glitches to appear, since ftuStarting never gets removed in that case.)

ftuStarting should be removed from the screen if the FTU is skipped for any reason. Here's a patch that does that.